@attocash/commons-test 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +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 +106 -106
- 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/AccountUpdate.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +63 -55
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +825 -817
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
- 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/AttoMnemonicDictionary.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +74 -11
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +76 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
- package/commons-commons-core.mjs +1 -2
- package/commons-commons-core.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +401 -409
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +36 -48
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +57 -61
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +33 -45
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +40 -40
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker.mjs +1 -1
- 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 +16 -11
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
- 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 +24 -52
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +46 -83
- 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 +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
- 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 +10 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +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 +112 -21
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- 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 +20 -20
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
- 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 +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- 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 +75 -75
- 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 +16 -16
- 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 +51 -51
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +63 -63
- 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 +103 -103
- 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
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /package/{commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.mjs.map} +0 -0
- /package/{commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs.map → commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
|
@@ -79,6 +79,10 @@ import {
|
|
|
79
79
|
AttoHashAsStringSerializer_getInstance1cjkrml8p9of9 as AttoHashAsStringSerializer_getInstance,
|
|
80
80
|
AttoHash227yq6itzz6uq as AttoHash,
|
|
81
81
|
} from './AttoHash.mjs';
|
|
82
|
+
import {
|
|
83
|
+
AttoSerializable291xn050uxg51 as AttoSerializable,
|
|
84
|
+
toByteArrayholgcuj5zgpi as toByteArray,
|
|
85
|
+
} from './AttoSerializable.mjs';
|
|
82
86
|
import { values1ix93lj72gxe9 as values } from './AttoNetwork.mjs';
|
|
83
87
|
import { createSimpleEnumSerializer2guioz11kk1m0 as createSimpleEnumSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs';
|
|
84
88
|
import { Companion_getInstance1z5io8nvitm6s as Companion_getInstance_2 } from './AttoAlgorithm.mjs';
|
|
@@ -137,17 +141,17 @@ function Companion() {
|
|
|
137
141
|
var this_0 = get_entries();
|
|
138
142
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
139
143
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
140
|
-
var destination = LinkedHashMap().
|
|
144
|
+
var destination = LinkedHashMap().hc(capacity);
|
|
141
145
|
var _iterator__ex2g4s = this_0.q1();
|
|
142
146
|
while (_iterator__ex2g4s.r1()) {
|
|
143
147
|
var element = _iterator__ex2g4s.s1();
|
|
144
|
-
var tmp$ret$0 = new (UByte())(element.
|
|
145
|
-
destination.
|
|
148
|
+
var tmp$ret$0 = new (UByte())(element.k4n_1);
|
|
149
|
+
destination.t4(tmp$ret$0, element);
|
|
146
150
|
}
|
|
147
|
-
tmp.
|
|
151
|
+
tmp.m4n_1 = destination;
|
|
148
152
|
}
|
|
149
|
-
|
|
150
|
-
var tmp0_elvis_lhs = this.
|
|
153
|
+
y4l(code) {
|
|
154
|
+
var tmp0_elvis_lhs = this.m4n_1.o4(new (UByte())(code));
|
|
151
155
|
return tmp0_elvis_lhs == null ? AttoBlockType_UNKNOWN_getInstance() : tmp0_elvis_lhs;
|
|
152
156
|
}
|
|
153
157
|
}
|
|
@@ -208,20 +212,20 @@ function AttoBlockType() {
|
|
|
208
212
|
class $ extends Enum() {
|
|
209
213
|
constructor(name, ordinal, code, size) {
|
|
210
214
|
super(name, ordinal);
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
215
|
+
this.k4n_1 = code;
|
|
216
|
+
this.l4n_1 = size;
|
|
213
217
|
}
|
|
214
|
-
|
|
215
|
-
return this.
|
|
218
|
+
l4m() {
|
|
219
|
+
return this.k4n_1;
|
|
216
220
|
}
|
|
217
221
|
u2() {
|
|
218
|
-
return this.
|
|
222
|
+
return this.l4n_1;
|
|
219
223
|
}
|
|
220
224
|
get name() {
|
|
221
225
|
return this.i1();
|
|
222
226
|
}
|
|
223
227
|
get ordinal() {
|
|
224
|
-
return this.
|
|
228
|
+
return this.z4();
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
231
|
initMetadataForClass($, 'AttoBlockType');
|
|
@@ -251,24 +255,24 @@ var CompanionClass_0;
|
|
|
251
255
|
function Companion_0() {
|
|
252
256
|
if (CompanionClass_0 === VOID) {
|
|
253
257
|
class $ {
|
|
254
|
-
|
|
258
|
+
n4n(serializedBlock) {
|
|
255
259
|
// Inline function 'kotlin.let' call
|
|
256
260
|
var it = new (Buffer())();
|
|
257
|
-
serializedBlock.
|
|
261
|
+
serializedBlock.j2i(it, 0n, 1n);
|
|
258
262
|
var type = readAttoBlockType(it);
|
|
259
263
|
var tmp;
|
|
260
264
|
switch (type.x1_1) {
|
|
261
265
|
case 3:
|
|
262
|
-
tmp = Companion_getInstance_5().
|
|
266
|
+
tmp = Companion_getInstance_5().p4n(serializedBlock);
|
|
263
267
|
break;
|
|
264
268
|
case 2:
|
|
265
|
-
tmp = Companion_getInstance_6().
|
|
269
|
+
tmp = Companion_getInstance_6().p4n(serializedBlock);
|
|
266
270
|
break;
|
|
267
271
|
case 1:
|
|
268
|
-
tmp = Companion_getInstance_7().
|
|
272
|
+
tmp = Companion_getInstance_7().p4n(serializedBlock);
|
|
269
273
|
break;
|
|
270
274
|
case 4:
|
|
271
|
-
tmp = Companion_getInstance_8().
|
|
275
|
+
tmp = Companion_getInstance_8().p4n(serializedBlock);
|
|
272
276
|
break;
|
|
273
277
|
case 0:
|
|
274
278
|
return null;
|
|
@@ -278,7 +282,7 @@ function Companion_0() {
|
|
|
278
282
|
}
|
|
279
283
|
return tmp;
|
|
280
284
|
}
|
|
281
|
-
|
|
285
|
+
b1h() {
|
|
282
286
|
var tmp = getKClass(AttoBlock());
|
|
283
287
|
// Inline function 'kotlin.arrayOf' call
|
|
284
288
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -292,10 +296,10 @@ function Companion_0() {
|
|
|
292
296
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
293
297
|
// Inline function 'kotlin.js.asDynamic' call
|
|
294
298
|
var tmp$ret$8 = [];
|
|
295
|
-
return SealedClassSerializer().
|
|
299
|
+
return SealedClassSerializer().fu('cash.atto.commons.AttoBlock', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
296
300
|
}
|
|
297
|
-
|
|
298
|
-
return this.
|
|
301
|
+
d16(typeParamsSerializers) {
|
|
302
|
+
return this.b1h();
|
|
299
303
|
}
|
|
300
304
|
}
|
|
301
305
|
initMetadataForCompanion($, VOID, [SerializerFactory()]);
|
|
@@ -308,7 +312,7 @@ function Companion_getInstance_4() {
|
|
|
308
312
|
return Companion_instance_1;
|
|
309
313
|
}
|
|
310
314
|
function validate() {
|
|
311
|
-
if (this.version.
|
|
315
|
+
if (this.version.u4n(get_maxVersion()) > 0) {
|
|
312
316
|
return new (Error_0())('Invalid version: version=' + this.version.toString() + ' > max=' + get_maxVersion().toString());
|
|
313
317
|
}
|
|
314
318
|
var now = Companion_instance.now();
|
|
@@ -316,7 +320,7 @@ function validate() {
|
|
|
316
320
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
317
321
|
Companion_getInstance();
|
|
318
322
|
var tmp$ret$0 = toDuration(1, DurationUnit_MINUTES_getInstance());
|
|
319
|
-
if (tmp.
|
|
323
|
+
if (tmp.u4k(now.op(tmp$ret$0)) > 0) {
|
|
320
324
|
return new (Error_0())('Timestamp too far in the future: timestamp=' + this.timestamp.toString() + ', now=' + now.toString() + ', tolerance=1m');
|
|
321
325
|
}
|
|
322
326
|
if (!(this.algorithm.publicKeySize === this.publicKey.value.length)) {
|
|
@@ -342,7 +346,7 @@ function validate() {
|
|
|
342
346
|
}
|
|
343
347
|
var tmp_2;
|
|
344
348
|
if (isInterface(this, ReceiveSupport())) {
|
|
345
|
-
tmp_2 = this.balance.equals(Companion_getInstance_0().
|
|
349
|
+
tmp_2 = this.balance.equals(Companion_getInstance_0().x4m_1);
|
|
346
350
|
} else {
|
|
347
351
|
tmp_2 = false;
|
|
348
352
|
}
|
|
@@ -351,7 +355,7 @@ function validate() {
|
|
|
351
355
|
}
|
|
352
356
|
var tmp_3;
|
|
353
357
|
if (!(this instanceof AttoOpenBlock())) {
|
|
354
|
-
tmp_3 = this.height.
|
|
358
|
+
tmp_3 = this.height.x4n(Companion_getInstance_1().v4n_1) <= 0;
|
|
355
359
|
} else {
|
|
356
360
|
tmp_3 = false;
|
|
357
361
|
}
|
|
@@ -370,13 +374,13 @@ function validate() {
|
|
|
370
374
|
return Ok_instance;
|
|
371
375
|
}
|
|
372
376
|
function isValid() {
|
|
373
|
-
return this.validate().
|
|
377
|
+
return this.validate().isValid;
|
|
374
378
|
}
|
|
375
379
|
var AttoBlockClass;
|
|
376
380
|
function AttoBlock() {
|
|
377
381
|
if (AttoBlockClass === VOID) {
|
|
378
382
|
class $ {}
|
|
379
|
-
initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AddressSupport(), AttoHashable()], VOID, VOID, {0: Companion_getInstance_4});
|
|
383
|
+
initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AddressSupport(), AttoHashable(), AttoSerializable()], VOID, VOID, {0: Companion_getInstance_4});
|
|
380
384
|
AttoBlockClass = $;
|
|
381
385
|
}
|
|
382
386
|
return AttoBlockClass;
|
|
@@ -412,10 +416,10 @@ function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99() {
|
|
|
412
416
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
413
417
|
}
|
|
414
418
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_0() {
|
|
415
|
-
return Companion_getInstance_2().
|
|
419
|
+
return Companion_getInstance_2().b1h();
|
|
416
420
|
}
|
|
417
421
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1() {
|
|
418
|
-
return Companion_getInstance_2().
|
|
422
|
+
return Companion_getInstance_2().b1h();
|
|
419
423
|
}
|
|
420
424
|
var CompanionClass_1;
|
|
421
425
|
function Companion_1() {
|
|
@@ -432,10 +436,10 @@ function Companion_1() {
|
|
|
432
436
|
// Inline function 'kotlin.arrayOf' call
|
|
433
437
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
434
438
|
// Inline function 'kotlin.js.asDynamic' call
|
|
435
|
-
tmp.
|
|
439
|
+
tmp.o4n_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
440
|
}
|
|
437
|
-
|
|
438
|
-
if (fromInt(AttoBlockType_SEND_getInstance().
|
|
441
|
+
p4n(serializedBlock) {
|
|
442
|
+
if (fromInt(AttoBlockType_SEND_getInstance().l4n_1) > serializedBlock.u2()) {
|
|
439
443
|
return null;
|
|
440
444
|
}
|
|
441
445
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -444,7 +448,7 @@ function Companion_1() {
|
|
|
444
448
|
}
|
|
445
449
|
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
450
|
}
|
|
447
|
-
|
|
451
|
+
b1h() {
|
|
448
452
|
return $serializer_getInstance();
|
|
449
453
|
}
|
|
450
454
|
}
|
|
@@ -466,45 +470,45 @@ function $serializer() {
|
|
|
466
470
|
constructor() {
|
|
467
471
|
$serializer_instance = this;
|
|
468
472
|
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.
|
|
473
|
+
tmp0_serialDesc.c15('network', false);
|
|
474
|
+
tmp0_serialDesc.c15('version', false);
|
|
475
|
+
tmp0_serialDesc.c15('algorithm', false);
|
|
476
|
+
tmp0_serialDesc.c15('publicKey', false);
|
|
477
|
+
tmp0_serialDesc.c15('height', false);
|
|
478
|
+
tmp0_serialDesc.c15('balance', false);
|
|
479
|
+
tmp0_serialDesc.c15('timestamp', false);
|
|
480
|
+
tmp0_serialDesc.c15('previous', false);
|
|
481
|
+
tmp0_serialDesc.c15('receiverAlgorithm', false);
|
|
482
|
+
tmp0_serialDesc.c15('receiverPublicKey', false);
|
|
483
|
+
tmp0_serialDesc.c15('amount', false);
|
|
484
|
+
tmp0_serialDesc.c15('address', true);
|
|
485
|
+
tmp0_serialDesc.c15('receiverAddress', true);
|
|
486
|
+
this.b4o_1 = tmp0_serialDesc;
|
|
487
|
+
}
|
|
488
|
+
c4o(encoder, value) {
|
|
489
|
+
var tmp0_desc = this.b4o_1;
|
|
490
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
491
|
+
var tmp2_cached = Companion_getInstance_5().o4n_1;
|
|
492
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.d4o_1);
|
|
493
|
+
tmp1_output.fz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.e4o_1);
|
|
494
|
+
tmp1_output.fz(tmp0_desc, 2, tmp2_cached[2].g3(), value.f4o_1);
|
|
495
|
+
tmp1_output.fz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.g4o_1);
|
|
496
|
+
tmp1_output.fz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.h4o_1);
|
|
497
|
+
tmp1_output.fz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.i4o_1);
|
|
498
|
+
tmp1_output.fz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.j4o_1);
|
|
499
|
+
tmp1_output.fz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.k4o_1);
|
|
500
|
+
tmp1_output.fz(tmp0_desc, 8, tmp2_cached[8].g3(), value.receiverAlgorithm);
|
|
501
|
+
tmp1_output.fz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.receiverPublicKey);
|
|
502
|
+
tmp1_output.fz(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), value.amount);
|
|
503
|
+
tmp1_output.fz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.n4o_1);
|
|
504
|
+
tmp1_output.fz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.receiverAddress);
|
|
505
|
+
tmp1_output.px(tmp0_desc);
|
|
506
|
+
}
|
|
507
|
+
at(encoder, value) {
|
|
508
|
+
return this.c4o(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
|
|
509
|
+
}
|
|
510
|
+
bt(decoder) {
|
|
511
|
+
var tmp0_desc = this.b4o_1;
|
|
508
512
|
var tmp1_flag = true;
|
|
509
513
|
var tmp2_index = 0;
|
|
510
514
|
var tmp3_bitMask0 = 0;
|
|
@@ -521,113 +525,113 @@ function $serializer() {
|
|
|
521
525
|
var tmp14_local10 = null;
|
|
522
526
|
var tmp15_local11 = null;
|
|
523
527
|
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.
|
|
528
|
+
var tmp19_input = decoder.ox(tmp0_desc);
|
|
529
|
+
var tmp20_cached = Companion_getInstance_5().o4n_1;
|
|
530
|
+
if (tmp19_input.dy()) {
|
|
531
|
+
tmp4_local0 = tmp19_input.ay(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
528
532
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
529
|
-
tmp5_local1 = tmp19_input.
|
|
533
|
+
tmp5_local1 = tmp19_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
530
534
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
531
|
-
tmp6_local2 = tmp19_input.
|
|
535
|
+
tmp6_local2 = tmp19_input.ay(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
532
536
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
533
|
-
tmp7_local3 = tmp19_input.
|
|
537
|
+
tmp7_local3 = tmp19_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
534
538
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
535
|
-
tmp8_local4 = tmp19_input.
|
|
539
|
+
tmp8_local4 = tmp19_input.ay(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
536
540
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
537
|
-
tmp9_local5 = tmp19_input.
|
|
541
|
+
tmp9_local5 = tmp19_input.ay(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
538
542
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
539
|
-
tmp10_local6 = tmp19_input.
|
|
543
|
+
tmp10_local6 = tmp19_input.ay(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
540
544
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
541
|
-
tmp11_local7 = tmp19_input.
|
|
545
|
+
tmp11_local7 = tmp19_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
542
546
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
543
|
-
tmp12_local8 = tmp19_input.
|
|
547
|
+
tmp12_local8 = tmp19_input.ay(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
544
548
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
545
|
-
tmp13_local9 = tmp19_input.
|
|
549
|
+
tmp13_local9 = tmp19_input.ay(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
546
550
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
547
|
-
tmp14_local10 = tmp19_input.
|
|
551
|
+
tmp14_local10 = tmp19_input.ay(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
548
552
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
549
|
-
tmp15_local11 = tmp19_input.
|
|
553
|
+
tmp15_local11 = tmp19_input.ay(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
550
554
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
551
|
-
tmp16_local12 = tmp19_input.
|
|
555
|
+
tmp16_local12 = tmp19_input.ay(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
552
556
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
553
557
|
} else
|
|
554
558
|
while (tmp1_flag) {
|
|
555
|
-
tmp2_index = tmp19_input.
|
|
559
|
+
tmp2_index = tmp19_input.ey(tmp0_desc);
|
|
556
560
|
switch (tmp2_index) {
|
|
557
561
|
case -1:
|
|
558
562
|
tmp1_flag = false;
|
|
559
563
|
break;
|
|
560
564
|
case 0:
|
|
561
|
-
tmp4_local0 = tmp19_input.
|
|
565
|
+
tmp4_local0 = tmp19_input.ay(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
562
566
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
563
567
|
break;
|
|
564
568
|
case 1:
|
|
565
|
-
tmp5_local1 = tmp19_input.
|
|
569
|
+
tmp5_local1 = tmp19_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
566
570
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
567
571
|
break;
|
|
568
572
|
case 2:
|
|
569
|
-
tmp6_local2 = tmp19_input.
|
|
573
|
+
tmp6_local2 = tmp19_input.ay(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
570
574
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
571
575
|
break;
|
|
572
576
|
case 3:
|
|
573
|
-
tmp7_local3 = tmp19_input.
|
|
577
|
+
tmp7_local3 = tmp19_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
574
578
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
575
579
|
break;
|
|
576
580
|
case 4:
|
|
577
|
-
tmp8_local4 = tmp19_input.
|
|
581
|
+
tmp8_local4 = tmp19_input.ay(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
578
582
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
579
583
|
break;
|
|
580
584
|
case 5:
|
|
581
|
-
tmp9_local5 = tmp19_input.
|
|
585
|
+
tmp9_local5 = tmp19_input.ay(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
582
586
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
583
587
|
break;
|
|
584
588
|
case 6:
|
|
585
|
-
tmp10_local6 = tmp19_input.
|
|
589
|
+
tmp10_local6 = tmp19_input.ay(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
586
590
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
587
591
|
break;
|
|
588
592
|
case 7:
|
|
589
|
-
tmp11_local7 = tmp19_input.
|
|
593
|
+
tmp11_local7 = tmp19_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
590
594
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
591
595
|
break;
|
|
592
596
|
case 8:
|
|
593
|
-
tmp12_local8 = tmp19_input.
|
|
597
|
+
tmp12_local8 = tmp19_input.ay(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
594
598
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
595
599
|
break;
|
|
596
600
|
case 9:
|
|
597
|
-
tmp13_local9 = tmp19_input.
|
|
601
|
+
tmp13_local9 = tmp19_input.ay(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
598
602
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
599
603
|
break;
|
|
600
604
|
case 10:
|
|
601
|
-
tmp14_local10 = tmp19_input.
|
|
605
|
+
tmp14_local10 = tmp19_input.ay(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
602
606
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
603
607
|
break;
|
|
604
608
|
case 11:
|
|
605
|
-
tmp15_local11 = tmp19_input.
|
|
609
|
+
tmp15_local11 = tmp19_input.ay(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
606
610
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
607
611
|
break;
|
|
608
612
|
case 12:
|
|
609
|
-
tmp16_local12 = tmp19_input.
|
|
613
|
+
tmp16_local12 = tmp19_input.ay(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
610
614
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
611
615
|
break;
|
|
612
616
|
default:
|
|
613
|
-
throw UnknownFieldException().
|
|
617
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
614
618
|
}
|
|
615
619
|
}
|
|
616
|
-
tmp19_input.
|
|
617
|
-
return AttoSendBlock().
|
|
620
|
+
tmp19_input.px(tmp0_desc);
|
|
621
|
+
return AttoSendBlock().o4o(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
622
|
}
|
|
619
|
-
|
|
620
|
-
return this.
|
|
623
|
+
zs() {
|
|
624
|
+
return this.b4o_1;
|
|
621
625
|
}
|
|
622
|
-
|
|
623
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
626
|
+
r15() {
|
|
627
|
+
var tmp0_cached = Companion_getInstance_5().o4n_1;
|
|
624
628
|
// Inline function 'kotlin.arrayOf' call
|
|
625
629
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
626
630
|
// Inline function 'kotlin.js.asDynamic' call
|
|
627
631
|
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
632
|
}
|
|
629
633
|
}
|
|
630
|
-
protoOf($).
|
|
634
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
631
635
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
632
636
|
$serializerClass = $;
|
|
633
637
|
}
|
|
@@ -640,13 +644,13 @@ function $serializer_getInstance() {
|
|
|
640
644
|
return $serializer_instance;
|
|
641
645
|
}
|
|
642
646
|
function AttoSendBlock$hash$delegate$lambda(this$0) {
|
|
643
|
-
return () => hash(this$0.
|
|
647
|
+
return () => hash(this$0.d4m());
|
|
644
648
|
}
|
|
645
649
|
function AttoSendBlock$_get_hash_$ref_emfoe1() {
|
|
646
650
|
return (p0) => p0.hash;
|
|
647
651
|
}
|
|
648
652
|
function AttoSendBlock$_init_$lambda_dfxw6s(this$0) {
|
|
649
|
-
return () => hash(this$0.
|
|
653
|
+
return () => hash(this$0.d4m());
|
|
650
654
|
}
|
|
651
655
|
var AttoSendBlockClass;
|
|
652
656
|
function AttoSendBlock() {
|
|
@@ -654,84 +658,84 @@ function AttoSendBlock() {
|
|
|
654
658
|
class $ {
|
|
655
659
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
656
660
|
Companion_getInstance_5();
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
664
|
-
this.
|
|
661
|
+
this.d4o_1 = network;
|
|
662
|
+
this.e4o_1 = version;
|
|
663
|
+
this.f4o_1 = algorithm;
|
|
664
|
+
this.g4o_1 = publicKey;
|
|
665
|
+
this.h4o_1 = height;
|
|
666
|
+
this.i4o_1 = balance;
|
|
667
|
+
this.j4o_1 = timestamp;
|
|
668
|
+
this.k4o_1 = previous;
|
|
665
669
|
this.receiverAlgorithm = receiverAlgorithm;
|
|
666
670
|
this.receiverPublicKey = receiverPublicKey;
|
|
667
671
|
this.amount = amount;
|
|
668
|
-
this.
|
|
672
|
+
this.l4o_1 = AttoBlockType_SEND_getInstance();
|
|
669
673
|
var tmp = this;
|
|
670
|
-
tmp.
|
|
671
|
-
this.
|
|
674
|
+
tmp.m4o_1 = lazy_0(AttoSendBlock$hash$delegate$lambda(this));
|
|
675
|
+
this.n4o_1 = new (AttoAddress())(this.f4o_1, this.g4o_1);
|
|
672
676
|
this.receiverAddress = new (AttoAddress())(this.receiverAlgorithm, this.receiverPublicKey);
|
|
673
677
|
}
|
|
674
|
-
|
|
678
|
+
h4k() {
|
|
679
|
+
return this.d4o_1;
|
|
680
|
+
}
|
|
681
|
+
w3i() {
|
|
682
|
+
return this.e4o_1;
|
|
683
|
+
}
|
|
684
|
+
i4k() {
|
|
675
685
|
return this.f4o_1;
|
|
676
686
|
}
|
|
677
|
-
|
|
687
|
+
g4k() {
|
|
678
688
|
return this.g4o_1;
|
|
679
689
|
}
|
|
680
|
-
|
|
690
|
+
j4k() {
|
|
681
691
|
return this.h4o_1;
|
|
682
692
|
}
|
|
683
|
-
|
|
693
|
+
k4k() {
|
|
684
694
|
return this.i4o_1;
|
|
685
695
|
}
|
|
686
|
-
|
|
696
|
+
s4l() {
|
|
687
697
|
return this.j4o_1;
|
|
688
698
|
}
|
|
689
|
-
|
|
699
|
+
y4n() {
|
|
690
700
|
return this.k4o_1;
|
|
691
701
|
}
|
|
692
|
-
|
|
693
|
-
return this.l4o_1;
|
|
694
|
-
}
|
|
695
|
-
a4o() {
|
|
696
|
-
return this.m4o_1;
|
|
697
|
-
}
|
|
698
|
-
r4o() {
|
|
702
|
+
p4o() {
|
|
699
703
|
return this.receiverAlgorithm;
|
|
700
704
|
}
|
|
701
|
-
|
|
705
|
+
q4o() {
|
|
702
706
|
return this.receiverPublicKey;
|
|
703
707
|
}
|
|
704
|
-
|
|
708
|
+
r4o() {
|
|
705
709
|
return this.amount;
|
|
706
710
|
}
|
|
707
|
-
|
|
708
|
-
return this.
|
|
711
|
+
t4n() {
|
|
712
|
+
return this.l4o_1;
|
|
709
713
|
}
|
|
710
|
-
|
|
711
|
-
var tmp0 = this.
|
|
714
|
+
n4l() {
|
|
715
|
+
var tmp0 = this.m4o_1;
|
|
712
716
|
var tmp = KProperty1();
|
|
713
717
|
// Inline function 'kotlin.getValue' call
|
|
714
718
|
getPropertyCallableRef('hash', 1, tmp, AttoSendBlock$_get_hash_$ref_emfoe1(), null);
|
|
715
719
|
return tmp0.g3();
|
|
716
720
|
}
|
|
717
|
-
|
|
718
|
-
return this.
|
|
721
|
+
p4k() {
|
|
722
|
+
return this.n4o_1;
|
|
719
723
|
}
|
|
720
|
-
|
|
724
|
+
s4o() {
|
|
721
725
|
return this.receiverAddress;
|
|
722
726
|
}
|
|
723
|
-
|
|
727
|
+
d4m() {
|
|
724
728
|
// Inline function 'kotlin.apply' call
|
|
725
729
|
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.
|
|
730
|
+
writeAttoBlockType(this_0, this.l4o_1);
|
|
731
|
+
writeAttoNetwork(this_0, this.d4o_1);
|
|
732
|
+
writeAttoVersion(this_0, this.e4o_1);
|
|
733
|
+
writeAttoAlgorithm(this_0, this.f4o_1);
|
|
734
|
+
writeAttoPublicKey(this_0, this.g4o_1);
|
|
735
|
+
writeAttoHeight(this_0, this.h4o_1);
|
|
736
|
+
writeAttoAmount(this_0, this.i4o_1);
|
|
737
|
+
writeInstant(this_0, this.j4o_1);
|
|
738
|
+
writeAttoHash(this_0, this.k4o_1);
|
|
735
739
|
writeAttoAlgorithm(this_0, this.receiverAlgorithm);
|
|
736
740
|
writeAttoPublicKey(this_0, this.receiverPublicKey);
|
|
737
741
|
writeAttoAmount(this_0, this.amount);
|
|
@@ -746,79 +750,79 @@ function AttoSendBlock() {
|
|
|
746
750
|
noWhenBranchMatchedException();
|
|
747
751
|
}
|
|
748
752
|
}
|
|
749
|
-
if (this.amount.equals(Companion_getInstance_0().
|
|
750
|
-
return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().
|
|
753
|
+
if (this.amount.equals(Companion_getInstance_0().x4m_1)) {
|
|
754
|
+
return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().x4m_1.toString());
|
|
751
755
|
}
|
|
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.
|
|
756
|
+
if (this.receiverPublicKey.equals(this.g4o_1)) {
|
|
757
|
+
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.g4o_1.toString());
|
|
754
758
|
}
|
|
755
759
|
if (!(this.receiverAlgorithm.publicKeySize === this.receiverPublicKey.value.length)) {
|
|
756
760
|
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
761
|
}
|
|
758
762
|
return Ok_instance;
|
|
759
763
|
}
|
|
764
|
+
bf() {
|
|
765
|
+
return this.d4o_1;
|
|
766
|
+
}
|
|
760
767
|
cf() {
|
|
768
|
+
return this.e4o_1;
|
|
769
|
+
}
|
|
770
|
+
y4k() {
|
|
761
771
|
return this.f4o_1;
|
|
762
772
|
}
|
|
763
|
-
|
|
773
|
+
z4k() {
|
|
764
774
|
return this.g4o_1;
|
|
765
775
|
}
|
|
766
|
-
|
|
776
|
+
a4l() {
|
|
767
777
|
return this.h4o_1;
|
|
768
778
|
}
|
|
769
|
-
|
|
779
|
+
b4l() {
|
|
770
780
|
return this.i4o_1;
|
|
771
781
|
}
|
|
772
|
-
|
|
782
|
+
c4l() {
|
|
773
783
|
return this.j4o_1;
|
|
774
784
|
}
|
|
775
|
-
|
|
785
|
+
d4l() {
|
|
776
786
|
return this.k4o_1;
|
|
777
787
|
}
|
|
778
|
-
|
|
779
|
-
return this.l4o_1;
|
|
780
|
-
}
|
|
781
|
-
m4l() {
|
|
782
|
-
return this.m4o_1;
|
|
783
|
-
}
|
|
784
|
-
n4l() {
|
|
788
|
+
e4l() {
|
|
785
789
|
return this.receiverAlgorithm;
|
|
786
790
|
}
|
|
787
|
-
|
|
791
|
+
f4l() {
|
|
788
792
|
return this.receiverPublicKey;
|
|
789
793
|
}
|
|
790
|
-
|
|
794
|
+
t4o() {
|
|
791
795
|
return this.amount;
|
|
792
796
|
}
|
|
793
|
-
|
|
797
|
+
u4o(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
794
798
|
return new (AttoSendBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
795
799
|
}
|
|
796
800
|
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.
|
|
801
|
+
network = network === VOID ? this.d4o_1 : network;
|
|
802
|
+
version = version === VOID ? this.e4o_1 : version;
|
|
803
|
+
algorithm = algorithm === VOID ? this.f4o_1 : algorithm;
|
|
804
|
+
publicKey = publicKey === VOID ? this.g4o_1 : publicKey;
|
|
805
|
+
height = height === VOID ? this.h4o_1 : height;
|
|
806
|
+
balance = balance === VOID ? this.i4o_1 : balance;
|
|
807
|
+
timestamp = timestamp === VOID ? this.j4o_1 : timestamp;
|
|
808
|
+
previous = previous === VOID ? this.k4o_1 : previous;
|
|
805
809
|
receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
|
|
806
810
|
receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
|
|
807
811
|
amount = amount === VOID ? this.amount : amount;
|
|
808
|
-
return $super === VOID ? this.
|
|
812
|
+
return $super === VOID ? this.u4o(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) : $super.u4o.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
809
813
|
}
|
|
810
814
|
toString() {
|
|
811
|
-
return 'AttoSendBlock(network=' + this.
|
|
815
|
+
return 'AttoSendBlock(network=' + this.d4o_1.toString() + ', version=' + this.e4o_1.toString() + ', algorithm=' + this.f4o_1.toString() + ', publicKey=' + this.g4o_1.toString() + ', height=' + this.h4o_1.toString() + ', balance=' + this.i4o_1.toString() + ', timestamp=' + this.j4o_1.toString() + ', previous=' + this.k4o_1.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
|
|
812
816
|
}
|
|
813
817
|
hashCode() {
|
|
814
|
-
var result = this.
|
|
818
|
+
var result = this.d4o_1.hashCode();
|
|
819
|
+
result = imul(result, 31) + this.e4o_1.hashCode() | 0;
|
|
820
|
+
result = imul(result, 31) + this.f4o_1.hashCode() | 0;
|
|
815
821
|
result = imul(result, 31) + this.g4o_1.hashCode() | 0;
|
|
816
822
|
result = imul(result, 31) + this.h4o_1.hashCode() | 0;
|
|
817
823
|
result = imul(result, 31) + this.i4o_1.hashCode() | 0;
|
|
818
824
|
result = imul(result, 31) + this.j4o_1.hashCode() | 0;
|
|
819
825
|
result = imul(result, 31) + this.k4o_1.hashCode() | 0;
|
|
820
|
-
result = imul(result, 31) + this.l4o_1.hashCode() | 0;
|
|
821
|
-
result = imul(result, 31) + this.m4o_1.hashCode() | 0;
|
|
822
826
|
result = imul(result, 31) + this.receiverAlgorithm.hashCode() | 0;
|
|
823
827
|
result = imul(result, 31) + this.receiverPublicKey.hashCode() | 0;
|
|
824
828
|
result = imul(result, 31) + this.amount.hashCode() | 0;
|
|
@@ -829,6 +833,10 @@ function AttoSendBlock() {
|
|
|
829
833
|
return true;
|
|
830
834
|
if (!(other instanceof AttoSendBlock()))
|
|
831
835
|
return false;
|
|
836
|
+
if (!this.d4o_1.equals(other.d4o_1))
|
|
837
|
+
return false;
|
|
838
|
+
if (!this.e4o_1.equals(other.e4o_1))
|
|
839
|
+
return false;
|
|
832
840
|
if (!this.f4o_1.equals(other.f4o_1))
|
|
833
841
|
return false;
|
|
834
842
|
if (!this.g4o_1.equals(other.g4o_1))
|
|
@@ -841,10 +849,6 @@ function AttoSendBlock() {
|
|
|
841
849
|
return false;
|
|
842
850
|
if (!this.k4o_1.equals(other.k4o_1))
|
|
843
851
|
return false;
|
|
844
|
-
if (!this.l4o_1.equals(other.l4o_1))
|
|
845
|
-
return false;
|
|
846
|
-
if (!this.m4o_1.equals(other.m4o_1))
|
|
847
|
-
return false;
|
|
848
852
|
if (!this.receiverAlgorithm.equals(other.receiverAlgorithm))
|
|
849
853
|
return false;
|
|
850
854
|
if (!this.receiverPublicKey.equals(other.receiverPublicKey))
|
|
@@ -853,30 +857,30 @@ function AttoSendBlock() {
|
|
|
853
857
|
return false;
|
|
854
858
|
return true;
|
|
855
859
|
}
|
|
856
|
-
static
|
|
860
|
+
static o4o(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, address, receiverAddress, serializationConstructorMarker) {
|
|
857
861
|
Companion_getInstance_5();
|
|
858
862
|
if (!(2047 === (2047 & seen0))) {
|
|
859
|
-
throwMissingFieldException(seen0, 2047, $serializer_getInstance().
|
|
863
|
+
throwMissingFieldException(seen0, 2047, $serializer_getInstance().b4o_1);
|
|
860
864
|
}
|
|
861
865
|
var $this = createThis(this);
|
|
862
|
-
$this.
|
|
863
|
-
$this.
|
|
864
|
-
$this.
|
|
865
|
-
$this.
|
|
866
|
-
$this.
|
|
867
|
-
$this.
|
|
868
|
-
$this.
|
|
869
|
-
$this.
|
|
866
|
+
$this.d4o_1 = network;
|
|
867
|
+
$this.e4o_1 = version;
|
|
868
|
+
$this.f4o_1 = algorithm;
|
|
869
|
+
$this.g4o_1 = publicKey;
|
|
870
|
+
$this.h4o_1 = height;
|
|
871
|
+
$this.i4o_1 = balance;
|
|
872
|
+
$this.j4o_1 = timestamp;
|
|
873
|
+
$this.k4o_1 = previous;
|
|
870
874
|
$this.receiverAlgorithm = receiverAlgorithm;
|
|
871
875
|
$this.receiverPublicKey = receiverPublicKey;
|
|
872
876
|
$this.amount = amount;
|
|
873
|
-
$this.
|
|
877
|
+
$this.l4o_1 = AttoBlockType_SEND_getInstance();
|
|
874
878
|
var tmp = $this;
|
|
875
|
-
tmp.
|
|
879
|
+
tmp.m4o_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s($this));
|
|
876
880
|
if (0 === (seen0 & 2048))
|
|
877
|
-
$this.
|
|
881
|
+
$this.n4o_1 = new (AttoAddress())($this.f4o_1, $this.g4o_1);
|
|
878
882
|
else
|
|
879
|
-
$this.
|
|
883
|
+
$this.n4o_1 = address;
|
|
880
884
|
if (0 === (seen0 & 4096))
|
|
881
885
|
$this.receiverAddress = new (AttoAddress())($this.receiverAlgorithm, $this.receiverPublicKey);
|
|
882
886
|
else
|
|
@@ -884,40 +888,41 @@ function AttoSendBlock() {
|
|
|
884
888
|
return $this;
|
|
885
889
|
}
|
|
886
890
|
get network() {
|
|
887
|
-
return this.
|
|
891
|
+
return this.h4k();
|
|
888
892
|
}
|
|
889
893
|
get version() {
|
|
890
|
-
return this.
|
|
894
|
+
return this.w3i();
|
|
891
895
|
}
|
|
892
896
|
get algorithm() {
|
|
893
|
-
return this.
|
|
897
|
+
return this.i4k();
|
|
894
898
|
}
|
|
895
899
|
get publicKey() {
|
|
896
|
-
return this.
|
|
900
|
+
return this.g4k();
|
|
897
901
|
}
|
|
898
902
|
get height() {
|
|
899
|
-
return this.
|
|
903
|
+
return this.j4k();
|
|
900
904
|
}
|
|
901
905
|
get balance() {
|
|
902
|
-
return this.
|
|
906
|
+
return this.k4k();
|
|
903
907
|
}
|
|
904
908
|
get timestamp() {
|
|
905
|
-
return this.
|
|
909
|
+
return this.s4l();
|
|
906
910
|
}
|
|
907
911
|
get previous() {
|
|
908
|
-
return this.
|
|
912
|
+
return this.y4n();
|
|
909
913
|
}
|
|
910
914
|
get type() {
|
|
911
|
-
return this.
|
|
915
|
+
return this.t4n();
|
|
912
916
|
}
|
|
913
917
|
get hash() {
|
|
914
|
-
return this.
|
|
918
|
+
return this.n4l();
|
|
915
919
|
}
|
|
916
920
|
get address() {
|
|
917
|
-
return this.
|
|
921
|
+
return this.p4k();
|
|
918
922
|
}
|
|
919
923
|
}
|
|
920
924
|
protoOf($).isValid = isValid;
|
|
925
|
+
protoOf($).toByteArray = toByteArray;
|
|
921
926
|
initMetadataForClass($, 'AttoSendBlock', VOID, VOID, [AttoBlock(), PreviousSupport()], VOID, VOID, {0: $serializer_getInstance});
|
|
922
927
|
AttoSendBlockClass = $;
|
|
923
928
|
}
|
|
@@ -927,10 +932,10 @@ function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u() {
|
|
|
927
932
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
928
933
|
}
|
|
929
934
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_0() {
|
|
930
|
-
return Companion_getInstance_2().
|
|
935
|
+
return Companion_getInstance_2().b1h();
|
|
931
936
|
}
|
|
932
937
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1() {
|
|
933
|
-
return Companion_getInstance_2().
|
|
938
|
+
return Companion_getInstance_2().b1h();
|
|
934
939
|
}
|
|
935
940
|
var CompanionClass_2;
|
|
936
941
|
function Companion_2() {
|
|
@@ -947,10 +952,10 @@ function Companion_2() {
|
|
|
947
952
|
// Inline function 'kotlin.arrayOf' call
|
|
948
953
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
949
954
|
// Inline function 'kotlin.js.asDynamic' call
|
|
950
|
-
tmp.
|
|
955
|
+
tmp.q4n_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1), null, null];
|
|
951
956
|
}
|
|
952
|
-
|
|
953
|
-
if (fromInt(AttoBlockType_RECEIVE_getInstance().
|
|
957
|
+
p4n(serializedBlock) {
|
|
958
|
+
if (fromInt(AttoBlockType_RECEIVE_getInstance().l4n_1) > serializedBlock.u2()) {
|
|
954
959
|
return null;
|
|
955
960
|
}
|
|
956
961
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -959,7 +964,7 @@ function Companion_2() {
|
|
|
959
964
|
}
|
|
960
965
|
return new (AttoReceiveBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock));
|
|
961
966
|
}
|
|
962
|
-
|
|
967
|
+
b1h() {
|
|
963
968
|
return $serializer_getInstance_0();
|
|
964
969
|
}
|
|
965
970
|
}
|
|
@@ -981,41 +986,41 @@ function $serializer_0() {
|
|
|
981
986
|
constructor() {
|
|
982
987
|
$serializer_instance_0 = this;
|
|
983
988
|
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.
|
|
989
|
+
tmp0_serialDesc.c15('network', false);
|
|
990
|
+
tmp0_serialDesc.c15('version', false);
|
|
991
|
+
tmp0_serialDesc.c15('algorithm', false);
|
|
992
|
+
tmp0_serialDesc.c15('publicKey', false);
|
|
993
|
+
tmp0_serialDesc.c15('height', false);
|
|
994
|
+
tmp0_serialDesc.c15('balance', false);
|
|
995
|
+
tmp0_serialDesc.c15('timestamp', false);
|
|
996
|
+
tmp0_serialDesc.c15('previous', false);
|
|
997
|
+
tmp0_serialDesc.c15('sendHashAlgorithm', false);
|
|
998
|
+
tmp0_serialDesc.c15('sendHash', false);
|
|
999
|
+
tmp0_serialDesc.c15('address', true);
|
|
1000
|
+
this.v4o_1 = tmp0_serialDesc;
|
|
1001
|
+
}
|
|
1002
|
+
w4o(encoder, value) {
|
|
1003
|
+
var tmp0_desc = this.v4o_1;
|
|
1004
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
1005
|
+
var tmp2_cached = Companion_getInstance_6().q4n_1;
|
|
1006
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.x4o_1);
|
|
1007
|
+
tmp1_output.fz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.y4o_1);
|
|
1008
|
+
tmp1_output.fz(tmp0_desc, 2, tmp2_cached[2].g3(), value.z4o_1);
|
|
1009
|
+
tmp1_output.fz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.a4p_1);
|
|
1010
|
+
tmp1_output.fz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.b4p_1);
|
|
1011
|
+
tmp1_output.fz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.c4p_1);
|
|
1012
|
+
tmp1_output.fz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.d4p_1);
|
|
1013
|
+
tmp1_output.fz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.e4p_1);
|
|
1014
|
+
tmp1_output.fz(tmp0_desc, 8, tmp2_cached[8].g3(), value.f4p_1);
|
|
1015
|
+
tmp1_output.fz(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), value.g4p_1);
|
|
1016
|
+
tmp1_output.fz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.j4p_1);
|
|
1017
|
+
tmp1_output.px(tmp0_desc);
|
|
1018
|
+
}
|
|
1019
|
+
at(encoder, value) {
|
|
1020
|
+
return this.w4o(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
|
|
1021
|
+
}
|
|
1022
|
+
bt(decoder) {
|
|
1023
|
+
var tmp0_desc = this.v4o_1;
|
|
1019
1024
|
var tmp1_flag = true;
|
|
1020
1025
|
var tmp2_index = 0;
|
|
1021
1026
|
var tmp3_bitMask0 = 0;
|
|
@@ -1030,101 +1035,101 @@ function $serializer_0() {
|
|
|
1030
1035
|
var tmp12_local8 = null;
|
|
1031
1036
|
var tmp13_local9 = null;
|
|
1032
1037
|
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.
|
|
1038
|
+
var tmp17_input = decoder.ox(tmp0_desc);
|
|
1039
|
+
var tmp18_cached = Companion_getInstance_6().q4n_1;
|
|
1040
|
+
if (tmp17_input.dy()) {
|
|
1041
|
+
tmp4_local0 = tmp17_input.ay(tmp0_desc, 0, tmp18_cached[0].g3(), tmp4_local0);
|
|
1037
1042
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1038
|
-
tmp5_local1 = tmp17_input.
|
|
1043
|
+
tmp5_local1 = tmp17_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1039
1044
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1040
|
-
tmp6_local2 = tmp17_input.
|
|
1045
|
+
tmp6_local2 = tmp17_input.ay(tmp0_desc, 2, tmp18_cached[2].g3(), tmp6_local2);
|
|
1041
1046
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1042
|
-
tmp7_local3 = tmp17_input.
|
|
1047
|
+
tmp7_local3 = tmp17_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1043
1048
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1044
|
-
tmp8_local4 = tmp17_input.
|
|
1049
|
+
tmp8_local4 = tmp17_input.ay(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1045
1050
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1046
|
-
tmp9_local5 = tmp17_input.
|
|
1051
|
+
tmp9_local5 = tmp17_input.ay(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1047
1052
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1048
|
-
tmp10_local6 = tmp17_input.
|
|
1053
|
+
tmp10_local6 = tmp17_input.ay(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1049
1054
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1050
|
-
tmp11_local7 = tmp17_input.
|
|
1055
|
+
tmp11_local7 = tmp17_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1051
1056
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1052
|
-
tmp12_local8 = tmp17_input.
|
|
1057
|
+
tmp12_local8 = tmp17_input.ay(tmp0_desc, 8, tmp18_cached[8].g3(), tmp12_local8);
|
|
1053
1058
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1054
|
-
tmp13_local9 = tmp17_input.
|
|
1059
|
+
tmp13_local9 = tmp17_input.ay(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1055
1060
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1056
|
-
tmp14_local10 = tmp17_input.
|
|
1061
|
+
tmp14_local10 = tmp17_input.ay(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1057
1062
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1058
1063
|
} else
|
|
1059
1064
|
while (tmp1_flag) {
|
|
1060
|
-
tmp2_index = tmp17_input.
|
|
1065
|
+
tmp2_index = tmp17_input.ey(tmp0_desc);
|
|
1061
1066
|
switch (tmp2_index) {
|
|
1062
1067
|
case -1:
|
|
1063
1068
|
tmp1_flag = false;
|
|
1064
1069
|
break;
|
|
1065
1070
|
case 0:
|
|
1066
|
-
tmp4_local0 = tmp17_input.
|
|
1071
|
+
tmp4_local0 = tmp17_input.ay(tmp0_desc, 0, tmp18_cached[0].g3(), tmp4_local0);
|
|
1067
1072
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1068
1073
|
break;
|
|
1069
1074
|
case 1:
|
|
1070
|
-
tmp5_local1 = tmp17_input.
|
|
1075
|
+
tmp5_local1 = tmp17_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1071
1076
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1072
1077
|
break;
|
|
1073
1078
|
case 2:
|
|
1074
|
-
tmp6_local2 = tmp17_input.
|
|
1079
|
+
tmp6_local2 = tmp17_input.ay(tmp0_desc, 2, tmp18_cached[2].g3(), tmp6_local2);
|
|
1075
1080
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1076
1081
|
break;
|
|
1077
1082
|
case 3:
|
|
1078
|
-
tmp7_local3 = tmp17_input.
|
|
1083
|
+
tmp7_local3 = tmp17_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1079
1084
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1080
1085
|
break;
|
|
1081
1086
|
case 4:
|
|
1082
|
-
tmp8_local4 = tmp17_input.
|
|
1087
|
+
tmp8_local4 = tmp17_input.ay(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1083
1088
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1084
1089
|
break;
|
|
1085
1090
|
case 5:
|
|
1086
|
-
tmp9_local5 = tmp17_input.
|
|
1091
|
+
tmp9_local5 = tmp17_input.ay(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1087
1092
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1088
1093
|
break;
|
|
1089
1094
|
case 6:
|
|
1090
|
-
tmp10_local6 = tmp17_input.
|
|
1095
|
+
tmp10_local6 = tmp17_input.ay(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1091
1096
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1092
1097
|
break;
|
|
1093
1098
|
case 7:
|
|
1094
|
-
tmp11_local7 = tmp17_input.
|
|
1099
|
+
tmp11_local7 = tmp17_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1095
1100
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1096
1101
|
break;
|
|
1097
1102
|
case 8:
|
|
1098
|
-
tmp12_local8 = tmp17_input.
|
|
1103
|
+
tmp12_local8 = tmp17_input.ay(tmp0_desc, 8, tmp18_cached[8].g3(), tmp12_local8);
|
|
1099
1104
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1100
1105
|
break;
|
|
1101
1106
|
case 9:
|
|
1102
|
-
tmp13_local9 = tmp17_input.
|
|
1107
|
+
tmp13_local9 = tmp17_input.ay(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1103
1108
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1104
1109
|
break;
|
|
1105
1110
|
case 10:
|
|
1106
|
-
tmp14_local10 = tmp17_input.
|
|
1111
|
+
tmp14_local10 = tmp17_input.ay(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1107
1112
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1108
1113
|
break;
|
|
1109
1114
|
default:
|
|
1110
|
-
throw UnknownFieldException().
|
|
1115
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
1111
1116
|
}
|
|
1112
1117
|
}
|
|
1113
|
-
tmp17_input.
|
|
1114
|
-
return AttoReceiveBlock().
|
|
1118
|
+
tmp17_input.px(tmp0_desc);
|
|
1119
|
+
return AttoReceiveBlock().k4p(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
1120
|
}
|
|
1116
|
-
|
|
1117
|
-
return this.
|
|
1121
|
+
zs() {
|
|
1122
|
+
return this.v4o_1;
|
|
1118
1123
|
}
|
|
1119
|
-
|
|
1120
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1124
|
+
r15() {
|
|
1125
|
+
var tmp0_cached = Companion_getInstance_6().q4n_1;
|
|
1121
1126
|
// Inline function 'kotlin.arrayOf' call
|
|
1122
1127
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1123
1128
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1124
1129
|
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
1130
|
}
|
|
1126
1131
|
}
|
|
1127
|
-
protoOf($).
|
|
1132
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
1128
1133
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1129
1134
|
$serializerClass_0 = $;
|
|
1130
1135
|
}
|
|
@@ -1137,13 +1142,13 @@ function $serializer_getInstance_0() {
|
|
|
1137
1142
|
return $serializer_instance_0;
|
|
1138
1143
|
}
|
|
1139
1144
|
function AttoReceiveBlock$hash$delegate$lambda(this$0) {
|
|
1140
|
-
return () => hash(this$0.
|
|
1145
|
+
return () => hash(this$0.d4m());
|
|
1141
1146
|
}
|
|
1142
1147
|
function AttoReceiveBlock$_get_hash_$ref_1uzri0() {
|
|
1143
1148
|
return (p0) => p0.hash;
|
|
1144
1149
|
}
|
|
1145
1150
|
function AttoReceiveBlock$_init_$lambda_4ot8lv(this$0) {
|
|
1146
|
-
return () => hash(this$0.
|
|
1151
|
+
return () => hash(this$0.d4m());
|
|
1147
1152
|
}
|
|
1148
1153
|
var AttoReceiveBlockClass;
|
|
1149
1154
|
function AttoReceiveBlock() {
|
|
@@ -1151,131 +1156,133 @@ function AttoReceiveBlock() {
|
|
|
1151
1156
|
class $ {
|
|
1152
1157
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1153
1158
|
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.
|
|
1159
|
+
this.x4o_1 = network;
|
|
1160
|
+
this.y4o_1 = version;
|
|
1161
|
+
this.z4o_1 = algorithm;
|
|
1162
|
+
this.a4p_1 = publicKey;
|
|
1163
|
+
this.b4p_1 = height;
|
|
1164
|
+
this.c4p_1 = balance;
|
|
1165
|
+
this.d4p_1 = timestamp;
|
|
1166
|
+
this.e4p_1 = previous;
|
|
1167
|
+
this.f4p_1 = sendHashAlgorithm;
|
|
1168
|
+
this.g4p_1 = sendHash;
|
|
1169
|
+
this.h4p_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1165
1170
|
var tmp = this;
|
|
1166
|
-
tmp.
|
|
1167
|
-
this.
|
|
1171
|
+
tmp.i4p_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
|
|
1172
|
+
this.j4p_1 = new (AttoAddress())(this.z4o_1, this.a4p_1);
|
|
1168
1173
|
}
|
|
1169
|
-
|
|
1174
|
+
h4k() {
|
|
1175
|
+
return this.x4o_1;
|
|
1176
|
+
}
|
|
1177
|
+
w3i() {
|
|
1178
|
+
return this.y4o_1;
|
|
1179
|
+
}
|
|
1180
|
+
i4k() {
|
|
1170
1181
|
return this.z4o_1;
|
|
1171
1182
|
}
|
|
1172
|
-
|
|
1183
|
+
g4k() {
|
|
1173
1184
|
return this.a4p_1;
|
|
1174
1185
|
}
|
|
1175
|
-
|
|
1186
|
+
j4k() {
|
|
1176
1187
|
return this.b4p_1;
|
|
1177
1188
|
}
|
|
1178
|
-
|
|
1189
|
+
k4k() {
|
|
1179
1190
|
return this.c4p_1;
|
|
1180
1191
|
}
|
|
1181
|
-
|
|
1192
|
+
s4l() {
|
|
1182
1193
|
return this.d4p_1;
|
|
1183
1194
|
}
|
|
1184
|
-
|
|
1195
|
+
y4n() {
|
|
1185
1196
|
return this.e4p_1;
|
|
1186
1197
|
}
|
|
1187
|
-
|
|
1198
|
+
z4n() {
|
|
1188
1199
|
return this.f4p_1;
|
|
1189
1200
|
}
|
|
1190
1201
|
a4o() {
|
|
1191
1202
|
return this.g4p_1;
|
|
1192
1203
|
}
|
|
1193
|
-
|
|
1204
|
+
t4n() {
|
|
1194
1205
|
return this.h4p_1;
|
|
1195
1206
|
}
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
}
|
|
1199
|
-
w4n() {
|
|
1200
|
-
return this.j4p_1;
|
|
1201
|
-
}
|
|
1202
|
-
w4l() {
|
|
1203
|
-
var tmp0 = this.k4p_1;
|
|
1207
|
+
n4l() {
|
|
1208
|
+
var tmp0 = this.i4p_1;
|
|
1204
1209
|
var tmp = KProperty1();
|
|
1205
1210
|
// Inline function 'kotlin.getValue' call
|
|
1206
1211
|
getPropertyCallableRef('hash', 1, tmp, AttoReceiveBlock$_get_hash_$ref_1uzri0(), null);
|
|
1207
1212
|
return tmp0.g3();
|
|
1208
1213
|
}
|
|
1209
|
-
|
|
1210
|
-
return this.
|
|
1214
|
+
p4k() {
|
|
1215
|
+
return this.j4p_1;
|
|
1211
1216
|
}
|
|
1212
|
-
|
|
1217
|
+
d4m() {
|
|
1213
1218
|
// Inline function 'kotlin.apply' call
|
|
1214
1219
|
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.
|
|
1220
|
+
writeAttoBlockType(this_0, this.h4p_1);
|
|
1221
|
+
writeAttoNetwork(this_0, this.x4o_1);
|
|
1222
|
+
writeAttoVersion(this_0, this.y4o_1);
|
|
1223
|
+
writeAttoAlgorithm(this_0, this.z4o_1);
|
|
1224
|
+
writeAttoPublicKey(this_0, this.a4p_1);
|
|
1225
|
+
writeAttoHeight(this_0, this.b4p_1);
|
|
1226
|
+
writeAttoAmount(this_0, this.c4p_1);
|
|
1227
|
+
writeInstant(this_0, this.d4p_1);
|
|
1228
|
+
writeAttoHash(this_0, this.e4p_1);
|
|
1229
|
+
writeAttoAlgorithm(this_0, this.f4p_1);
|
|
1223
1230
|
writeAttoHash(this_0, this.g4p_1);
|
|
1224
|
-
writeAttoAlgorithm(this_0, this.h4p_1);
|
|
1225
|
-
writeAttoHash(this_0, this.i4p_1);
|
|
1226
1231
|
return this_0;
|
|
1227
1232
|
}
|
|
1233
|
+
bf() {
|
|
1234
|
+
return this.x4o_1;
|
|
1235
|
+
}
|
|
1228
1236
|
cf() {
|
|
1237
|
+
return this.y4o_1;
|
|
1238
|
+
}
|
|
1239
|
+
y4k() {
|
|
1229
1240
|
return this.z4o_1;
|
|
1230
1241
|
}
|
|
1231
|
-
|
|
1242
|
+
z4k() {
|
|
1232
1243
|
return this.a4p_1;
|
|
1233
1244
|
}
|
|
1234
|
-
|
|
1245
|
+
a4l() {
|
|
1235
1246
|
return this.b4p_1;
|
|
1236
1247
|
}
|
|
1237
|
-
|
|
1248
|
+
b4l() {
|
|
1238
1249
|
return this.c4p_1;
|
|
1239
1250
|
}
|
|
1240
|
-
|
|
1251
|
+
c4l() {
|
|
1241
1252
|
return this.d4p_1;
|
|
1242
1253
|
}
|
|
1243
|
-
|
|
1254
|
+
d4l() {
|
|
1244
1255
|
return this.e4p_1;
|
|
1245
1256
|
}
|
|
1246
|
-
|
|
1257
|
+
e4l() {
|
|
1247
1258
|
return this.f4p_1;
|
|
1248
1259
|
}
|
|
1249
|
-
|
|
1260
|
+
f4l() {
|
|
1250
1261
|
return this.g4p_1;
|
|
1251
1262
|
}
|
|
1252
|
-
|
|
1253
|
-
return this.h4p_1;
|
|
1254
|
-
}
|
|
1255
|
-
o4l() {
|
|
1256
|
-
return this.i4p_1;
|
|
1257
|
-
}
|
|
1258
|
-
n4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1263
|
+
l4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1259
1264
|
return new (AttoReceiveBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1260
1265
|
}
|
|
1261
1266
|
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.
|
|
1267
|
+
network = network === VOID ? this.x4o_1 : network;
|
|
1268
|
+
version = version === VOID ? this.y4o_1 : version;
|
|
1269
|
+
algorithm = algorithm === VOID ? this.z4o_1 : algorithm;
|
|
1270
|
+
publicKey = publicKey === VOID ? this.a4p_1 : publicKey;
|
|
1271
|
+
height = height === VOID ? this.b4p_1 : height;
|
|
1272
|
+
balance = balance === VOID ? this.c4p_1 : balance;
|
|
1273
|
+
timestamp = timestamp === VOID ? this.d4p_1 : timestamp;
|
|
1274
|
+
previous = previous === VOID ? this.e4p_1 : previous;
|
|
1275
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.f4p_1 : sendHashAlgorithm;
|
|
1276
|
+
sendHash = sendHash === VOID ? this.g4p_1 : sendHash;
|
|
1277
|
+
return $super === VOID ? this.l4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) : $super.l4p.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1273
1278
|
}
|
|
1274
1279
|
toString() {
|
|
1275
|
-
return 'AttoReceiveBlock(network=' + this.
|
|
1280
|
+
return 'AttoReceiveBlock(network=' + this.x4o_1.toString() + ', version=' + this.y4o_1.toString() + ', algorithm=' + this.z4o_1.toString() + ', publicKey=' + this.a4p_1.toString() + ', height=' + this.b4p_1.toString() + ', balance=' + this.c4p_1.toString() + ', timestamp=' + this.d4p_1.toString() + ', previous=' + this.e4p_1.toString() + ', sendHashAlgorithm=' + this.f4p_1.toString() + ', sendHash=' + this.g4p_1.toString() + ')';
|
|
1276
1281
|
}
|
|
1277
1282
|
hashCode() {
|
|
1278
|
-
var result = this.
|
|
1283
|
+
var result = this.x4o_1.hashCode();
|
|
1284
|
+
result = imul(result, 31) + this.y4o_1.hashCode() | 0;
|
|
1285
|
+
result = imul(result, 31) + this.z4o_1.hashCode() | 0;
|
|
1279
1286
|
result = imul(result, 31) + this.a4p_1.hashCode() | 0;
|
|
1280
1287
|
result = imul(result, 31) + this.b4p_1.hashCode() | 0;
|
|
1281
1288
|
result = imul(result, 31) + this.c4p_1.hashCode() | 0;
|
|
@@ -1283,8 +1290,6 @@ function AttoReceiveBlock() {
|
|
|
1283
1290
|
result = imul(result, 31) + this.e4p_1.hashCode() | 0;
|
|
1284
1291
|
result = imul(result, 31) + this.f4p_1.hashCode() | 0;
|
|
1285
1292
|
result = imul(result, 31) + this.g4p_1.hashCode() | 0;
|
|
1286
|
-
result = imul(result, 31) + this.h4p_1.hashCode() | 0;
|
|
1287
|
-
result = imul(result, 31) + this.i4p_1.hashCode() | 0;
|
|
1288
1293
|
return result;
|
|
1289
1294
|
}
|
|
1290
1295
|
equals(other) {
|
|
@@ -1292,6 +1297,10 @@ function AttoReceiveBlock() {
|
|
|
1292
1297
|
return true;
|
|
1293
1298
|
if (!(other instanceof AttoReceiveBlock()))
|
|
1294
1299
|
return false;
|
|
1300
|
+
if (!this.x4o_1.equals(other.x4o_1))
|
|
1301
|
+
return false;
|
|
1302
|
+
if (!this.y4o_1.equals(other.y4o_1))
|
|
1303
|
+
return false;
|
|
1295
1304
|
if (!this.z4o_1.equals(other.z4o_1))
|
|
1296
1305
|
return false;
|
|
1297
1306
|
if (!this.a4p_1.equals(other.a4p_1))
|
|
@@ -1308,79 +1317,76 @@ function AttoReceiveBlock() {
|
|
|
1308
1317
|
return false;
|
|
1309
1318
|
if (!this.g4p_1.equals(other.g4p_1))
|
|
1310
1319
|
return false;
|
|
1311
|
-
if (!this.h4p_1.equals(other.h4p_1))
|
|
1312
|
-
return false;
|
|
1313
|
-
if (!this.i4p_1.equals(other.i4p_1))
|
|
1314
|
-
return false;
|
|
1315
1320
|
return true;
|
|
1316
1321
|
}
|
|
1317
|
-
static
|
|
1322
|
+
static k4p(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, address, serializationConstructorMarker) {
|
|
1318
1323
|
Companion_getInstance_6();
|
|
1319
1324
|
if (!(1023 === (1023 & seen0))) {
|
|
1320
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().
|
|
1325
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().v4o_1);
|
|
1321
1326
|
}
|
|
1322
1327
|
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.
|
|
1328
|
+
$this.x4o_1 = network;
|
|
1329
|
+
$this.y4o_1 = version;
|
|
1330
|
+
$this.z4o_1 = algorithm;
|
|
1331
|
+
$this.a4p_1 = publicKey;
|
|
1332
|
+
$this.b4p_1 = height;
|
|
1333
|
+
$this.c4p_1 = balance;
|
|
1334
|
+
$this.d4p_1 = timestamp;
|
|
1335
|
+
$this.e4p_1 = previous;
|
|
1336
|
+
$this.f4p_1 = sendHashAlgorithm;
|
|
1337
|
+
$this.g4p_1 = sendHash;
|
|
1338
|
+
$this.h4p_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1334
1339
|
var tmp = $this;
|
|
1335
|
-
tmp.
|
|
1340
|
+
tmp.i4p_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv($this));
|
|
1336
1341
|
if (0 === (seen0 & 1024))
|
|
1337
|
-
$this.
|
|
1342
|
+
$this.j4p_1 = new (AttoAddress())($this.z4o_1, $this.a4p_1);
|
|
1338
1343
|
else
|
|
1339
|
-
$this.
|
|
1344
|
+
$this.j4p_1 = address;
|
|
1340
1345
|
return $this;
|
|
1341
1346
|
}
|
|
1342
1347
|
get network() {
|
|
1343
|
-
return this.
|
|
1348
|
+
return this.h4k();
|
|
1344
1349
|
}
|
|
1345
1350
|
get version() {
|
|
1346
|
-
return this.
|
|
1351
|
+
return this.w3i();
|
|
1347
1352
|
}
|
|
1348
1353
|
get algorithm() {
|
|
1349
|
-
return this.
|
|
1354
|
+
return this.i4k();
|
|
1350
1355
|
}
|
|
1351
1356
|
get publicKey() {
|
|
1352
|
-
return this.
|
|
1357
|
+
return this.g4k();
|
|
1353
1358
|
}
|
|
1354
1359
|
get height() {
|
|
1355
|
-
return this.
|
|
1360
|
+
return this.j4k();
|
|
1356
1361
|
}
|
|
1357
1362
|
get balance() {
|
|
1358
|
-
return this.
|
|
1363
|
+
return this.k4k();
|
|
1359
1364
|
}
|
|
1360
1365
|
get timestamp() {
|
|
1361
|
-
return this.
|
|
1366
|
+
return this.s4l();
|
|
1362
1367
|
}
|
|
1363
1368
|
get previous() {
|
|
1364
|
-
return this.
|
|
1369
|
+
return this.y4n();
|
|
1365
1370
|
}
|
|
1366
1371
|
get sendHashAlgorithm() {
|
|
1367
|
-
return this.
|
|
1372
|
+
return this.z4n();
|
|
1368
1373
|
}
|
|
1369
1374
|
get sendHash() {
|
|
1370
|
-
return this.
|
|
1375
|
+
return this.a4o();
|
|
1371
1376
|
}
|
|
1372
1377
|
get type() {
|
|
1373
|
-
return this.
|
|
1378
|
+
return this.t4n();
|
|
1374
1379
|
}
|
|
1375
1380
|
get hash() {
|
|
1376
|
-
return this.
|
|
1381
|
+
return this.n4l();
|
|
1377
1382
|
}
|
|
1378
1383
|
get address() {
|
|
1379
|
-
return this.
|
|
1384
|
+
return this.p4k();
|
|
1380
1385
|
}
|
|
1381
1386
|
}
|
|
1382
1387
|
protoOf($).validate = validate;
|
|
1383
1388
|
protoOf($).isValid = isValid;
|
|
1389
|
+
protoOf($).toByteArray = toByteArray;
|
|
1384
1390
|
initMetadataForClass($, 'AttoReceiveBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), ReceiveSupport()], VOID, VOID, {0: $serializer_getInstance_0});
|
|
1385
1391
|
AttoReceiveBlockClass = $;
|
|
1386
1392
|
}
|
|
@@ -1390,13 +1396,13 @@ function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3() {
|
|
|
1390
1396
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1391
1397
|
}
|
|
1392
1398
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_0() {
|
|
1393
|
-
return Companion_getInstance_2().
|
|
1399
|
+
return Companion_getInstance_2().b1h();
|
|
1394
1400
|
}
|
|
1395
1401
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_1() {
|
|
1396
|
-
return Companion_getInstance_2().
|
|
1402
|
+
return Companion_getInstance_2().b1h();
|
|
1397
1403
|
}
|
|
1398
1404
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2() {
|
|
1399
|
-
return Companion_getInstance_2().
|
|
1405
|
+
return Companion_getInstance_2().b1h();
|
|
1400
1406
|
}
|
|
1401
1407
|
var CompanionClass_3;
|
|
1402
1408
|
function Companion_3() {
|
|
@@ -1415,10 +1421,10 @@ function Companion_3() {
|
|
|
1415
1421
|
// Inline function 'kotlin.arrayOf' call
|
|
1416
1422
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1417
1423
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1418
|
-
tmp.
|
|
1424
|
+
tmp.r4n_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
1425
|
}
|
|
1420
|
-
|
|
1421
|
-
if (fromInt(AttoBlockType_OPEN_getInstance().
|
|
1426
|
+
p4n(serializedBlock) {
|
|
1427
|
+
if (fromInt(AttoBlockType_OPEN_getInstance().l4n_1) > serializedBlock.u2()) {
|
|
1422
1428
|
return null;
|
|
1423
1429
|
}
|
|
1424
1430
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -1427,7 +1433,7 @@ function Companion_3() {
|
|
|
1427
1433
|
}
|
|
1428
1434
|
return new (AttoOpenBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1429
1435
|
}
|
|
1430
|
-
|
|
1436
|
+
b1h() {
|
|
1431
1437
|
return $serializer_getInstance_1();
|
|
1432
1438
|
}
|
|
1433
1439
|
}
|
|
@@ -1449,45 +1455,45 @@ function $serializer_1() {
|
|
|
1449
1455
|
constructor() {
|
|
1450
1456
|
$serializer_instance_1 = this;
|
|
1451
1457
|
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.
|
|
1458
|
+
tmp0_serialDesc.c15('network', false);
|
|
1459
|
+
tmp0_serialDesc.c15('version', false);
|
|
1460
|
+
tmp0_serialDesc.c15('algorithm', false);
|
|
1461
|
+
tmp0_serialDesc.c15('publicKey', false);
|
|
1462
|
+
tmp0_serialDesc.c15('balance', false);
|
|
1463
|
+
tmp0_serialDesc.c15('timestamp', false);
|
|
1464
|
+
tmp0_serialDesc.c15('sendHashAlgorithm', false);
|
|
1465
|
+
tmp0_serialDesc.c15('sendHash', false);
|
|
1466
|
+
tmp0_serialDesc.c15('representativeAlgorithm', false);
|
|
1467
|
+
tmp0_serialDesc.c15('representativePublicKey', false);
|
|
1468
|
+
tmp0_serialDesc.c15('height', true);
|
|
1469
|
+
tmp0_serialDesc.c15('address', true);
|
|
1470
|
+
tmp0_serialDesc.c15('representativeAddress', true);
|
|
1471
|
+
this.m4p_1 = tmp0_serialDesc;
|
|
1472
|
+
}
|
|
1473
|
+
n4p(encoder, value) {
|
|
1474
|
+
var tmp0_desc = this.m4p_1;
|
|
1475
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
1476
|
+
var tmp2_cached = Companion_getInstance_7().r4n_1;
|
|
1477
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.l4j_1);
|
|
1478
|
+
tmp1_output.fz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.m4j_1);
|
|
1479
|
+
tmp1_output.fz(tmp0_desc, 2, tmp2_cached[2].g3(), value.n4j_1);
|
|
1480
|
+
tmp1_output.fz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.o4j_1);
|
|
1481
|
+
tmp1_output.fz(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), value.p4j_1);
|
|
1482
|
+
tmp1_output.fz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.q4j_1);
|
|
1483
|
+
tmp1_output.fz(tmp0_desc, 6, tmp2_cached[6].g3(), value.r4j_1);
|
|
1484
|
+
tmp1_output.fz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.s4j_1);
|
|
1485
|
+
tmp1_output.fz(tmp0_desc, 8, tmp2_cached[8].g3(), value.t4j_1);
|
|
1486
|
+
tmp1_output.fz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.u4j_1);
|
|
1487
|
+
tmp1_output.fz(tmp0_desc, 10, AttoHeightSerializer_getInstance(), value.x4j_1);
|
|
1488
|
+
tmp1_output.fz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.y4j_1);
|
|
1489
|
+
tmp1_output.fz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1490
|
+
tmp1_output.px(tmp0_desc);
|
|
1491
|
+
}
|
|
1492
|
+
at(encoder, value) {
|
|
1493
|
+
return this.n4p(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
|
|
1494
|
+
}
|
|
1495
|
+
bt(decoder) {
|
|
1496
|
+
var tmp0_desc = this.m4p_1;
|
|
1491
1497
|
var tmp1_flag = true;
|
|
1492
1498
|
var tmp2_index = 0;
|
|
1493
1499
|
var tmp3_bitMask0 = 0;
|
|
@@ -1504,113 +1510,113 @@ function $serializer_1() {
|
|
|
1504
1510
|
var tmp14_local10 = null;
|
|
1505
1511
|
var tmp15_local11 = null;
|
|
1506
1512
|
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.
|
|
1513
|
+
var tmp19_input = decoder.ox(tmp0_desc);
|
|
1514
|
+
var tmp20_cached = Companion_getInstance_7().r4n_1;
|
|
1515
|
+
if (tmp19_input.dy()) {
|
|
1516
|
+
tmp4_local0 = tmp19_input.ay(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
1511
1517
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1512
|
-
tmp5_local1 = tmp19_input.
|
|
1518
|
+
tmp5_local1 = tmp19_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1513
1519
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1514
|
-
tmp6_local2 = tmp19_input.
|
|
1520
|
+
tmp6_local2 = tmp19_input.ay(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
1515
1521
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1516
|
-
tmp7_local3 = tmp19_input.
|
|
1522
|
+
tmp7_local3 = tmp19_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1517
1523
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1518
|
-
tmp8_local4 = tmp19_input.
|
|
1524
|
+
tmp8_local4 = tmp19_input.ay(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1519
1525
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1520
|
-
tmp9_local5 = tmp19_input.
|
|
1526
|
+
tmp9_local5 = tmp19_input.ay(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1521
1527
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1522
|
-
tmp10_local6 = tmp19_input.
|
|
1528
|
+
tmp10_local6 = tmp19_input.ay(tmp0_desc, 6, tmp20_cached[6].g3(), tmp10_local6);
|
|
1523
1529
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1524
|
-
tmp11_local7 = tmp19_input.
|
|
1530
|
+
tmp11_local7 = tmp19_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1525
1531
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1526
|
-
tmp12_local8 = tmp19_input.
|
|
1532
|
+
tmp12_local8 = tmp19_input.ay(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
1527
1533
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1528
|
-
tmp13_local9 = tmp19_input.
|
|
1534
|
+
tmp13_local9 = tmp19_input.ay(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1529
1535
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1530
|
-
tmp14_local10 = tmp19_input.
|
|
1536
|
+
tmp14_local10 = tmp19_input.ay(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1531
1537
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1532
|
-
tmp15_local11 = tmp19_input.
|
|
1538
|
+
tmp15_local11 = tmp19_input.ay(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1533
1539
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1534
|
-
tmp16_local12 = tmp19_input.
|
|
1540
|
+
tmp16_local12 = tmp19_input.ay(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1535
1541
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1536
1542
|
} else
|
|
1537
1543
|
while (tmp1_flag) {
|
|
1538
|
-
tmp2_index = tmp19_input.
|
|
1544
|
+
tmp2_index = tmp19_input.ey(tmp0_desc);
|
|
1539
1545
|
switch (tmp2_index) {
|
|
1540
1546
|
case -1:
|
|
1541
1547
|
tmp1_flag = false;
|
|
1542
1548
|
break;
|
|
1543
1549
|
case 0:
|
|
1544
|
-
tmp4_local0 = tmp19_input.
|
|
1550
|
+
tmp4_local0 = tmp19_input.ay(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
1545
1551
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1546
1552
|
break;
|
|
1547
1553
|
case 1:
|
|
1548
|
-
tmp5_local1 = tmp19_input.
|
|
1554
|
+
tmp5_local1 = tmp19_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1549
1555
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1550
1556
|
break;
|
|
1551
1557
|
case 2:
|
|
1552
|
-
tmp6_local2 = tmp19_input.
|
|
1558
|
+
tmp6_local2 = tmp19_input.ay(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
1553
1559
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1554
1560
|
break;
|
|
1555
1561
|
case 3:
|
|
1556
|
-
tmp7_local3 = tmp19_input.
|
|
1562
|
+
tmp7_local3 = tmp19_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1557
1563
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1558
1564
|
break;
|
|
1559
1565
|
case 4:
|
|
1560
|
-
tmp8_local4 = tmp19_input.
|
|
1566
|
+
tmp8_local4 = tmp19_input.ay(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1561
1567
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1562
1568
|
break;
|
|
1563
1569
|
case 5:
|
|
1564
|
-
tmp9_local5 = tmp19_input.
|
|
1570
|
+
tmp9_local5 = tmp19_input.ay(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1565
1571
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1566
1572
|
break;
|
|
1567
1573
|
case 6:
|
|
1568
|
-
tmp10_local6 = tmp19_input.
|
|
1574
|
+
tmp10_local6 = tmp19_input.ay(tmp0_desc, 6, tmp20_cached[6].g3(), tmp10_local6);
|
|
1569
1575
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1570
1576
|
break;
|
|
1571
1577
|
case 7:
|
|
1572
|
-
tmp11_local7 = tmp19_input.
|
|
1578
|
+
tmp11_local7 = tmp19_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1573
1579
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1574
1580
|
break;
|
|
1575
1581
|
case 8:
|
|
1576
|
-
tmp12_local8 = tmp19_input.
|
|
1582
|
+
tmp12_local8 = tmp19_input.ay(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
1577
1583
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1578
1584
|
break;
|
|
1579
1585
|
case 9:
|
|
1580
|
-
tmp13_local9 = tmp19_input.
|
|
1586
|
+
tmp13_local9 = tmp19_input.ay(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1581
1587
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1582
1588
|
break;
|
|
1583
1589
|
case 10:
|
|
1584
|
-
tmp14_local10 = tmp19_input.
|
|
1590
|
+
tmp14_local10 = tmp19_input.ay(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1585
1591
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1586
1592
|
break;
|
|
1587
1593
|
case 11:
|
|
1588
|
-
tmp15_local11 = tmp19_input.
|
|
1594
|
+
tmp15_local11 = tmp19_input.ay(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1589
1595
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1590
1596
|
break;
|
|
1591
1597
|
case 12:
|
|
1592
|
-
tmp16_local12 = tmp19_input.
|
|
1598
|
+
tmp16_local12 = tmp19_input.ay(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1593
1599
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1594
1600
|
break;
|
|
1595
1601
|
default:
|
|
1596
|
-
throw UnknownFieldException().
|
|
1602
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
1597
1603
|
}
|
|
1598
1604
|
}
|
|
1599
|
-
tmp19_input.
|
|
1600
|
-
return AttoOpenBlock().
|
|
1605
|
+
tmp19_input.px(tmp0_desc);
|
|
1606
|
+
return AttoOpenBlock().o4p(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
1607
|
}
|
|
1602
|
-
|
|
1603
|
-
return this.
|
|
1608
|
+
zs() {
|
|
1609
|
+
return this.m4p_1;
|
|
1604
1610
|
}
|
|
1605
|
-
|
|
1606
|
-
var tmp0_cached = Companion_getInstance_7().
|
|
1611
|
+
r15() {
|
|
1612
|
+
var tmp0_cached = Companion_getInstance_7().r4n_1;
|
|
1607
1613
|
// Inline function 'kotlin.arrayOf' call
|
|
1608
1614
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1609
1615
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1610
1616
|
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
1617
|
}
|
|
1612
1618
|
}
|
|
1613
|
-
protoOf($).
|
|
1619
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
1614
1620
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1615
1621
|
$serializerClass_1 = $;
|
|
1616
1622
|
}
|
|
@@ -1623,13 +1629,13 @@ function $serializer_getInstance_1() {
|
|
|
1623
1629
|
return $serializer_instance_1;
|
|
1624
1630
|
}
|
|
1625
1631
|
function AttoOpenBlock$hash$delegate$lambda(this$0) {
|
|
1626
|
-
return () => hash(this$0.
|
|
1632
|
+
return () => hash(this$0.d4m());
|
|
1627
1633
|
}
|
|
1628
1634
|
function AttoOpenBlock$_get_hash_$ref_fk78xn() {
|
|
1629
1635
|
return (p0) => p0.hash;
|
|
1630
1636
|
}
|
|
1631
1637
|
function AttoOpenBlock$_init_$lambda_2mk62y(this$0) {
|
|
1632
|
-
return () => hash(this$0.
|
|
1638
|
+
return () => hash(this$0.d4m());
|
|
1633
1639
|
}
|
|
1634
1640
|
var AttoOpenBlockClass;
|
|
1635
1641
|
function AttoOpenBlock() {
|
|
@@ -1637,148 +1643,148 @@ function AttoOpenBlock() {
|
|
|
1637
1643
|
class $ {
|
|
1638
1644
|
constructor(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1639
1645
|
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.
|
|
1646
|
+
this.l4j_1 = network;
|
|
1647
|
+
this.m4j_1 = version;
|
|
1648
|
+
this.n4j_1 = algorithm;
|
|
1649
|
+
this.o4j_1 = publicKey;
|
|
1650
|
+
this.p4j_1 = balance;
|
|
1651
|
+
this.q4j_1 = timestamp;
|
|
1652
|
+
this.r4j_1 = sendHashAlgorithm;
|
|
1653
|
+
this.s4j_1 = sendHash;
|
|
1654
|
+
this.t4j_1 = representativeAlgorithm;
|
|
1655
|
+
this.u4j_1 = representativePublicKey;
|
|
1656
|
+
this.v4j_1 = AttoBlockType_OPEN_getInstance();
|
|
1651
1657
|
var tmp = this;
|
|
1652
|
-
tmp.
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1655
|
-
this.representativeAddress = new (AttoAddress())(this.
|
|
1658
|
+
tmp.w4j_1 = lazy_0(AttoOpenBlock$hash$delegate$lambda(this));
|
|
1659
|
+
this.x4j_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1660
|
+
this.y4j_1 = new (AttoAddress())(this.n4j_1, this.o4j_1);
|
|
1661
|
+
this.representativeAddress = new (AttoAddress())(this.t4j_1, this.u4j_1);
|
|
1656
1662
|
}
|
|
1657
|
-
|
|
1658
|
-
return this.
|
|
1663
|
+
h4k() {
|
|
1664
|
+
return this.l4j_1;
|
|
1659
1665
|
}
|
|
1660
|
-
|
|
1661
|
-
return this.
|
|
1666
|
+
w3i() {
|
|
1667
|
+
return this.m4j_1;
|
|
1662
1668
|
}
|
|
1663
|
-
|
|
1664
|
-
return this.
|
|
1669
|
+
i4k() {
|
|
1670
|
+
return this.n4j_1;
|
|
1665
1671
|
}
|
|
1666
|
-
|
|
1667
|
-
return this.
|
|
1672
|
+
g4k() {
|
|
1673
|
+
return this.o4j_1;
|
|
1668
1674
|
}
|
|
1669
|
-
|
|
1670
|
-
return this.
|
|
1675
|
+
k4k() {
|
|
1676
|
+
return this.p4j_1;
|
|
1671
1677
|
}
|
|
1672
|
-
|
|
1673
|
-
return this.
|
|
1678
|
+
s4l() {
|
|
1679
|
+
return this.q4j_1;
|
|
1674
1680
|
}
|
|
1675
|
-
|
|
1676
|
-
return this.
|
|
1681
|
+
z4n() {
|
|
1682
|
+
return this.r4j_1;
|
|
1677
1683
|
}
|
|
1678
|
-
|
|
1679
|
-
return this.
|
|
1684
|
+
a4o() {
|
|
1685
|
+
return this.s4j_1;
|
|
1680
1686
|
}
|
|
1681
|
-
|
|
1682
|
-
return this.
|
|
1687
|
+
n4k() {
|
|
1688
|
+
return this.t4j_1;
|
|
1683
1689
|
}
|
|
1684
|
-
|
|
1685
|
-
return this.
|
|
1690
|
+
o4k() {
|
|
1691
|
+
return this.u4j_1;
|
|
1686
1692
|
}
|
|
1687
|
-
|
|
1688
|
-
return this.
|
|
1693
|
+
t4n() {
|
|
1694
|
+
return this.v4j_1;
|
|
1689
1695
|
}
|
|
1690
|
-
|
|
1691
|
-
var tmp0 = this.
|
|
1696
|
+
n4l() {
|
|
1697
|
+
var tmp0 = this.w4j_1;
|
|
1692
1698
|
var tmp = KProperty1();
|
|
1693
1699
|
// Inline function 'kotlin.getValue' call
|
|
1694
1700
|
getPropertyCallableRef('hash', 1, tmp, AttoOpenBlock$_get_hash_$ref_fk78xn(), null);
|
|
1695
1701
|
return tmp0.g3();
|
|
1696
1702
|
}
|
|
1697
|
-
|
|
1698
|
-
return this.
|
|
1703
|
+
j4k() {
|
|
1704
|
+
return this.x4j_1;
|
|
1699
1705
|
}
|
|
1700
|
-
|
|
1701
|
-
return this.
|
|
1706
|
+
p4k() {
|
|
1707
|
+
return this.y4j_1;
|
|
1702
1708
|
}
|
|
1703
|
-
|
|
1709
|
+
q4k() {
|
|
1704
1710
|
return this.representativeAddress;
|
|
1705
1711
|
}
|
|
1706
|
-
|
|
1712
|
+
d4m() {
|
|
1707
1713
|
// Inline function 'kotlin.apply' call
|
|
1708
1714
|
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.
|
|
1715
|
+
writeAttoBlockType(this_0, this.v4j_1);
|
|
1716
|
+
writeAttoNetwork(this_0, this.l4j_1);
|
|
1717
|
+
writeAttoVersion(this_0, this.m4j_1);
|
|
1718
|
+
writeAttoAlgorithm(this_0, this.n4j_1);
|
|
1719
|
+
writeAttoPublicKey(this_0, this.o4j_1);
|
|
1720
|
+
writeAttoAmount(this_0, this.p4j_1);
|
|
1721
|
+
writeInstant(this_0, this.q4j_1);
|
|
1722
|
+
writeAttoAlgorithm(this_0, this.r4j_1);
|
|
1723
|
+
writeAttoHash(this_0, this.s4j_1);
|
|
1724
|
+
writeAttoAlgorithm(this_0, this.t4j_1);
|
|
1725
|
+
writeAttoPublicKey(this_0, this.u4j_1);
|
|
1720
1726
|
return this_0;
|
|
1721
1727
|
}
|
|
1722
|
-
|
|
1723
|
-
return this.
|
|
1728
|
+
bf() {
|
|
1729
|
+
return this.l4j_1;
|
|
1724
1730
|
}
|
|
1725
|
-
|
|
1726
|
-
return this.
|
|
1731
|
+
cf() {
|
|
1732
|
+
return this.m4j_1;
|
|
1727
1733
|
}
|
|
1728
|
-
|
|
1729
|
-
return this.
|
|
1734
|
+
y4k() {
|
|
1735
|
+
return this.n4j_1;
|
|
1730
1736
|
}
|
|
1731
|
-
|
|
1732
|
-
return this.
|
|
1737
|
+
z4k() {
|
|
1738
|
+
return this.o4j_1;
|
|
1733
1739
|
}
|
|
1734
|
-
|
|
1735
|
-
return this.
|
|
1740
|
+
a4l() {
|
|
1741
|
+
return this.p4j_1;
|
|
1736
1742
|
}
|
|
1737
|
-
|
|
1738
|
-
return this.
|
|
1743
|
+
b4l() {
|
|
1744
|
+
return this.q4j_1;
|
|
1739
1745
|
}
|
|
1740
|
-
|
|
1741
|
-
return this.
|
|
1746
|
+
c4l() {
|
|
1747
|
+
return this.r4j_1;
|
|
1742
1748
|
}
|
|
1743
|
-
|
|
1744
|
-
return this.
|
|
1749
|
+
d4l() {
|
|
1750
|
+
return this.s4j_1;
|
|
1745
1751
|
}
|
|
1746
|
-
|
|
1747
|
-
return this.
|
|
1752
|
+
e4l() {
|
|
1753
|
+
return this.t4j_1;
|
|
1748
1754
|
}
|
|
1749
|
-
|
|
1750
|
-
return this.
|
|
1755
|
+
f4l() {
|
|
1756
|
+
return this.u4j_1;
|
|
1751
1757
|
}
|
|
1752
|
-
|
|
1758
|
+
p4p(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1753
1759
|
return new (AttoOpenBlock())(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1754
1760
|
}
|
|
1755
1761
|
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.
|
|
1762
|
+
network = network === VOID ? this.l4j_1 : network;
|
|
1763
|
+
version = version === VOID ? this.m4j_1 : version;
|
|
1764
|
+
algorithm = algorithm === VOID ? this.n4j_1 : algorithm;
|
|
1765
|
+
publicKey = publicKey === VOID ? this.o4j_1 : publicKey;
|
|
1766
|
+
balance = balance === VOID ? this.p4j_1 : balance;
|
|
1767
|
+
timestamp = timestamp === VOID ? this.q4j_1 : timestamp;
|
|
1768
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.r4j_1 : sendHashAlgorithm;
|
|
1769
|
+
sendHash = sendHash === VOID ? this.s4j_1 : sendHash;
|
|
1770
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.t4j_1 : representativeAlgorithm;
|
|
1771
|
+
representativePublicKey = representativePublicKey === VOID ? this.u4j_1 : representativePublicKey;
|
|
1772
|
+
return $super === VOID ? this.p4p(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) : $super.p4p.call(this, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1767
1773
|
}
|
|
1768
1774
|
toString() {
|
|
1769
|
-
return 'AttoOpenBlock(network=' + this.
|
|
1775
|
+
return 'AttoOpenBlock(network=' + this.l4j_1.toString() + ', version=' + this.m4j_1.toString() + ', algorithm=' + this.n4j_1.toString() + ', publicKey=' + this.o4j_1.toString() + ', balance=' + this.p4j_1.toString() + ', timestamp=' + this.q4j_1.toString() + ', sendHashAlgorithm=' + this.r4j_1.toString() + ', sendHash=' + this.s4j_1.toString() + ', representativeAlgorithm=' + this.t4j_1.toString() + ', representativePublicKey=' + this.u4j_1.toString() + ')';
|
|
1770
1776
|
}
|
|
1771
1777
|
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.
|
|
1778
|
+
var result = this.l4j_1.hashCode();
|
|
1779
|
+
result = imul(result, 31) + this.m4j_1.hashCode() | 0;
|
|
1780
|
+
result = imul(result, 31) + this.n4j_1.hashCode() | 0;
|
|
1781
|
+
result = imul(result, 31) + this.o4j_1.hashCode() | 0;
|
|
1782
|
+
result = imul(result, 31) + this.p4j_1.hashCode() | 0;
|
|
1783
|
+
result = imul(result, 31) + this.q4j_1.hashCode() | 0;
|
|
1784
|
+
result = imul(result, 31) + this.r4j_1.hashCode() | 0;
|
|
1785
|
+
result = imul(result, 31) + this.s4j_1.hashCode() | 0;
|
|
1786
|
+
result = imul(result, 31) + this.t4j_1.hashCode() | 0;
|
|
1787
|
+
result = imul(result, 31) + this.u4j_1.hashCode() | 0;
|
|
1782
1788
|
return result;
|
|
1783
1789
|
}
|
|
1784
1790
|
equals(other) {
|
|
@@ -1786,106 +1792,107 @@ function AttoOpenBlock() {
|
|
|
1786
1792
|
return true;
|
|
1787
1793
|
if (!(other instanceof AttoOpenBlock()))
|
|
1788
1794
|
return false;
|
|
1789
|
-
if (!this.
|
|
1795
|
+
if (!this.l4j_1.equals(other.l4j_1))
|
|
1790
1796
|
return false;
|
|
1791
|
-
if (!this.
|
|
1797
|
+
if (!this.m4j_1.equals(other.m4j_1))
|
|
1792
1798
|
return false;
|
|
1793
|
-
if (!this.
|
|
1799
|
+
if (!this.n4j_1.equals(other.n4j_1))
|
|
1794
1800
|
return false;
|
|
1795
|
-
if (!this.
|
|
1801
|
+
if (!this.o4j_1.equals(other.o4j_1))
|
|
1796
1802
|
return false;
|
|
1797
|
-
if (!this.
|
|
1803
|
+
if (!this.p4j_1.equals(other.p4j_1))
|
|
1798
1804
|
return false;
|
|
1799
|
-
if (!this.
|
|
1805
|
+
if (!this.q4j_1.equals(other.q4j_1))
|
|
1800
1806
|
return false;
|
|
1801
|
-
if (!this.
|
|
1807
|
+
if (!this.r4j_1.equals(other.r4j_1))
|
|
1802
1808
|
return false;
|
|
1803
|
-
if (!this.
|
|
1809
|
+
if (!this.s4j_1.equals(other.s4j_1))
|
|
1804
1810
|
return false;
|
|
1805
|
-
if (!this.
|
|
1811
|
+
if (!this.t4j_1.equals(other.t4j_1))
|
|
1806
1812
|
return false;
|
|
1807
|
-
if (!this.
|
|
1813
|
+
if (!this.u4j_1.equals(other.u4j_1))
|
|
1808
1814
|
return false;
|
|
1809
1815
|
return true;
|
|
1810
1816
|
}
|
|
1811
|
-
static
|
|
1817
|
+
static o4p(seen0, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, height, address, representativeAddress, serializationConstructorMarker) {
|
|
1812
1818
|
Companion_getInstance_7();
|
|
1813
1819
|
if (!(1023 === (1023 & seen0))) {
|
|
1814
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().
|
|
1820
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().m4p_1);
|
|
1815
1821
|
}
|
|
1816
1822
|
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.
|
|
1823
|
+
$this.l4j_1 = network;
|
|
1824
|
+
$this.m4j_1 = version;
|
|
1825
|
+
$this.n4j_1 = algorithm;
|
|
1826
|
+
$this.o4j_1 = publicKey;
|
|
1827
|
+
$this.p4j_1 = balance;
|
|
1828
|
+
$this.q4j_1 = timestamp;
|
|
1829
|
+
$this.r4j_1 = sendHashAlgorithm;
|
|
1830
|
+
$this.s4j_1 = sendHash;
|
|
1831
|
+
$this.t4j_1 = representativeAlgorithm;
|
|
1832
|
+
$this.u4j_1 = representativePublicKey;
|
|
1833
|
+
$this.v4j_1 = AttoBlockType_OPEN_getInstance();
|
|
1828
1834
|
var tmp = $this;
|
|
1829
|
-
tmp.
|
|
1835
|
+
tmp.w4j_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y($this));
|
|
1830
1836
|
if (0 === (seen0 & 1024))
|
|
1831
|
-
$this.
|
|
1837
|
+
$this.x4j_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1832
1838
|
else
|
|
1833
|
-
$this.
|
|
1839
|
+
$this.x4j_1 = height;
|
|
1834
1840
|
if (0 === (seen0 & 2048))
|
|
1835
|
-
$this.
|
|
1841
|
+
$this.y4j_1 = new (AttoAddress())($this.n4j_1, $this.o4j_1);
|
|
1836
1842
|
else
|
|
1837
|
-
$this.
|
|
1843
|
+
$this.y4j_1 = address;
|
|
1838
1844
|
if (0 === (seen0 & 4096))
|
|
1839
|
-
$this.representativeAddress = new (AttoAddress())($this.
|
|
1845
|
+
$this.representativeAddress = new (AttoAddress())($this.t4j_1, $this.u4j_1);
|
|
1840
1846
|
else
|
|
1841
1847
|
$this.representativeAddress = representativeAddress;
|
|
1842
1848
|
return $this;
|
|
1843
1849
|
}
|
|
1844
1850
|
get network() {
|
|
1845
|
-
return this.
|
|
1851
|
+
return this.h4k();
|
|
1846
1852
|
}
|
|
1847
1853
|
get version() {
|
|
1848
|
-
return this.
|
|
1854
|
+
return this.w3i();
|
|
1849
1855
|
}
|
|
1850
1856
|
get algorithm() {
|
|
1851
|
-
return this.
|
|
1857
|
+
return this.i4k();
|
|
1852
1858
|
}
|
|
1853
1859
|
get publicKey() {
|
|
1854
|
-
return this.
|
|
1860
|
+
return this.g4k();
|
|
1855
1861
|
}
|
|
1856
1862
|
get balance() {
|
|
1857
|
-
return this.
|
|
1863
|
+
return this.k4k();
|
|
1858
1864
|
}
|
|
1859
1865
|
get timestamp() {
|
|
1860
|
-
return this.
|
|
1866
|
+
return this.s4l();
|
|
1861
1867
|
}
|
|
1862
1868
|
get sendHashAlgorithm() {
|
|
1863
|
-
return this.
|
|
1869
|
+
return this.z4n();
|
|
1864
1870
|
}
|
|
1865
1871
|
get sendHash() {
|
|
1866
|
-
return this.
|
|
1872
|
+
return this.a4o();
|
|
1867
1873
|
}
|
|
1868
1874
|
get representativeAlgorithm() {
|
|
1869
|
-
return this.
|
|
1875
|
+
return this.n4k();
|
|
1870
1876
|
}
|
|
1871
1877
|
get representativePublicKey() {
|
|
1872
|
-
return this.
|
|
1878
|
+
return this.o4k();
|
|
1873
1879
|
}
|
|
1874
1880
|
get type() {
|
|
1875
|
-
return this.
|
|
1881
|
+
return this.t4n();
|
|
1876
1882
|
}
|
|
1877
1883
|
get hash() {
|
|
1878
|
-
return this.
|
|
1884
|
+
return this.n4l();
|
|
1879
1885
|
}
|
|
1880
1886
|
get height() {
|
|
1881
|
-
return this.
|
|
1887
|
+
return this.j4k();
|
|
1882
1888
|
}
|
|
1883
1889
|
get address() {
|
|
1884
|
-
return this.
|
|
1890
|
+
return this.p4k();
|
|
1885
1891
|
}
|
|
1886
1892
|
}
|
|
1887
1893
|
protoOf($).validate = validate;
|
|
1888
1894
|
protoOf($).isValid = isValid;
|
|
1895
|
+
protoOf($).toByteArray = toByteArray;
|
|
1889
1896
|
initMetadataForClass($, 'AttoOpenBlock', VOID, VOID, [AttoBlock(), ReceiveSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_1});
|
|
1890
1897
|
AttoOpenBlockClass = $;
|
|
1891
1898
|
}
|
|
@@ -1895,10 +1902,10 @@ function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff() {
|
|
|
1895
1902
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1896
1903
|
}
|
|
1897
1904
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_0() {
|
|
1898
|
-
return Companion_getInstance_2().
|
|
1905
|
+
return Companion_getInstance_2().b1h();
|
|
1899
1906
|
}
|
|
1900
1907
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1() {
|
|
1901
|
-
return Companion_getInstance_2().
|
|
1908
|
+
return Companion_getInstance_2().b1h();
|
|
1902
1909
|
}
|
|
1903
1910
|
var CompanionClass_4;
|
|
1904
1911
|
function Companion_4() {
|
|
@@ -1915,10 +1922,10 @@ function Companion_4() {
|
|
|
1915
1922
|
// Inline function 'kotlin.arrayOf' call
|
|
1916
1923
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1917
1924
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1918
|
-
tmp.
|
|
1925
|
+
tmp.s4n_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1), null, null, null];
|
|
1919
1926
|
}
|
|
1920
|
-
|
|
1921
|
-
if (fromInt(AttoBlockType_CHANGE_getInstance().
|
|
1927
|
+
p4n(serializedBlock) {
|
|
1928
|
+
if (fromInt(AttoBlockType_CHANGE_getInstance().l4n_1) > serializedBlock.u2()) {
|
|
1922
1929
|
return null;
|
|
1923
1930
|
}
|
|
1924
1931
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -1927,7 +1934,7 @@ function Companion_4() {
|
|
|
1927
1934
|
}
|
|
1928
1935
|
return new (AttoChangeBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1929
1936
|
}
|
|
1930
|
-
|
|
1937
|
+
b1h() {
|
|
1931
1938
|
return $serializer_getInstance_2();
|
|
1932
1939
|
}
|
|
1933
1940
|
}
|
|
@@ -1949,43 +1956,43 @@ function $serializer_2() {
|
|
|
1949
1956
|
constructor() {
|
|
1950
1957
|
$serializer_instance_2 = this;
|
|
1951
1958
|
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.
|
|
1959
|
+
tmp0_serialDesc.c15('network', false);
|
|
1960
|
+
tmp0_serialDesc.c15('version', false);
|
|
1961
|
+
tmp0_serialDesc.c15('algorithm', false);
|
|
1962
|
+
tmp0_serialDesc.c15('publicKey', false);
|
|
1963
|
+
tmp0_serialDesc.c15('height', false);
|
|
1964
|
+
tmp0_serialDesc.c15('balance', false);
|
|
1965
|
+
tmp0_serialDesc.c15('timestamp', false);
|
|
1966
|
+
tmp0_serialDesc.c15('previous', false);
|
|
1967
|
+
tmp0_serialDesc.c15('representativeAlgorithm', false);
|
|
1968
|
+
tmp0_serialDesc.c15('representativePublicKey', false);
|
|
1969
|
+
tmp0_serialDesc.c15('address', true);
|
|
1970
|
+
tmp0_serialDesc.c15('representativeAddress', true);
|
|
1971
|
+
this.q4p_1 = tmp0_serialDesc;
|
|
1972
|
+
}
|
|
1973
|
+
r4p(encoder, value) {
|
|
1974
|
+
var tmp0_desc = this.q4p_1;
|
|
1975
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
1976
|
+
var tmp2_cached = Companion_getInstance_8().s4n_1;
|
|
1977
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.s4p_1);
|
|
1978
|
+
tmp1_output.fz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.t4p_1);
|
|
1979
|
+
tmp1_output.fz(tmp0_desc, 2, tmp2_cached[2].g3(), value.u4p_1);
|
|
1980
|
+
tmp1_output.fz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.v4p_1);
|
|
1981
|
+
tmp1_output.fz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.w4p_1);
|
|
1982
|
+
tmp1_output.fz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.x4p_1);
|
|
1983
|
+
tmp1_output.fz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.y4p_1);
|
|
1984
|
+
tmp1_output.fz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.z4p_1);
|
|
1985
|
+
tmp1_output.fz(tmp0_desc, 8, tmp2_cached[8].g3(), value.a4q_1);
|
|
1986
|
+
tmp1_output.fz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.b4q_1);
|
|
1987
|
+
tmp1_output.fz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.e4q_1);
|
|
1988
|
+
tmp1_output.fz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1989
|
+
tmp1_output.px(tmp0_desc);
|
|
1990
|
+
}
|
|
1991
|
+
at(encoder, value) {
|
|
1992
|
+
return this.r4p(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
|
|
1993
|
+
}
|
|
1994
|
+
bt(decoder) {
|
|
1995
|
+
var tmp0_desc = this.q4p_1;
|
|
1989
1996
|
var tmp1_flag = true;
|
|
1990
1997
|
var tmp2_index = 0;
|
|
1991
1998
|
var tmp3_bitMask0 = 0;
|
|
@@ -2001,107 +2008,107 @@ function $serializer_2() {
|
|
|
2001
2008
|
var tmp13_local9 = null;
|
|
2002
2009
|
var tmp14_local10 = null;
|
|
2003
2010
|
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.
|
|
2011
|
+
var tmp18_input = decoder.ox(tmp0_desc);
|
|
2012
|
+
var tmp19_cached = Companion_getInstance_8().s4n_1;
|
|
2013
|
+
if (tmp18_input.dy()) {
|
|
2014
|
+
tmp4_local0 = tmp18_input.ay(tmp0_desc, 0, tmp19_cached[0].g3(), tmp4_local0);
|
|
2008
2015
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2009
|
-
tmp5_local1 = tmp18_input.
|
|
2016
|
+
tmp5_local1 = tmp18_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2010
2017
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2011
|
-
tmp6_local2 = tmp18_input.
|
|
2018
|
+
tmp6_local2 = tmp18_input.ay(tmp0_desc, 2, tmp19_cached[2].g3(), tmp6_local2);
|
|
2012
2019
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2013
|
-
tmp7_local3 = tmp18_input.
|
|
2020
|
+
tmp7_local3 = tmp18_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2014
2021
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2015
|
-
tmp8_local4 = tmp18_input.
|
|
2022
|
+
tmp8_local4 = tmp18_input.ay(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2016
2023
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2017
|
-
tmp9_local5 = tmp18_input.
|
|
2024
|
+
tmp9_local5 = tmp18_input.ay(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2018
2025
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2019
|
-
tmp10_local6 = tmp18_input.
|
|
2026
|
+
tmp10_local6 = tmp18_input.ay(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2020
2027
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2021
|
-
tmp11_local7 = tmp18_input.
|
|
2028
|
+
tmp11_local7 = tmp18_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2022
2029
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2023
|
-
tmp12_local8 = tmp18_input.
|
|
2030
|
+
tmp12_local8 = tmp18_input.ay(tmp0_desc, 8, tmp19_cached[8].g3(), tmp12_local8);
|
|
2024
2031
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2025
|
-
tmp13_local9 = tmp18_input.
|
|
2032
|
+
tmp13_local9 = tmp18_input.ay(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2026
2033
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2027
|
-
tmp14_local10 = tmp18_input.
|
|
2034
|
+
tmp14_local10 = tmp18_input.ay(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2028
2035
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2029
|
-
tmp15_local11 = tmp18_input.
|
|
2036
|
+
tmp15_local11 = tmp18_input.ay(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2030
2037
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2031
2038
|
} else
|
|
2032
2039
|
while (tmp1_flag) {
|
|
2033
|
-
tmp2_index = tmp18_input.
|
|
2040
|
+
tmp2_index = tmp18_input.ey(tmp0_desc);
|
|
2034
2041
|
switch (tmp2_index) {
|
|
2035
2042
|
case -1:
|
|
2036
2043
|
tmp1_flag = false;
|
|
2037
2044
|
break;
|
|
2038
2045
|
case 0:
|
|
2039
|
-
tmp4_local0 = tmp18_input.
|
|
2046
|
+
tmp4_local0 = tmp18_input.ay(tmp0_desc, 0, tmp19_cached[0].g3(), tmp4_local0);
|
|
2040
2047
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2041
2048
|
break;
|
|
2042
2049
|
case 1:
|
|
2043
|
-
tmp5_local1 = tmp18_input.
|
|
2050
|
+
tmp5_local1 = tmp18_input.ay(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2044
2051
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2045
2052
|
break;
|
|
2046
2053
|
case 2:
|
|
2047
|
-
tmp6_local2 = tmp18_input.
|
|
2054
|
+
tmp6_local2 = tmp18_input.ay(tmp0_desc, 2, tmp19_cached[2].g3(), tmp6_local2);
|
|
2048
2055
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2049
2056
|
break;
|
|
2050
2057
|
case 3:
|
|
2051
|
-
tmp7_local3 = tmp18_input.
|
|
2058
|
+
tmp7_local3 = tmp18_input.ay(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2052
2059
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2053
2060
|
break;
|
|
2054
2061
|
case 4:
|
|
2055
|
-
tmp8_local4 = tmp18_input.
|
|
2062
|
+
tmp8_local4 = tmp18_input.ay(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2056
2063
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2057
2064
|
break;
|
|
2058
2065
|
case 5:
|
|
2059
|
-
tmp9_local5 = tmp18_input.
|
|
2066
|
+
tmp9_local5 = tmp18_input.ay(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2060
2067
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2061
2068
|
break;
|
|
2062
2069
|
case 6:
|
|
2063
|
-
tmp10_local6 = tmp18_input.
|
|
2070
|
+
tmp10_local6 = tmp18_input.ay(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2064
2071
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2065
2072
|
break;
|
|
2066
2073
|
case 7:
|
|
2067
|
-
tmp11_local7 = tmp18_input.
|
|
2074
|
+
tmp11_local7 = tmp18_input.ay(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2068
2075
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2069
2076
|
break;
|
|
2070
2077
|
case 8:
|
|
2071
|
-
tmp12_local8 = tmp18_input.
|
|
2078
|
+
tmp12_local8 = tmp18_input.ay(tmp0_desc, 8, tmp19_cached[8].g3(), tmp12_local8);
|
|
2072
2079
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2073
2080
|
break;
|
|
2074
2081
|
case 9:
|
|
2075
|
-
tmp13_local9 = tmp18_input.
|
|
2082
|
+
tmp13_local9 = tmp18_input.ay(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2076
2083
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2077
2084
|
break;
|
|
2078
2085
|
case 10:
|
|
2079
|
-
tmp14_local10 = tmp18_input.
|
|
2086
|
+
tmp14_local10 = tmp18_input.ay(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2080
2087
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2081
2088
|
break;
|
|
2082
2089
|
case 11:
|
|
2083
|
-
tmp15_local11 = tmp18_input.
|
|
2090
|
+
tmp15_local11 = tmp18_input.ay(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2084
2091
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2085
2092
|
break;
|
|
2086
2093
|
default:
|
|
2087
|
-
throw UnknownFieldException().
|
|
2094
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
2088
2095
|
}
|
|
2089
2096
|
}
|
|
2090
|
-
tmp18_input.
|
|
2091
|
-
return AttoChangeBlock().
|
|
2097
|
+
tmp18_input.px(tmp0_desc);
|
|
2098
|
+
return AttoChangeBlock().f4q(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
2099
|
}
|
|
2093
|
-
|
|
2094
|
-
return this.
|
|
2100
|
+
zs() {
|
|
2101
|
+
return this.q4p_1;
|
|
2095
2102
|
}
|
|
2096
|
-
|
|
2097
|
-
var tmp0_cached = Companion_getInstance_8().
|
|
2103
|
+
r15() {
|
|
2104
|
+
var tmp0_cached = Companion_getInstance_8().s4n_1;
|
|
2098
2105
|
// Inline function 'kotlin.arrayOf' call
|
|
2099
2106
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2100
2107
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2101
2108
|
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
2109
|
}
|
|
2103
2110
|
}
|
|
2104
|
-
protoOf($).
|
|
2111
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
2105
2112
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
2106
2113
|
$serializerClass_2 = $;
|
|
2107
2114
|
}
|
|
@@ -2114,13 +2121,13 @@ function $serializer_getInstance_2() {
|
|
|
2114
2121
|
return $serializer_instance_2;
|
|
2115
2122
|
}
|
|
2116
2123
|
function AttoChangeBlock$hash$delegate$lambda(this$0) {
|
|
2117
|
-
return () => hash(this$0.
|
|
2124
|
+
return () => hash(this$0.d4m());
|
|
2118
2125
|
}
|
|
2119
2126
|
function AttoChangeBlock$_get_hash_$ref_i4oufz() {
|
|
2120
2127
|
return (p0) => p0.hash;
|
|
2121
2128
|
}
|
|
2122
2129
|
function AttoChangeBlock$_init_$lambda_31jg7w(this$0) {
|
|
2123
|
-
return () => hash(this$0.
|
|
2130
|
+
return () => hash(this$0.d4m());
|
|
2124
2131
|
}
|
|
2125
2132
|
var AttoChangeBlockClass;
|
|
2126
2133
|
function AttoChangeBlock() {
|
|
@@ -2128,135 +2135,137 @@ function AttoChangeBlock() {
|
|
|
2128
2135
|
class $ {
|
|
2129
2136
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2130
2137
|
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.
|
|
2138
|
+
this.s4p_1 = network;
|
|
2139
|
+
this.t4p_1 = version;
|
|
2140
|
+
this.u4p_1 = algorithm;
|
|
2141
|
+
this.v4p_1 = publicKey;
|
|
2142
|
+
this.w4p_1 = height;
|
|
2143
|
+
this.x4p_1 = balance;
|
|
2144
|
+
this.y4p_1 = timestamp;
|
|
2145
|
+
this.z4p_1 = previous;
|
|
2146
|
+
this.a4q_1 = representativeAlgorithm;
|
|
2147
|
+
this.b4q_1 = representativePublicKey;
|
|
2148
|
+
this.c4q_1 = AttoBlockType_CHANGE_getInstance();
|
|
2142
2149
|
var tmp = this;
|
|
2143
|
-
tmp.
|
|
2144
|
-
this.
|
|
2145
|
-
this.representativeAddress = new (AttoAddress())(this.
|
|
2150
|
+
tmp.d4q_1 = lazy_0(AttoChangeBlock$hash$delegate$lambda(this));
|
|
2151
|
+
this.e4q_1 = new (AttoAddress())(this.u4p_1, this.v4p_1);
|
|
2152
|
+
this.representativeAddress = new (AttoAddress())(this.a4q_1, this.b4q_1);
|
|
2146
2153
|
}
|
|
2147
|
-
|
|
2154
|
+
h4k() {
|
|
2155
|
+
return this.s4p_1;
|
|
2156
|
+
}
|
|
2157
|
+
w3i() {
|
|
2158
|
+
return this.t4p_1;
|
|
2159
|
+
}
|
|
2160
|
+
i4k() {
|
|
2148
2161
|
return this.u4p_1;
|
|
2149
2162
|
}
|
|
2150
|
-
|
|
2163
|
+
g4k() {
|
|
2151
2164
|
return this.v4p_1;
|
|
2152
2165
|
}
|
|
2153
|
-
|
|
2166
|
+
j4k() {
|
|
2154
2167
|
return this.w4p_1;
|
|
2155
2168
|
}
|
|
2156
|
-
|
|
2169
|
+
k4k() {
|
|
2157
2170
|
return this.x4p_1;
|
|
2158
2171
|
}
|
|
2159
|
-
|
|
2172
|
+
s4l() {
|
|
2160
2173
|
return this.y4p_1;
|
|
2161
2174
|
}
|
|
2162
|
-
|
|
2175
|
+
y4n() {
|
|
2163
2176
|
return this.z4p_1;
|
|
2164
2177
|
}
|
|
2165
|
-
|
|
2178
|
+
n4k() {
|
|
2166
2179
|
return this.a4q_1;
|
|
2167
2180
|
}
|
|
2168
|
-
|
|
2181
|
+
o4k() {
|
|
2169
2182
|
return this.b4q_1;
|
|
2170
2183
|
}
|
|
2171
|
-
|
|
2184
|
+
t4n() {
|
|
2172
2185
|
return this.c4q_1;
|
|
2173
2186
|
}
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
}
|
|
2177
|
-
w4n() {
|
|
2178
|
-
return this.e4q_1;
|
|
2179
|
-
}
|
|
2180
|
-
w4l() {
|
|
2181
|
-
var tmp0 = this.f4q_1;
|
|
2187
|
+
n4l() {
|
|
2188
|
+
var tmp0 = this.d4q_1;
|
|
2182
2189
|
var tmp = KProperty1();
|
|
2183
2190
|
// Inline function 'kotlin.getValue' call
|
|
2184
2191
|
getPropertyCallableRef('hash', 1, tmp, AttoChangeBlock$_get_hash_$ref_i4oufz(), null);
|
|
2185
2192
|
return tmp0.g3();
|
|
2186
2193
|
}
|
|
2187
|
-
|
|
2188
|
-
return this.
|
|
2194
|
+
p4k() {
|
|
2195
|
+
return this.e4q_1;
|
|
2189
2196
|
}
|
|
2190
|
-
|
|
2197
|
+
q4k() {
|
|
2191
2198
|
return this.representativeAddress;
|
|
2192
2199
|
}
|
|
2193
|
-
|
|
2200
|
+
d4m() {
|
|
2194
2201
|
// Inline function 'kotlin.apply' call
|
|
2195
2202
|
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.
|
|
2203
|
+
writeAttoBlockType(this_0, this.c4q_1);
|
|
2204
|
+
writeAttoNetwork(this_0, this.s4p_1);
|
|
2205
|
+
writeAttoVersion(this_0, this.t4p_1);
|
|
2206
|
+
writeAttoAlgorithm(this_0, this.u4p_1);
|
|
2207
|
+
writeAttoPublicKey(this_0, this.v4p_1);
|
|
2208
|
+
writeAttoHeight(this_0, this.w4p_1);
|
|
2209
|
+
writeAttoAmount(this_0, this.x4p_1);
|
|
2210
|
+
writeInstant(this_0, this.y4p_1);
|
|
2211
|
+
writeAttoHash(this_0, this.z4p_1);
|
|
2212
|
+
writeAttoAlgorithm(this_0, this.a4q_1);
|
|
2213
|
+
writeAttoPublicKey(this_0, this.b4q_1);
|
|
2207
2214
|
return this_0;
|
|
2208
2215
|
}
|
|
2216
|
+
bf() {
|
|
2217
|
+
return this.s4p_1;
|
|
2218
|
+
}
|
|
2209
2219
|
cf() {
|
|
2220
|
+
return this.t4p_1;
|
|
2221
|
+
}
|
|
2222
|
+
y4k() {
|
|
2210
2223
|
return this.u4p_1;
|
|
2211
2224
|
}
|
|
2212
|
-
|
|
2225
|
+
z4k() {
|
|
2213
2226
|
return this.v4p_1;
|
|
2214
2227
|
}
|
|
2215
|
-
|
|
2228
|
+
a4l() {
|
|
2216
2229
|
return this.w4p_1;
|
|
2217
2230
|
}
|
|
2218
|
-
|
|
2231
|
+
b4l() {
|
|
2219
2232
|
return this.x4p_1;
|
|
2220
2233
|
}
|
|
2221
|
-
|
|
2234
|
+
c4l() {
|
|
2222
2235
|
return this.y4p_1;
|
|
2223
2236
|
}
|
|
2224
|
-
|
|
2237
|
+
d4l() {
|
|
2225
2238
|
return this.z4p_1;
|
|
2226
2239
|
}
|
|
2227
|
-
|
|
2240
|
+
e4l() {
|
|
2228
2241
|
return this.a4q_1;
|
|
2229
2242
|
}
|
|
2230
|
-
|
|
2243
|
+
f4l() {
|
|
2231
2244
|
return this.b4q_1;
|
|
2232
2245
|
}
|
|
2233
|
-
|
|
2234
|
-
return this.c4q_1;
|
|
2235
|
-
}
|
|
2236
|
-
o4l() {
|
|
2237
|
-
return this.d4q_1;
|
|
2238
|
-
}
|
|
2239
|
-
i4q(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2246
|
+
g4q(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2240
2247
|
return new (AttoChangeBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2241
2248
|
}
|
|
2242
2249
|
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.
|
|
2250
|
+
network = network === VOID ? this.s4p_1 : network;
|
|
2251
|
+
version = version === VOID ? this.t4p_1 : version;
|
|
2252
|
+
algorithm = algorithm === VOID ? this.u4p_1 : algorithm;
|
|
2253
|
+
publicKey = publicKey === VOID ? this.v4p_1 : publicKey;
|
|
2254
|
+
height = height === VOID ? this.w4p_1 : height;
|
|
2255
|
+
balance = balance === VOID ? this.x4p_1 : balance;
|
|
2256
|
+
timestamp = timestamp === VOID ? this.y4p_1 : timestamp;
|
|
2257
|
+
previous = previous === VOID ? this.z4p_1 : previous;
|
|
2258
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.a4q_1 : representativeAlgorithm;
|
|
2259
|
+
representativePublicKey = representativePublicKey === VOID ? this.b4q_1 : representativePublicKey;
|
|
2260
|
+
return $super === VOID ? this.g4q(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) : $super.g4q.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2254
2261
|
}
|
|
2255
2262
|
toString() {
|
|
2256
|
-
return 'AttoChangeBlock(network=' + this.
|
|
2263
|
+
return 'AttoChangeBlock(network=' + this.s4p_1.toString() + ', version=' + this.t4p_1.toString() + ', algorithm=' + this.u4p_1.toString() + ', publicKey=' + this.v4p_1.toString() + ', height=' + this.w4p_1.toString() + ', balance=' + this.x4p_1.toString() + ', timestamp=' + this.y4p_1.toString() + ', previous=' + this.z4p_1.toString() + ', representativeAlgorithm=' + this.a4q_1.toString() + ', representativePublicKey=' + this.b4q_1.toString() + ')';
|
|
2257
2264
|
}
|
|
2258
2265
|
hashCode() {
|
|
2259
|
-
var result = this.
|
|
2266
|
+
var result = this.s4p_1.hashCode();
|
|
2267
|
+
result = imul(result, 31) + this.t4p_1.hashCode() | 0;
|
|
2268
|
+
result = imul(result, 31) + this.u4p_1.hashCode() | 0;
|
|
2260
2269
|
result = imul(result, 31) + this.v4p_1.hashCode() | 0;
|
|
2261
2270
|
result = imul(result, 31) + this.w4p_1.hashCode() | 0;
|
|
2262
2271
|
result = imul(result, 31) + this.x4p_1.hashCode() | 0;
|
|
@@ -2264,8 +2273,6 @@ function AttoChangeBlock() {
|
|
|
2264
2273
|
result = imul(result, 31) + this.z4p_1.hashCode() | 0;
|
|
2265
2274
|
result = imul(result, 31) + this.a4q_1.hashCode() | 0;
|
|
2266
2275
|
result = imul(result, 31) + this.b4q_1.hashCode() | 0;
|
|
2267
|
-
result = imul(result, 31) + this.c4q_1.hashCode() | 0;
|
|
2268
|
-
result = imul(result, 31) + this.d4q_1.hashCode() | 0;
|
|
2269
2276
|
return result;
|
|
2270
2277
|
}
|
|
2271
2278
|
equals(other) {
|
|
@@ -2273,6 +2280,10 @@ function AttoChangeBlock() {
|
|
|
2273
2280
|
return true;
|
|
2274
2281
|
if (!(other instanceof AttoChangeBlock()))
|
|
2275
2282
|
return false;
|
|
2283
|
+
if (!this.s4p_1.equals(other.s4p_1))
|
|
2284
|
+
return false;
|
|
2285
|
+
if (!this.t4p_1.equals(other.t4p_1))
|
|
2286
|
+
return false;
|
|
2276
2287
|
if (!this.u4p_1.equals(other.u4p_1))
|
|
2277
2288
|
return false;
|
|
2278
2289
|
if (!this.v4p_1.equals(other.v4p_1))
|
|
@@ -2289,83 +2300,80 @@ function AttoChangeBlock() {
|
|
|
2289
2300
|
return false;
|
|
2290
2301
|
if (!this.b4q_1.equals(other.b4q_1))
|
|
2291
2302
|
return false;
|
|
2292
|
-
if (!this.c4q_1.equals(other.c4q_1))
|
|
2293
|
-
return false;
|
|
2294
|
-
if (!this.d4q_1.equals(other.d4q_1))
|
|
2295
|
-
return false;
|
|
2296
2303
|
return true;
|
|
2297
2304
|
}
|
|
2298
|
-
static
|
|
2305
|
+
static f4q(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, address, representativeAddress, serializationConstructorMarker) {
|
|
2299
2306
|
Companion_getInstance_8();
|
|
2300
2307
|
if (!(1023 === (1023 & seen0))) {
|
|
2301
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().
|
|
2308
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().q4p_1);
|
|
2302
2309
|
}
|
|
2303
2310
|
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.
|
|
2311
|
+
$this.s4p_1 = network;
|
|
2312
|
+
$this.t4p_1 = version;
|
|
2313
|
+
$this.u4p_1 = algorithm;
|
|
2314
|
+
$this.v4p_1 = publicKey;
|
|
2315
|
+
$this.w4p_1 = height;
|
|
2316
|
+
$this.x4p_1 = balance;
|
|
2317
|
+
$this.y4p_1 = timestamp;
|
|
2318
|
+
$this.z4p_1 = previous;
|
|
2319
|
+
$this.a4q_1 = representativeAlgorithm;
|
|
2320
|
+
$this.b4q_1 = representativePublicKey;
|
|
2321
|
+
$this.c4q_1 = AttoBlockType_CHANGE_getInstance();
|
|
2315
2322
|
var tmp = $this;
|
|
2316
|
-
tmp.
|
|
2323
|
+
tmp.d4q_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w($this));
|
|
2317
2324
|
if (0 === (seen0 & 1024))
|
|
2318
|
-
$this.
|
|
2325
|
+
$this.e4q_1 = new (AttoAddress())($this.u4p_1, $this.v4p_1);
|
|
2319
2326
|
else
|
|
2320
|
-
$this.
|
|
2327
|
+
$this.e4q_1 = address;
|
|
2321
2328
|
if (0 === (seen0 & 2048))
|
|
2322
|
-
$this.representativeAddress = new (AttoAddress())($this.
|
|
2329
|
+
$this.representativeAddress = new (AttoAddress())($this.a4q_1, $this.b4q_1);
|
|
2323
2330
|
else
|
|
2324
2331
|
$this.representativeAddress = representativeAddress;
|
|
2325
2332
|
return $this;
|
|
2326
2333
|
}
|
|
2327
2334
|
get network() {
|
|
2328
|
-
return this.
|
|
2335
|
+
return this.h4k();
|
|
2329
2336
|
}
|
|
2330
2337
|
get version() {
|
|
2331
|
-
return this.
|
|
2338
|
+
return this.w3i();
|
|
2332
2339
|
}
|
|
2333
2340
|
get algorithm() {
|
|
2334
|
-
return this.
|
|
2341
|
+
return this.i4k();
|
|
2335
2342
|
}
|
|
2336
2343
|
get publicKey() {
|
|
2337
|
-
return this.
|
|
2344
|
+
return this.g4k();
|
|
2338
2345
|
}
|
|
2339
2346
|
get height() {
|
|
2340
|
-
return this.
|
|
2347
|
+
return this.j4k();
|
|
2341
2348
|
}
|
|
2342
2349
|
get balance() {
|
|
2343
|
-
return this.
|
|
2350
|
+
return this.k4k();
|
|
2344
2351
|
}
|
|
2345
2352
|
get timestamp() {
|
|
2346
|
-
return this.
|
|
2353
|
+
return this.s4l();
|
|
2347
2354
|
}
|
|
2348
2355
|
get previous() {
|
|
2349
|
-
return this.
|
|
2356
|
+
return this.y4n();
|
|
2350
2357
|
}
|
|
2351
2358
|
get representativeAlgorithm() {
|
|
2352
|
-
return this.
|
|
2359
|
+
return this.n4k();
|
|
2353
2360
|
}
|
|
2354
2361
|
get representativePublicKey() {
|
|
2355
|
-
return this.
|
|
2362
|
+
return this.o4k();
|
|
2356
2363
|
}
|
|
2357
2364
|
get type() {
|
|
2358
|
-
return this.
|
|
2365
|
+
return this.t4n();
|
|
2359
2366
|
}
|
|
2360
2367
|
get hash() {
|
|
2361
|
-
return this.
|
|
2368
|
+
return this.n4l();
|
|
2362
2369
|
}
|
|
2363
2370
|
get address() {
|
|
2364
|
-
return this.
|
|
2371
|
+
return this.p4k();
|
|
2365
2372
|
}
|
|
2366
2373
|
}
|
|
2367
2374
|
protoOf($).validate = validate;
|
|
2368
2375
|
protoOf($).isValid = isValid;
|
|
2376
|
+
protoOf($).toByteArray = toByteArray;
|
|
2369
2377
|
initMetadataForClass($, 'AttoChangeBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_2});
|
|
2370
2378
|
AttoChangeBlockClass = $;
|
|
2371
2379
|
}
|
|
@@ -2376,7 +2384,7 @@ function createGenesis(_this__u8e3s4, network, address) {
|
|
|
2376
2384
|
var tmp0_version = toAttoVersion(_UInt___init__impl__l7qpdl(0));
|
|
2377
2385
|
var tmp1_algorithm = address.algorithm;
|
|
2378
2386
|
var tmp2_publicKey = address.publicKey;
|
|
2379
|
-
var tmp3_balance = Companion_getInstance_0().
|
|
2387
|
+
var tmp3_balance = Companion_getInstance_0().v4m_1;
|
|
2380
2388
|
var tmp4_timestamp = Companion_instance.now();
|
|
2381
2389
|
var tmp5_sendHashAlgorithm = address.algorithm;
|
|
2382
2390
|
var tmp6_sendHash = new (AttoHash())(new Int8Array(32));
|