@attocash/commons-js 6.2.1 → 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 +19 -19
- 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 +121 -121
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +151 -151
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +130 -130
- 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 +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +46 -46
- 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 +105 -105
- 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 +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +48 -48
- 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 +48 -48
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +59 -59
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +15 -15
- 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/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
- 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 +12 -12
- 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 +62 -54
- 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 +865 -857
- 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.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +5 -5
- 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 +17 -17
- 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 +6 -6
- 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.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 +67 -15
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +46 -6
- 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 +22 -22
- 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 +2 -2
- 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-js/cash/atto/commons/js/Placeholder.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} +375 -419
- 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 +7 -7
- 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} +70 -41
- 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} +18 -18
- 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 +54 -54
- 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} +134 -129
- 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 +55 -55
- 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 +7 -7
- 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} +70 -41
- 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} +18 -18
- 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 +8 -8
- 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 +320 -320
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.d.mts +15 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs +13 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +229 -216
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.d.mts +25 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/{AttoWalletAsync.export.mjs → AttoWalletAsync.js.export.mjs} +2 -2
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs +405 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +6 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +44 -35
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-wallet.mjs +2 -1
- package/commons-commons-wallet.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 +72 -72
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.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 +14 -14
- 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 +27 -27
- 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/DeepRecursive.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +10 -5
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +31 -31
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +189 -189
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +68 -68
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +28 -28
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +30 -30
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +15 -15
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +9 -0
- 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 +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +91 -0
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +43 -43
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- 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 +24 -24
- 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 +22 -22
- 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 +29 -29
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +3 -3
- 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/StringBuilderJs.mjs +15 -15
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +63 -63
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +76 -76
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +85 -85
- 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/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +21 -21
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +168 -168
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +43 -43
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +86 -86
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +318 -318
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +438 -438
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- 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/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +28 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
- 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 +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +42 -42
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +24 -24
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +72 -72
- 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 +35 -35
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- 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 +46 -46
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- 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/Scopes.mjs.map +1 -1
- 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 +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +52 -52
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
- 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 +188 -188
- 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 +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
- 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/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +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 +233 -233
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- 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/Json.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +61 -61
- 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/JsonElementSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/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/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +20 -20
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +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 +62 -62
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- package/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 +71 -71
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- 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/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +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 +23 -23
- 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 +32 -32
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +71 -71
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +77 -77
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +55 -55
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- 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 +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +56 -56
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +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/DefaultHttpResponse.mjs.map +1 -1
- 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/statement/HttpStatement.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- 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 +14 -14
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +39 -39
- 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 +66 -66
- 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 +69 -69
- 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 +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- 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/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +92 -92
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
- 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 +126 -126
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/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 +62 -62
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
- 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 +37 -37
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- 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 +28 -28
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +79 -79
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-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 +36 -36
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +37 -37
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +79 -79
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +8 -8
- 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/Date.mjs.map +1 -1
- 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/DebugPipelineContext.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- 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 +52 -52
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +16 -16
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +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.mjs.map +0 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +0 -26
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +0 -440
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +0 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +0 -8
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +0 -4
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs +0 -17
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map} +0 -0
- /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-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.mjs.map} +0 -0
- /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
|
@@ -78,6 +78,10 @@ import {
|
|
|
78
78
|
AttoHashableglgxag9qublj as AttoHashable,
|
|
79
79
|
AttoHashAsStringSerializer_getInstance1cjkrml8p9of9 as AttoHashAsStringSerializer_getInstance,
|
|
80
80
|
} from './AttoHash.mjs';
|
|
81
|
+
import {
|
|
82
|
+
AttoSerializable291xn050uxg51 as AttoSerializable,
|
|
83
|
+
toByteArrayholgcuj5zgpi as toByteArray,
|
|
84
|
+
} from './AttoSerializable.mjs';
|
|
81
85
|
import { values1ix93lj72gxe9 as values } from './AttoNetwork.mjs';
|
|
82
86
|
import { createSimpleEnumSerializer2guioz11kk1m0 as createSimpleEnumSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs';
|
|
83
87
|
import { Companion_getInstance1z5io8nvitm6s as Companion_getInstance_2 } from './AttoAlgorithm.mjs';
|
|
@@ -138,13 +142,13 @@ function Companion() {
|
|
|
138
142
|
var _iterator__ex2g4s = this_0.q1();
|
|
139
143
|
while (_iterator__ex2g4s.r1()) {
|
|
140
144
|
var element = _iterator__ex2g4s.s1();
|
|
141
|
-
var tmp$ret$0 = new (UByte())(element.
|
|
145
|
+
var tmp$ret$0 = new (UByte())(element.c2y_1);
|
|
142
146
|
destination.l4(tmp$ret$0, element);
|
|
143
147
|
}
|
|
144
|
-
tmp.
|
|
148
|
+
tmp.e2y_1 = destination;
|
|
145
149
|
}
|
|
146
|
-
|
|
147
|
-
var tmp0_elvis_lhs = this.
|
|
150
|
+
q2w(code) {
|
|
151
|
+
var tmp0_elvis_lhs = this.e2y_1.t4(new (UByte())(code));
|
|
148
152
|
return tmp0_elvis_lhs == null ? AttoBlockType_UNKNOWN_getInstance() : tmp0_elvis_lhs;
|
|
149
153
|
}
|
|
150
154
|
}
|
|
@@ -205,14 +209,14 @@ function AttoBlockType() {
|
|
|
205
209
|
class $ extends Enum() {
|
|
206
210
|
constructor(name, ordinal, code, size) {
|
|
207
211
|
super(name, ordinal);
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
212
|
+
this.c2y_1 = code;
|
|
213
|
+
this.d2y_1 = size;
|
|
210
214
|
}
|
|
211
|
-
|
|
212
|
-
return this.
|
|
215
|
+
d2x() {
|
|
216
|
+
return this.c2y_1;
|
|
213
217
|
}
|
|
214
218
|
u2() {
|
|
215
|
-
return this.
|
|
219
|
+
return this.d2y_1;
|
|
216
220
|
}
|
|
217
221
|
get name() {
|
|
218
222
|
return this.i1();
|
|
@@ -248,24 +252,24 @@ var CompanionClass_0;
|
|
|
248
252
|
function Companion_0() {
|
|
249
253
|
if (CompanionClass_0 === VOID) {
|
|
250
254
|
class $ {
|
|
251
|
-
|
|
255
|
+
f2y(serializedBlock) {
|
|
252
256
|
// Inline function 'kotlin.let' call
|
|
253
257
|
var it = new (Buffer())();
|
|
254
|
-
serializedBlock.
|
|
258
|
+
serializedBlock.q1h(it, 0n, 1n);
|
|
255
259
|
var type = readAttoBlockType(it);
|
|
256
260
|
var tmp;
|
|
257
261
|
switch (type.x1_1) {
|
|
258
262
|
case 3:
|
|
259
|
-
tmp = Companion_getInstance_5().
|
|
263
|
+
tmp = Companion_getInstance_5().h2y(serializedBlock);
|
|
260
264
|
break;
|
|
261
265
|
case 2:
|
|
262
|
-
tmp = Companion_getInstance_6().
|
|
266
|
+
tmp = Companion_getInstance_6().h2y(serializedBlock);
|
|
263
267
|
break;
|
|
264
268
|
case 1:
|
|
265
|
-
tmp = Companion_getInstance_7().
|
|
269
|
+
tmp = Companion_getInstance_7().h2y(serializedBlock);
|
|
266
270
|
break;
|
|
267
271
|
case 4:
|
|
268
|
-
tmp = Companion_getInstance_8().
|
|
272
|
+
tmp = Companion_getInstance_8().h2y(serializedBlock);
|
|
269
273
|
break;
|
|
270
274
|
case 0:
|
|
271
275
|
return null;
|
|
@@ -275,7 +279,7 @@ function Companion_0() {
|
|
|
275
279
|
}
|
|
276
280
|
return tmp;
|
|
277
281
|
}
|
|
278
|
-
|
|
282
|
+
x2t() {
|
|
279
283
|
var tmp = getKClass(AttoBlock());
|
|
280
284
|
// Inline function 'kotlin.arrayOf' call
|
|
281
285
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -289,10 +293,10 @@ function Companion_0() {
|
|
|
289
293
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
290
294
|
// Inline function 'kotlin.js.asDynamic' call
|
|
291
295
|
var tmp$ret$8 = [];
|
|
292
|
-
return SealedClassSerializer().
|
|
296
|
+
return SealedClassSerializer().tv('cash.atto.commons.AttoBlock', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
293
297
|
}
|
|
294
|
-
|
|
295
|
-
return this.
|
|
298
|
+
r17(typeParamsSerializers) {
|
|
299
|
+
return this.x2t();
|
|
296
300
|
}
|
|
297
301
|
}
|
|
298
302
|
initMetadataForCompanion($, VOID, [SerializerFactory()]);
|
|
@@ -305,7 +309,7 @@ function Companion_getInstance_4() {
|
|
|
305
309
|
return Companion_instance_1;
|
|
306
310
|
}
|
|
307
311
|
function validate() {
|
|
308
|
-
if (this.version.
|
|
312
|
+
if (this.version.m2y(get_maxVersion()) > 0) {
|
|
309
313
|
return new (Error_0())('Invalid version: version=' + this.version.toString() + ' > max=' + get_maxVersion().toString());
|
|
310
314
|
}
|
|
311
315
|
var now = Companion_instance.now();
|
|
@@ -313,7 +317,7 @@ function validate() {
|
|
|
313
317
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
314
318
|
Companion_getInstance();
|
|
315
319
|
var tmp$ret$0 = toDuration(1, DurationUnit_MINUTES_getInstance());
|
|
316
|
-
if (tmp.
|
|
320
|
+
if (tmp.m2v(now.up(tmp$ret$0)) > 0) {
|
|
317
321
|
return new (Error_0())('Timestamp too far in the future: timestamp=' + this.timestamp.toString() + ', now=' + now.toString() + ', tolerance=1m');
|
|
318
322
|
}
|
|
319
323
|
if (!(this.algorithm.publicKeySize === this.publicKey.value.length)) {
|
|
@@ -339,7 +343,7 @@ function validate() {
|
|
|
339
343
|
}
|
|
340
344
|
var tmp_2;
|
|
341
345
|
if (isInterface(this, ReceiveSupport())) {
|
|
342
|
-
tmp_2 = this.balance.equals(Companion_getInstance_0().
|
|
346
|
+
tmp_2 = this.balance.equals(Companion_getInstance_0().p2x_1);
|
|
343
347
|
} else {
|
|
344
348
|
tmp_2 = false;
|
|
345
349
|
}
|
|
@@ -348,7 +352,7 @@ function validate() {
|
|
|
348
352
|
}
|
|
349
353
|
var tmp_3;
|
|
350
354
|
if (!(this instanceof AttoOpenBlock())) {
|
|
351
|
-
tmp_3 = this.height.
|
|
355
|
+
tmp_3 = this.height.p2y(Companion_getInstance_1().n2y_1) <= 0;
|
|
352
356
|
} else {
|
|
353
357
|
tmp_3 = false;
|
|
354
358
|
}
|
|
@@ -367,13 +371,13 @@ function validate() {
|
|
|
367
371
|
return Ok_instance;
|
|
368
372
|
}
|
|
369
373
|
function isValid() {
|
|
370
|
-
return this.validate().
|
|
374
|
+
return this.validate().isValid;
|
|
371
375
|
}
|
|
372
376
|
var AttoBlockClass;
|
|
373
377
|
function AttoBlock() {
|
|
374
378
|
if (AttoBlockClass === VOID) {
|
|
375
379
|
class $ {}
|
|
376
|
-
initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AddressSupport(), AttoHashable()], VOID, VOID, {0: Companion_getInstance_4});
|
|
380
|
+
initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AddressSupport(), AttoHashable(), AttoSerializable()], VOID, VOID, {0: Companion_getInstance_4});
|
|
377
381
|
AttoBlockClass = $;
|
|
378
382
|
}
|
|
379
383
|
return AttoBlockClass;
|
|
@@ -409,10 +413,10 @@ function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99() {
|
|
|
409
413
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
410
414
|
}
|
|
411
415
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_0() {
|
|
412
|
-
return Companion_getInstance_2().
|
|
416
|
+
return Companion_getInstance_2().x2t();
|
|
413
417
|
}
|
|
414
418
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1() {
|
|
415
|
-
return Companion_getInstance_2().
|
|
419
|
+
return Companion_getInstance_2().x2t();
|
|
416
420
|
}
|
|
417
421
|
var CompanionClass_1;
|
|
418
422
|
function Companion_1() {
|
|
@@ -429,10 +433,10 @@ function Companion_1() {
|
|
|
429
433
|
// Inline function 'kotlin.arrayOf' call
|
|
430
434
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
431
435
|
// Inline function 'kotlin.js.asDynamic' call
|
|
432
|
-
tmp.
|
|
436
|
+
tmp.g2y_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1), null, null, null, null];
|
|
433
437
|
}
|
|
434
|
-
|
|
435
|
-
if (fromInt(AttoBlockType_SEND_getInstance().
|
|
438
|
+
h2y(serializedBlock) {
|
|
439
|
+
if (fromInt(AttoBlockType_SEND_getInstance().d2y_1) > serializedBlock.u2()) {
|
|
436
440
|
return null;
|
|
437
441
|
}
|
|
438
442
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -441,7 +445,7 @@ function Companion_1() {
|
|
|
441
445
|
}
|
|
442
446
|
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));
|
|
443
447
|
}
|
|
444
|
-
|
|
448
|
+
x2t() {
|
|
445
449
|
return $serializer_getInstance();
|
|
446
450
|
}
|
|
447
451
|
}
|
|
@@ -463,45 +467,45 @@ function $serializer() {
|
|
|
463
467
|
constructor() {
|
|
464
468
|
$serializer_instance = this;
|
|
465
469
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('SEND', this, 13);
|
|
466
|
-
tmp0_serialDesc.
|
|
467
|
-
tmp0_serialDesc.
|
|
468
|
-
tmp0_serialDesc.
|
|
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
|
-
this.
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
var tmp0_desc = this.
|
|
483
|
-
var tmp1_output = encoder.
|
|
484
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
485
|
-
tmp1_output.
|
|
486
|
-
tmp1_output.
|
|
487
|
-
tmp1_output.
|
|
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
|
-
}
|
|
500
|
-
|
|
501
|
-
return this.
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
var tmp0_desc = this.
|
|
470
|
+
tmp0_serialDesc.q16('network', false);
|
|
471
|
+
tmp0_serialDesc.q16('version', false);
|
|
472
|
+
tmp0_serialDesc.q16('algorithm', false);
|
|
473
|
+
tmp0_serialDesc.q16('publicKey', false);
|
|
474
|
+
tmp0_serialDesc.q16('height', false);
|
|
475
|
+
tmp0_serialDesc.q16('balance', false);
|
|
476
|
+
tmp0_serialDesc.q16('timestamp', false);
|
|
477
|
+
tmp0_serialDesc.q16('previous', false);
|
|
478
|
+
tmp0_serialDesc.q16('receiverAlgorithm', false);
|
|
479
|
+
tmp0_serialDesc.q16('receiverPublicKey', false);
|
|
480
|
+
tmp0_serialDesc.q16('amount', false);
|
|
481
|
+
tmp0_serialDesc.q16('address', true);
|
|
482
|
+
tmp0_serialDesc.q16('receiverAddress', true);
|
|
483
|
+
this.t2y_1 = tmp0_serialDesc;
|
|
484
|
+
}
|
|
485
|
+
u2y(encoder, value) {
|
|
486
|
+
var tmp0_desc = this.t2y_1;
|
|
487
|
+
var tmp1_output = encoder.cz(tmp0_desc);
|
|
488
|
+
var tmp2_cached = Companion_getInstance_5().g2y_1;
|
|
489
|
+
tmp1_output.t10(tmp0_desc, 0, tmp2_cached[0].g3(), value.v2y_1);
|
|
490
|
+
tmp1_output.t10(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.w2y_1);
|
|
491
|
+
tmp1_output.t10(tmp0_desc, 2, tmp2_cached[2].g3(), value.x2y_1);
|
|
492
|
+
tmp1_output.t10(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.y2y_1);
|
|
493
|
+
tmp1_output.t10(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.z2y_1);
|
|
494
|
+
tmp1_output.t10(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.a2z_1);
|
|
495
|
+
tmp1_output.t10(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.b2z_1);
|
|
496
|
+
tmp1_output.t10(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.c2z_1);
|
|
497
|
+
tmp1_output.t10(tmp0_desc, 8, tmp2_cached[8].g3(), value.receiverAlgorithm);
|
|
498
|
+
tmp1_output.t10(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.receiverPublicKey);
|
|
499
|
+
tmp1_output.t10(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), value.amount);
|
|
500
|
+
tmp1_output.t10(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.f2z_1);
|
|
501
|
+
tmp1_output.t10(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.receiverAddress);
|
|
502
|
+
tmp1_output.dz(tmp0_desc);
|
|
503
|
+
}
|
|
504
|
+
ou(encoder, value) {
|
|
505
|
+
return this.u2y(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
|
|
506
|
+
}
|
|
507
|
+
pu(decoder) {
|
|
508
|
+
var tmp0_desc = this.t2y_1;
|
|
505
509
|
var tmp1_flag = true;
|
|
506
510
|
var tmp2_index = 0;
|
|
507
511
|
var tmp3_bitMask0 = 0;
|
|
@@ -518,113 +522,113 @@ function $serializer() {
|
|
|
518
522
|
var tmp14_local10 = null;
|
|
519
523
|
var tmp15_local11 = null;
|
|
520
524
|
var tmp16_local12 = null;
|
|
521
|
-
var tmp19_input = decoder.
|
|
522
|
-
var tmp20_cached = Companion_getInstance_5().
|
|
523
|
-
if (tmp19_input.
|
|
524
|
-
tmp4_local0 = tmp19_input.
|
|
525
|
+
var tmp19_input = decoder.cz(tmp0_desc);
|
|
526
|
+
var tmp20_cached = Companion_getInstance_5().g2y_1;
|
|
527
|
+
if (tmp19_input.rz()) {
|
|
528
|
+
tmp4_local0 = tmp19_input.oz(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
525
529
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
526
|
-
tmp5_local1 = tmp19_input.
|
|
530
|
+
tmp5_local1 = tmp19_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
527
531
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
528
|
-
tmp6_local2 = tmp19_input.
|
|
532
|
+
tmp6_local2 = tmp19_input.oz(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
529
533
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
530
|
-
tmp7_local3 = tmp19_input.
|
|
534
|
+
tmp7_local3 = tmp19_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
531
535
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
532
|
-
tmp8_local4 = tmp19_input.
|
|
536
|
+
tmp8_local4 = tmp19_input.oz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
533
537
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
534
|
-
tmp9_local5 = tmp19_input.
|
|
538
|
+
tmp9_local5 = tmp19_input.oz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
535
539
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
536
|
-
tmp10_local6 = tmp19_input.
|
|
540
|
+
tmp10_local6 = tmp19_input.oz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
537
541
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
538
|
-
tmp11_local7 = tmp19_input.
|
|
542
|
+
tmp11_local7 = tmp19_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
539
543
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
540
|
-
tmp12_local8 = tmp19_input.
|
|
544
|
+
tmp12_local8 = tmp19_input.oz(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
541
545
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
542
|
-
tmp13_local9 = tmp19_input.
|
|
546
|
+
tmp13_local9 = tmp19_input.oz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
543
547
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
544
|
-
tmp14_local10 = tmp19_input.
|
|
548
|
+
tmp14_local10 = tmp19_input.oz(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
545
549
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
546
|
-
tmp15_local11 = tmp19_input.
|
|
550
|
+
tmp15_local11 = tmp19_input.oz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
547
551
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
548
|
-
tmp16_local12 = tmp19_input.
|
|
552
|
+
tmp16_local12 = tmp19_input.oz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
549
553
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
550
554
|
} else
|
|
551
555
|
while (tmp1_flag) {
|
|
552
|
-
tmp2_index = tmp19_input.
|
|
556
|
+
tmp2_index = tmp19_input.sz(tmp0_desc);
|
|
553
557
|
switch (tmp2_index) {
|
|
554
558
|
case -1:
|
|
555
559
|
tmp1_flag = false;
|
|
556
560
|
break;
|
|
557
561
|
case 0:
|
|
558
|
-
tmp4_local0 = tmp19_input.
|
|
562
|
+
tmp4_local0 = tmp19_input.oz(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
559
563
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
560
564
|
break;
|
|
561
565
|
case 1:
|
|
562
|
-
tmp5_local1 = tmp19_input.
|
|
566
|
+
tmp5_local1 = tmp19_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
563
567
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
564
568
|
break;
|
|
565
569
|
case 2:
|
|
566
|
-
tmp6_local2 = tmp19_input.
|
|
570
|
+
tmp6_local2 = tmp19_input.oz(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
567
571
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
568
572
|
break;
|
|
569
573
|
case 3:
|
|
570
|
-
tmp7_local3 = tmp19_input.
|
|
574
|
+
tmp7_local3 = tmp19_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
571
575
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
572
576
|
break;
|
|
573
577
|
case 4:
|
|
574
|
-
tmp8_local4 = tmp19_input.
|
|
578
|
+
tmp8_local4 = tmp19_input.oz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
575
579
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
576
580
|
break;
|
|
577
581
|
case 5:
|
|
578
|
-
tmp9_local5 = tmp19_input.
|
|
582
|
+
tmp9_local5 = tmp19_input.oz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
579
583
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
580
584
|
break;
|
|
581
585
|
case 6:
|
|
582
|
-
tmp10_local6 = tmp19_input.
|
|
586
|
+
tmp10_local6 = tmp19_input.oz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
583
587
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
584
588
|
break;
|
|
585
589
|
case 7:
|
|
586
|
-
tmp11_local7 = tmp19_input.
|
|
590
|
+
tmp11_local7 = tmp19_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
587
591
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
588
592
|
break;
|
|
589
593
|
case 8:
|
|
590
|
-
tmp12_local8 = tmp19_input.
|
|
594
|
+
tmp12_local8 = tmp19_input.oz(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
591
595
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
592
596
|
break;
|
|
593
597
|
case 9:
|
|
594
|
-
tmp13_local9 = tmp19_input.
|
|
598
|
+
tmp13_local9 = tmp19_input.oz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
595
599
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
596
600
|
break;
|
|
597
601
|
case 10:
|
|
598
|
-
tmp14_local10 = tmp19_input.
|
|
602
|
+
tmp14_local10 = tmp19_input.oz(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
599
603
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
600
604
|
break;
|
|
601
605
|
case 11:
|
|
602
|
-
tmp15_local11 = tmp19_input.
|
|
606
|
+
tmp15_local11 = tmp19_input.oz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
603
607
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
604
608
|
break;
|
|
605
609
|
case 12:
|
|
606
|
-
tmp16_local12 = tmp19_input.
|
|
610
|
+
tmp16_local12 = tmp19_input.oz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
607
611
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
608
612
|
break;
|
|
609
613
|
default:
|
|
610
|
-
throw UnknownFieldException().
|
|
614
|
+
throw UnknownFieldException().jw(tmp2_index);
|
|
611
615
|
}
|
|
612
616
|
}
|
|
613
|
-
tmp19_input.
|
|
614
|
-
return AttoSendBlock().
|
|
617
|
+
tmp19_input.dz(tmp0_desc);
|
|
618
|
+
return AttoSendBlock().g2z(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);
|
|
615
619
|
}
|
|
616
|
-
|
|
617
|
-
return this.
|
|
620
|
+
nu() {
|
|
621
|
+
return this.t2y_1;
|
|
618
622
|
}
|
|
619
|
-
|
|
620
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
623
|
+
f17() {
|
|
624
|
+
var tmp0_cached = Companion_getInstance_5().g2y_1;
|
|
621
625
|
// Inline function 'kotlin.arrayOf' call
|
|
622
626
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
623
627
|
// Inline function 'kotlin.js.asDynamic' call
|
|
624
628
|
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()];
|
|
625
629
|
}
|
|
626
630
|
}
|
|
627
|
-
protoOf($).
|
|
631
|
+
protoOf($).g17 = typeParametersSerializers;
|
|
628
632
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
629
633
|
$serializerClass = $;
|
|
630
634
|
}
|
|
@@ -637,13 +641,13 @@ function $serializer_getInstance() {
|
|
|
637
641
|
return $serializer_instance;
|
|
638
642
|
}
|
|
639
643
|
function AttoSendBlock$hash$delegate$lambda(this$0) {
|
|
640
|
-
return () => hash(this$0.
|
|
644
|
+
return () => hash(this$0.v2w());
|
|
641
645
|
}
|
|
642
646
|
function AttoSendBlock$_get_hash_$ref_emfoe1() {
|
|
643
647
|
return (p0) => p0.hash;
|
|
644
648
|
}
|
|
645
649
|
function AttoSendBlock$_init_$lambda_dfxw6s(this$0) {
|
|
646
|
-
return () => hash(this$0.
|
|
650
|
+
return () => hash(this$0.v2w());
|
|
647
651
|
}
|
|
648
652
|
var AttoSendBlockClass;
|
|
649
653
|
function AttoSendBlock() {
|
|
@@ -651,84 +655,84 @@ function AttoSendBlock() {
|
|
|
651
655
|
class $ {
|
|
652
656
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
653
657
|
Companion_getInstance_5();
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
658
|
+
this.v2y_1 = network;
|
|
659
|
+
this.w2y_1 = version;
|
|
660
|
+
this.x2y_1 = algorithm;
|
|
661
|
+
this.y2y_1 = publicKey;
|
|
662
|
+
this.z2y_1 = height;
|
|
663
|
+
this.a2z_1 = balance;
|
|
664
|
+
this.b2z_1 = timestamp;
|
|
665
|
+
this.c2z_1 = previous;
|
|
662
666
|
this.receiverAlgorithm = receiverAlgorithm;
|
|
663
667
|
this.receiverPublicKey = receiverPublicKey;
|
|
664
668
|
this.amount = amount;
|
|
665
|
-
this.
|
|
669
|
+
this.d2z_1 = AttoBlockType_SEND_getInstance();
|
|
666
670
|
var tmp = this;
|
|
667
|
-
tmp.
|
|
668
|
-
this.
|
|
671
|
+
tmp.e2z_1 = lazy_0(AttoSendBlock$hash$delegate$lambda(this));
|
|
672
|
+
this.f2z_1 = new (AttoAddress())(this.x2y_1, this.y2y_1);
|
|
669
673
|
this.receiverAddress = new (AttoAddress())(this.receiverAlgorithm, this.receiverPublicKey);
|
|
670
674
|
}
|
|
671
|
-
|
|
672
|
-
return this.
|
|
675
|
+
y2u() {
|
|
676
|
+
return this.v2y_1;
|
|
677
|
+
}
|
|
678
|
+
z2u() {
|
|
679
|
+
return this.w2y_1;
|
|
673
680
|
}
|
|
674
|
-
|
|
675
|
-
return this.
|
|
681
|
+
a2v() {
|
|
682
|
+
return this.x2y_1;
|
|
676
683
|
}
|
|
677
684
|
x2u() {
|
|
678
|
-
return this.
|
|
679
|
-
}
|
|
680
|
-
u2u() {
|
|
681
|
-
return this.o2y_1;
|
|
685
|
+
return this.y2y_1;
|
|
682
686
|
}
|
|
683
|
-
|
|
684
|
-
return this.
|
|
687
|
+
b2v() {
|
|
688
|
+
return this.z2y_1;
|
|
685
689
|
}
|
|
686
|
-
|
|
687
|
-
return this.
|
|
690
|
+
c2v() {
|
|
691
|
+
return this.a2z_1;
|
|
688
692
|
}
|
|
689
|
-
|
|
690
|
-
return this.
|
|
693
|
+
k2w() {
|
|
694
|
+
return this.b2z_1;
|
|
691
695
|
}
|
|
692
|
-
|
|
693
|
-
return this.
|
|
696
|
+
q2y() {
|
|
697
|
+
return this.c2z_1;
|
|
694
698
|
}
|
|
695
|
-
|
|
699
|
+
h2z() {
|
|
696
700
|
return this.receiverAlgorithm;
|
|
697
701
|
}
|
|
698
|
-
|
|
702
|
+
i2z() {
|
|
699
703
|
return this.receiverPublicKey;
|
|
700
704
|
}
|
|
701
|
-
|
|
705
|
+
j2z() {
|
|
702
706
|
return this.amount;
|
|
703
707
|
}
|
|
704
|
-
|
|
705
|
-
return this.
|
|
708
|
+
l2y() {
|
|
709
|
+
return this.d2z_1;
|
|
706
710
|
}
|
|
707
|
-
|
|
708
|
-
var tmp0 = this.
|
|
711
|
+
f2w() {
|
|
712
|
+
var tmp0 = this.e2z_1;
|
|
709
713
|
var tmp = KProperty1();
|
|
710
714
|
// Inline function 'kotlin.getValue' call
|
|
711
715
|
getPropertyCallableRef('hash', 1, tmp, AttoSendBlock$_get_hash_$ref_emfoe1(), null);
|
|
712
716
|
return tmp0.g3();
|
|
713
717
|
}
|
|
714
|
-
|
|
715
|
-
return this.
|
|
718
|
+
h2v() {
|
|
719
|
+
return this.f2z_1;
|
|
716
720
|
}
|
|
717
|
-
|
|
721
|
+
k2z() {
|
|
718
722
|
return this.receiverAddress;
|
|
719
723
|
}
|
|
720
|
-
|
|
724
|
+
v2w() {
|
|
721
725
|
// Inline function 'kotlin.apply' call
|
|
722
726
|
var this_0 = new (Buffer())();
|
|
723
|
-
writeAttoBlockType(this_0, this.
|
|
724
|
-
writeAttoNetwork(this_0, this.
|
|
725
|
-
writeAttoVersion(this_0, this.
|
|
726
|
-
writeAttoAlgorithm(this_0, this.
|
|
727
|
-
writeAttoPublicKey(this_0, this.
|
|
728
|
-
writeAttoHeight(this_0, this.
|
|
729
|
-
writeAttoAmount(this_0, this.
|
|
730
|
-
writeInstant(this_0, this.
|
|
731
|
-
writeAttoHash(this_0, this.
|
|
727
|
+
writeAttoBlockType(this_0, this.d2z_1);
|
|
728
|
+
writeAttoNetwork(this_0, this.v2y_1);
|
|
729
|
+
writeAttoVersion(this_0, this.w2y_1);
|
|
730
|
+
writeAttoAlgorithm(this_0, this.x2y_1);
|
|
731
|
+
writeAttoPublicKey(this_0, this.y2y_1);
|
|
732
|
+
writeAttoHeight(this_0, this.z2y_1);
|
|
733
|
+
writeAttoAmount(this_0, this.a2z_1);
|
|
734
|
+
writeInstant(this_0, this.b2z_1);
|
|
735
|
+
writeAttoHash(this_0, this.c2z_1);
|
|
732
736
|
writeAttoAlgorithm(this_0, this.receiverAlgorithm);
|
|
733
737
|
writeAttoPublicKey(this_0, this.receiverPublicKey);
|
|
734
738
|
writeAttoAmount(this_0, this.amount);
|
|
@@ -743,79 +747,79 @@ function AttoSendBlock() {
|
|
|
743
747
|
noWhenBranchMatchedException();
|
|
744
748
|
}
|
|
745
749
|
}
|
|
746
|
-
if (this.amount.equals(Companion_getInstance_0().
|
|
747
|
-
return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().
|
|
750
|
+
if (this.amount.equals(Companion_getInstance_0().p2x_1)) {
|
|
751
|
+
return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().p2x_1.toString());
|
|
748
752
|
}
|
|
749
|
-
if (this.receiverPublicKey.equals(this.
|
|
750
|
-
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.
|
|
753
|
+
if (this.receiverPublicKey.equals(this.y2y_1)) {
|
|
754
|
+
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.y2y_1.toString());
|
|
751
755
|
}
|
|
752
756
|
if (!(this.receiverAlgorithm.publicKeySize === this.receiverPublicKey.value.length)) {
|
|
753
757
|
return new (Error_0())('Receiver public key size does not match receiver algorithm: ' + ('receiverAlgorithm.publicKeySize=' + this.receiverAlgorithm.publicKeySize + ', ') + ('receiverPublicKey.size=' + this.receiverPublicKey.value.length));
|
|
754
758
|
}
|
|
755
759
|
return Ok_instance;
|
|
756
760
|
}
|
|
757
|
-
|
|
758
|
-
return this.
|
|
759
|
-
}
|
|
760
|
-
ff() {
|
|
761
|
-
return this.m2y_1;
|
|
762
|
-
}
|
|
763
|
-
n2v() {
|
|
764
|
-
return this.n2y_1;
|
|
765
|
-
}
|
|
766
|
-
o2v() {
|
|
767
|
-
return this.o2y_1;
|
|
761
|
+
hf() {
|
|
762
|
+
return this.v2y_1;
|
|
768
763
|
}
|
|
769
|
-
|
|
770
|
-
return this.
|
|
764
|
+
if() {
|
|
765
|
+
return this.w2y_1;
|
|
771
766
|
}
|
|
772
767
|
q2v() {
|
|
773
|
-
return this.
|
|
768
|
+
return this.x2y_1;
|
|
774
769
|
}
|
|
775
770
|
r2v() {
|
|
776
|
-
return this.
|
|
771
|
+
return this.y2y_1;
|
|
777
772
|
}
|
|
778
773
|
s2v() {
|
|
779
|
-
return this.
|
|
774
|
+
return this.z2y_1;
|
|
780
775
|
}
|
|
781
776
|
t2v() {
|
|
782
|
-
return this.
|
|
777
|
+
return this.a2z_1;
|
|
783
778
|
}
|
|
784
779
|
u2v() {
|
|
780
|
+
return this.b2z_1;
|
|
781
|
+
}
|
|
782
|
+
v2v() {
|
|
783
|
+
return this.c2z_1;
|
|
784
|
+
}
|
|
785
|
+
w2v() {
|
|
786
|
+
return this.receiverAlgorithm;
|
|
787
|
+
}
|
|
788
|
+
x2v() {
|
|
785
789
|
return this.receiverPublicKey;
|
|
786
790
|
}
|
|
787
|
-
|
|
791
|
+
l2z() {
|
|
788
792
|
return this.amount;
|
|
789
793
|
}
|
|
790
|
-
|
|
794
|
+
m2z(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
791
795
|
return new (AttoSendBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
792
796
|
}
|
|
793
797
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, $super) {
|
|
794
|
-
network = network === VOID ? this.
|
|
795
|
-
version = version === VOID ? this.
|
|
796
|
-
algorithm = algorithm === VOID ? this.
|
|
797
|
-
publicKey = publicKey === VOID ? this.
|
|
798
|
-
height = height === VOID ? this.
|
|
799
|
-
balance = balance === VOID ? this.
|
|
800
|
-
timestamp = timestamp === VOID ? this.
|
|
801
|
-
previous = previous === VOID ? this.
|
|
798
|
+
network = network === VOID ? this.v2y_1 : network;
|
|
799
|
+
version = version === VOID ? this.w2y_1 : version;
|
|
800
|
+
algorithm = algorithm === VOID ? this.x2y_1 : algorithm;
|
|
801
|
+
publicKey = publicKey === VOID ? this.y2y_1 : publicKey;
|
|
802
|
+
height = height === VOID ? this.z2y_1 : height;
|
|
803
|
+
balance = balance === VOID ? this.a2z_1 : balance;
|
|
804
|
+
timestamp = timestamp === VOID ? this.b2z_1 : timestamp;
|
|
805
|
+
previous = previous === VOID ? this.c2z_1 : previous;
|
|
802
806
|
receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
|
|
803
807
|
receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
|
|
804
808
|
amount = amount === VOID ? this.amount : amount;
|
|
805
|
-
return $super === VOID ? this.
|
|
809
|
+
return $super === VOID ? this.m2z(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) : $super.m2z.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
806
810
|
}
|
|
807
811
|
toString() {
|
|
808
|
-
return 'AttoSendBlock(network=' + this.
|
|
812
|
+
return 'AttoSendBlock(network=' + this.v2y_1.toString() + ', version=' + this.w2y_1.toString() + ', algorithm=' + this.x2y_1.toString() + ', publicKey=' + this.y2y_1.toString() + ', height=' + this.z2y_1.toString() + ', balance=' + this.a2z_1.toString() + ', timestamp=' + this.b2z_1.toString() + ', previous=' + this.c2z_1.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
|
|
809
813
|
}
|
|
810
814
|
hashCode() {
|
|
811
|
-
var result = this.
|
|
812
|
-
result = imul(result, 31) + this.
|
|
813
|
-
result = imul(result, 31) + this.
|
|
814
|
-
result = imul(result, 31) + this.
|
|
815
|
-
result = imul(result, 31) + this.
|
|
816
|
-
result = imul(result, 31) + this.
|
|
817
|
-
result = imul(result, 31) + this.
|
|
818
|
-
result = imul(result, 31) + this.
|
|
815
|
+
var result = this.v2y_1.hashCode();
|
|
816
|
+
result = imul(result, 31) + this.w2y_1.hashCode() | 0;
|
|
817
|
+
result = imul(result, 31) + this.x2y_1.hashCode() | 0;
|
|
818
|
+
result = imul(result, 31) + this.y2y_1.hashCode() | 0;
|
|
819
|
+
result = imul(result, 31) + this.z2y_1.hashCode() | 0;
|
|
820
|
+
result = imul(result, 31) + this.a2z_1.hashCode() | 0;
|
|
821
|
+
result = imul(result, 31) + this.b2z_1.hashCode() | 0;
|
|
822
|
+
result = imul(result, 31) + this.c2z_1.hashCode() | 0;
|
|
819
823
|
result = imul(result, 31) + this.receiverAlgorithm.hashCode() | 0;
|
|
820
824
|
result = imul(result, 31) + this.receiverPublicKey.hashCode() | 0;
|
|
821
825
|
result = imul(result, 31) + this.amount.hashCode() | 0;
|
|
@@ -826,21 +830,21 @@ function AttoSendBlock() {
|
|
|
826
830
|
return true;
|
|
827
831
|
if (!(other instanceof AttoSendBlock()))
|
|
828
832
|
return false;
|
|
829
|
-
if (!this.
|
|
833
|
+
if (!this.v2y_1.equals(other.v2y_1))
|
|
830
834
|
return false;
|
|
831
|
-
if (!this.
|
|
835
|
+
if (!this.w2y_1.equals(other.w2y_1))
|
|
832
836
|
return false;
|
|
833
|
-
if (!this.
|
|
837
|
+
if (!this.x2y_1.equals(other.x2y_1))
|
|
834
838
|
return false;
|
|
835
|
-
if (!this.
|
|
839
|
+
if (!this.y2y_1.equals(other.y2y_1))
|
|
836
840
|
return false;
|
|
837
|
-
if (!this.
|
|
841
|
+
if (!this.z2y_1.equals(other.z2y_1))
|
|
838
842
|
return false;
|
|
839
|
-
if (!this.
|
|
843
|
+
if (!this.a2z_1.equals(other.a2z_1))
|
|
840
844
|
return false;
|
|
841
|
-
if (!this.
|
|
845
|
+
if (!this.b2z_1.equals(other.b2z_1))
|
|
842
846
|
return false;
|
|
843
|
-
if (!this.
|
|
847
|
+
if (!this.c2z_1.equals(other.c2z_1))
|
|
844
848
|
return false;
|
|
845
849
|
if (!this.receiverAlgorithm.equals(other.receiverAlgorithm))
|
|
846
850
|
return false;
|
|
@@ -850,30 +854,30 @@ function AttoSendBlock() {
|
|
|
850
854
|
return false;
|
|
851
855
|
return true;
|
|
852
856
|
}
|
|
853
|
-
static
|
|
857
|
+
static g2z(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, address, receiverAddress, serializationConstructorMarker) {
|
|
854
858
|
Companion_getInstance_5();
|
|
855
859
|
if (!(2047 === (2047 & seen0))) {
|
|
856
|
-
throwMissingFieldException(seen0, 2047, $serializer_getInstance().
|
|
860
|
+
throwMissingFieldException(seen0, 2047, $serializer_getInstance().t2y_1);
|
|
857
861
|
}
|
|
858
862
|
var $this = createThis(this);
|
|
859
|
-
$this.
|
|
860
|
-
$this.
|
|
861
|
-
$this.
|
|
862
|
-
$this.
|
|
863
|
-
$this.
|
|
864
|
-
$this.
|
|
865
|
-
$this.
|
|
866
|
-
$this.
|
|
863
|
+
$this.v2y_1 = network;
|
|
864
|
+
$this.w2y_1 = version;
|
|
865
|
+
$this.x2y_1 = algorithm;
|
|
866
|
+
$this.y2y_1 = publicKey;
|
|
867
|
+
$this.z2y_1 = height;
|
|
868
|
+
$this.a2z_1 = balance;
|
|
869
|
+
$this.b2z_1 = timestamp;
|
|
870
|
+
$this.c2z_1 = previous;
|
|
867
871
|
$this.receiverAlgorithm = receiverAlgorithm;
|
|
868
872
|
$this.receiverPublicKey = receiverPublicKey;
|
|
869
873
|
$this.amount = amount;
|
|
870
|
-
$this.
|
|
874
|
+
$this.d2z_1 = AttoBlockType_SEND_getInstance();
|
|
871
875
|
var tmp = $this;
|
|
872
|
-
tmp.
|
|
876
|
+
tmp.e2z_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s($this));
|
|
873
877
|
if (0 === (seen0 & 2048))
|
|
874
|
-
$this.
|
|
878
|
+
$this.f2z_1 = new (AttoAddress())($this.x2y_1, $this.y2y_1);
|
|
875
879
|
else
|
|
876
|
-
$this.
|
|
880
|
+
$this.f2z_1 = address;
|
|
877
881
|
if (0 === (seen0 & 4096))
|
|
878
882
|
$this.receiverAddress = new (AttoAddress())($this.receiverAlgorithm, $this.receiverPublicKey);
|
|
879
883
|
else
|
|
@@ -881,40 +885,41 @@ function AttoSendBlock() {
|
|
|
881
885
|
return $this;
|
|
882
886
|
}
|
|
883
887
|
get network() {
|
|
884
|
-
return this.
|
|
888
|
+
return this.y2u();
|
|
885
889
|
}
|
|
886
890
|
get version() {
|
|
887
|
-
return this.
|
|
891
|
+
return this.z2u();
|
|
888
892
|
}
|
|
889
893
|
get algorithm() {
|
|
890
|
-
return this.
|
|
894
|
+
return this.a2v();
|
|
891
895
|
}
|
|
892
896
|
get publicKey() {
|
|
893
|
-
return this.
|
|
897
|
+
return this.x2u();
|
|
894
898
|
}
|
|
895
899
|
get height() {
|
|
896
|
-
return this.
|
|
900
|
+
return this.b2v();
|
|
897
901
|
}
|
|
898
902
|
get balance() {
|
|
899
|
-
return this.
|
|
903
|
+
return this.c2v();
|
|
900
904
|
}
|
|
901
905
|
get timestamp() {
|
|
902
|
-
return this.
|
|
906
|
+
return this.k2w();
|
|
903
907
|
}
|
|
904
908
|
get previous() {
|
|
905
|
-
return this.
|
|
909
|
+
return this.q2y();
|
|
906
910
|
}
|
|
907
911
|
get type() {
|
|
908
|
-
return this.
|
|
912
|
+
return this.l2y();
|
|
909
913
|
}
|
|
910
914
|
get hash() {
|
|
911
|
-
return this.
|
|
915
|
+
return this.f2w();
|
|
912
916
|
}
|
|
913
917
|
get address() {
|
|
914
|
-
return this.
|
|
918
|
+
return this.h2v();
|
|
915
919
|
}
|
|
916
920
|
}
|
|
917
921
|
protoOf($).isValid = isValid;
|
|
922
|
+
protoOf($).toByteArray = toByteArray;
|
|
918
923
|
initMetadataForClass($, 'AttoSendBlock', VOID, VOID, [AttoBlock(), PreviousSupport()], VOID, VOID, {0: $serializer_getInstance});
|
|
919
924
|
AttoSendBlockClass = $;
|
|
920
925
|
}
|
|
@@ -924,10 +929,10 @@ function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u() {
|
|
|
924
929
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
925
930
|
}
|
|
926
931
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_0() {
|
|
927
|
-
return Companion_getInstance_2().
|
|
932
|
+
return Companion_getInstance_2().x2t();
|
|
928
933
|
}
|
|
929
934
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1() {
|
|
930
|
-
return Companion_getInstance_2().
|
|
935
|
+
return Companion_getInstance_2().x2t();
|
|
931
936
|
}
|
|
932
937
|
var CompanionClass_2;
|
|
933
938
|
function Companion_2() {
|
|
@@ -944,10 +949,10 @@ function Companion_2() {
|
|
|
944
949
|
// Inline function 'kotlin.arrayOf' call
|
|
945
950
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
946
951
|
// Inline function 'kotlin.js.asDynamic' call
|
|
947
|
-
tmp.
|
|
952
|
+
tmp.i2y_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1), null, null];
|
|
948
953
|
}
|
|
949
|
-
|
|
950
|
-
if (fromInt(AttoBlockType_RECEIVE_getInstance().
|
|
954
|
+
h2y(serializedBlock) {
|
|
955
|
+
if (fromInt(AttoBlockType_RECEIVE_getInstance().d2y_1) > serializedBlock.u2()) {
|
|
951
956
|
return null;
|
|
952
957
|
}
|
|
953
958
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -956,7 +961,7 @@ function Companion_2() {
|
|
|
956
961
|
}
|
|
957
962
|
return new (AttoReceiveBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock));
|
|
958
963
|
}
|
|
959
|
-
|
|
964
|
+
x2t() {
|
|
960
965
|
return $serializer_getInstance_0();
|
|
961
966
|
}
|
|
962
967
|
}
|
|
@@ -978,41 +983,41 @@ function $serializer_0() {
|
|
|
978
983
|
constructor() {
|
|
979
984
|
$serializer_instance_0 = this;
|
|
980
985
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('RECEIVE', this, 11);
|
|
981
|
-
tmp0_serialDesc.
|
|
982
|
-
tmp0_serialDesc.
|
|
983
|
-
tmp0_serialDesc.
|
|
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
|
-
this.
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
var tmp0_desc = this.
|
|
996
|
-
var tmp1_output = encoder.
|
|
997
|
-
var tmp2_cached = Companion_getInstance_6().
|
|
998
|
-
tmp1_output.
|
|
999
|
-
tmp1_output.
|
|
1000
|
-
tmp1_output.
|
|
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
|
-
}
|
|
1011
|
-
|
|
1012
|
-
return this.
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
var tmp0_desc = this.
|
|
986
|
+
tmp0_serialDesc.q16('network', false);
|
|
987
|
+
tmp0_serialDesc.q16('version', false);
|
|
988
|
+
tmp0_serialDesc.q16('algorithm', false);
|
|
989
|
+
tmp0_serialDesc.q16('publicKey', false);
|
|
990
|
+
tmp0_serialDesc.q16('height', false);
|
|
991
|
+
tmp0_serialDesc.q16('balance', false);
|
|
992
|
+
tmp0_serialDesc.q16('timestamp', false);
|
|
993
|
+
tmp0_serialDesc.q16('previous', false);
|
|
994
|
+
tmp0_serialDesc.q16('sendHashAlgorithm', false);
|
|
995
|
+
tmp0_serialDesc.q16('sendHash', false);
|
|
996
|
+
tmp0_serialDesc.q16('address', true);
|
|
997
|
+
this.n2z_1 = tmp0_serialDesc;
|
|
998
|
+
}
|
|
999
|
+
o2z(encoder, value) {
|
|
1000
|
+
var tmp0_desc = this.n2z_1;
|
|
1001
|
+
var tmp1_output = encoder.cz(tmp0_desc);
|
|
1002
|
+
var tmp2_cached = Companion_getInstance_6().i2y_1;
|
|
1003
|
+
tmp1_output.t10(tmp0_desc, 0, tmp2_cached[0].g3(), value.p2z_1);
|
|
1004
|
+
tmp1_output.t10(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.q2z_1);
|
|
1005
|
+
tmp1_output.t10(tmp0_desc, 2, tmp2_cached[2].g3(), value.r2z_1);
|
|
1006
|
+
tmp1_output.t10(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.s2z_1);
|
|
1007
|
+
tmp1_output.t10(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.t2z_1);
|
|
1008
|
+
tmp1_output.t10(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.u2z_1);
|
|
1009
|
+
tmp1_output.t10(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.v2z_1);
|
|
1010
|
+
tmp1_output.t10(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.w2z_1);
|
|
1011
|
+
tmp1_output.t10(tmp0_desc, 8, tmp2_cached[8].g3(), value.x2z_1);
|
|
1012
|
+
tmp1_output.t10(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), value.y2z_1);
|
|
1013
|
+
tmp1_output.t10(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.b30_1);
|
|
1014
|
+
tmp1_output.dz(tmp0_desc);
|
|
1015
|
+
}
|
|
1016
|
+
ou(encoder, value) {
|
|
1017
|
+
return this.o2z(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
|
|
1018
|
+
}
|
|
1019
|
+
pu(decoder) {
|
|
1020
|
+
var tmp0_desc = this.n2z_1;
|
|
1016
1021
|
var tmp1_flag = true;
|
|
1017
1022
|
var tmp2_index = 0;
|
|
1018
1023
|
var tmp3_bitMask0 = 0;
|
|
@@ -1027,101 +1032,101 @@ function $serializer_0() {
|
|
|
1027
1032
|
var tmp12_local8 = null;
|
|
1028
1033
|
var tmp13_local9 = null;
|
|
1029
1034
|
var tmp14_local10 = null;
|
|
1030
|
-
var tmp17_input = decoder.
|
|
1031
|
-
var tmp18_cached = Companion_getInstance_6().
|
|
1032
|
-
if (tmp17_input.
|
|
1033
|
-
tmp4_local0 = tmp17_input.
|
|
1035
|
+
var tmp17_input = decoder.cz(tmp0_desc);
|
|
1036
|
+
var tmp18_cached = Companion_getInstance_6().i2y_1;
|
|
1037
|
+
if (tmp17_input.rz()) {
|
|
1038
|
+
tmp4_local0 = tmp17_input.oz(tmp0_desc, 0, tmp18_cached[0].g3(), tmp4_local0);
|
|
1034
1039
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1035
|
-
tmp5_local1 = tmp17_input.
|
|
1040
|
+
tmp5_local1 = tmp17_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1036
1041
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1037
|
-
tmp6_local2 = tmp17_input.
|
|
1042
|
+
tmp6_local2 = tmp17_input.oz(tmp0_desc, 2, tmp18_cached[2].g3(), tmp6_local2);
|
|
1038
1043
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1039
|
-
tmp7_local3 = tmp17_input.
|
|
1044
|
+
tmp7_local3 = tmp17_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1040
1045
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1041
|
-
tmp8_local4 = tmp17_input.
|
|
1046
|
+
tmp8_local4 = tmp17_input.oz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1042
1047
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1043
|
-
tmp9_local5 = tmp17_input.
|
|
1048
|
+
tmp9_local5 = tmp17_input.oz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1044
1049
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1045
|
-
tmp10_local6 = tmp17_input.
|
|
1050
|
+
tmp10_local6 = tmp17_input.oz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1046
1051
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1047
|
-
tmp11_local7 = tmp17_input.
|
|
1052
|
+
tmp11_local7 = tmp17_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1048
1053
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1049
|
-
tmp12_local8 = tmp17_input.
|
|
1054
|
+
tmp12_local8 = tmp17_input.oz(tmp0_desc, 8, tmp18_cached[8].g3(), tmp12_local8);
|
|
1050
1055
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1051
|
-
tmp13_local9 = tmp17_input.
|
|
1056
|
+
tmp13_local9 = tmp17_input.oz(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1052
1057
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1053
|
-
tmp14_local10 = tmp17_input.
|
|
1058
|
+
tmp14_local10 = tmp17_input.oz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1054
1059
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1055
1060
|
} else
|
|
1056
1061
|
while (tmp1_flag) {
|
|
1057
|
-
tmp2_index = tmp17_input.
|
|
1062
|
+
tmp2_index = tmp17_input.sz(tmp0_desc);
|
|
1058
1063
|
switch (tmp2_index) {
|
|
1059
1064
|
case -1:
|
|
1060
1065
|
tmp1_flag = false;
|
|
1061
1066
|
break;
|
|
1062
1067
|
case 0:
|
|
1063
|
-
tmp4_local0 = tmp17_input.
|
|
1068
|
+
tmp4_local0 = tmp17_input.oz(tmp0_desc, 0, tmp18_cached[0].g3(), tmp4_local0);
|
|
1064
1069
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1065
1070
|
break;
|
|
1066
1071
|
case 1:
|
|
1067
|
-
tmp5_local1 = tmp17_input.
|
|
1072
|
+
tmp5_local1 = tmp17_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1068
1073
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1069
1074
|
break;
|
|
1070
1075
|
case 2:
|
|
1071
|
-
tmp6_local2 = tmp17_input.
|
|
1076
|
+
tmp6_local2 = tmp17_input.oz(tmp0_desc, 2, tmp18_cached[2].g3(), tmp6_local2);
|
|
1072
1077
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1073
1078
|
break;
|
|
1074
1079
|
case 3:
|
|
1075
|
-
tmp7_local3 = tmp17_input.
|
|
1080
|
+
tmp7_local3 = tmp17_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1076
1081
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1077
1082
|
break;
|
|
1078
1083
|
case 4:
|
|
1079
|
-
tmp8_local4 = tmp17_input.
|
|
1084
|
+
tmp8_local4 = tmp17_input.oz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1080
1085
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1081
1086
|
break;
|
|
1082
1087
|
case 5:
|
|
1083
|
-
tmp9_local5 = tmp17_input.
|
|
1088
|
+
tmp9_local5 = tmp17_input.oz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1084
1089
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1085
1090
|
break;
|
|
1086
1091
|
case 6:
|
|
1087
|
-
tmp10_local6 = tmp17_input.
|
|
1092
|
+
tmp10_local6 = tmp17_input.oz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1088
1093
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1089
1094
|
break;
|
|
1090
1095
|
case 7:
|
|
1091
|
-
tmp11_local7 = tmp17_input.
|
|
1096
|
+
tmp11_local7 = tmp17_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1092
1097
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1093
1098
|
break;
|
|
1094
1099
|
case 8:
|
|
1095
|
-
tmp12_local8 = tmp17_input.
|
|
1100
|
+
tmp12_local8 = tmp17_input.oz(tmp0_desc, 8, tmp18_cached[8].g3(), tmp12_local8);
|
|
1096
1101
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1097
1102
|
break;
|
|
1098
1103
|
case 9:
|
|
1099
|
-
tmp13_local9 = tmp17_input.
|
|
1104
|
+
tmp13_local9 = tmp17_input.oz(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1100
1105
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1101
1106
|
break;
|
|
1102
1107
|
case 10:
|
|
1103
|
-
tmp14_local10 = tmp17_input.
|
|
1108
|
+
tmp14_local10 = tmp17_input.oz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1104
1109
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1105
1110
|
break;
|
|
1106
1111
|
default:
|
|
1107
|
-
throw UnknownFieldException().
|
|
1112
|
+
throw UnknownFieldException().jw(tmp2_index);
|
|
1108
1113
|
}
|
|
1109
1114
|
}
|
|
1110
|
-
tmp17_input.
|
|
1111
|
-
return AttoReceiveBlock().
|
|
1115
|
+
tmp17_input.dz(tmp0_desc);
|
|
1116
|
+
return AttoReceiveBlock().c30(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);
|
|
1112
1117
|
}
|
|
1113
|
-
|
|
1114
|
-
return this.
|
|
1118
|
+
nu() {
|
|
1119
|
+
return this.n2z_1;
|
|
1115
1120
|
}
|
|
1116
|
-
|
|
1117
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1121
|
+
f17() {
|
|
1122
|
+
var tmp0_cached = Companion_getInstance_6().i2y_1;
|
|
1118
1123
|
// Inline function 'kotlin.arrayOf' call
|
|
1119
1124
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1120
1125
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1121
1126
|
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()];
|
|
1122
1127
|
}
|
|
1123
1128
|
}
|
|
1124
|
-
protoOf($).
|
|
1129
|
+
protoOf($).g17 = typeParametersSerializers;
|
|
1125
1130
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1126
1131
|
$serializerClass_0 = $;
|
|
1127
1132
|
}
|
|
@@ -1134,13 +1139,13 @@ function $serializer_getInstance_0() {
|
|
|
1134
1139
|
return $serializer_instance_0;
|
|
1135
1140
|
}
|
|
1136
1141
|
function AttoReceiveBlock$hash$delegate$lambda(this$0) {
|
|
1137
|
-
return () => hash(this$0.
|
|
1142
|
+
return () => hash(this$0.v2w());
|
|
1138
1143
|
}
|
|
1139
1144
|
function AttoReceiveBlock$_get_hash_$ref_1uzri0() {
|
|
1140
1145
|
return (p0) => p0.hash;
|
|
1141
1146
|
}
|
|
1142
1147
|
function AttoReceiveBlock$_init_$lambda_4ot8lv(this$0) {
|
|
1143
|
-
return () => hash(this$0.
|
|
1148
|
+
return () => hash(this$0.v2w());
|
|
1144
1149
|
}
|
|
1145
1150
|
var AttoReceiveBlockClass;
|
|
1146
1151
|
function AttoReceiveBlock() {
|
|
@@ -1148,140 +1153,140 @@ function AttoReceiveBlock() {
|
|
|
1148
1153
|
class $ {
|
|
1149
1154
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1150
1155
|
Companion_getInstance_6();
|
|
1151
|
-
this.
|
|
1152
|
-
this.
|
|
1153
|
-
this.
|
|
1154
|
-
this.
|
|
1155
|
-
this.
|
|
1156
|
-
this.
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1159
|
-
this.
|
|
1160
|
-
this.
|
|
1161
|
-
this.
|
|
1156
|
+
this.p2z_1 = network;
|
|
1157
|
+
this.q2z_1 = version;
|
|
1158
|
+
this.r2z_1 = algorithm;
|
|
1159
|
+
this.s2z_1 = publicKey;
|
|
1160
|
+
this.t2z_1 = height;
|
|
1161
|
+
this.u2z_1 = balance;
|
|
1162
|
+
this.v2z_1 = timestamp;
|
|
1163
|
+
this.w2z_1 = previous;
|
|
1164
|
+
this.x2z_1 = sendHashAlgorithm;
|
|
1165
|
+
this.y2z_1 = sendHash;
|
|
1166
|
+
this.z2z_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1162
1167
|
var tmp = this;
|
|
1163
|
-
tmp.
|
|
1164
|
-
this.
|
|
1168
|
+
tmp.a30_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
|
|
1169
|
+
this.b30_1 = new (AttoAddress())(this.r2z_1, this.s2z_1);
|
|
1165
1170
|
}
|
|
1166
|
-
|
|
1167
|
-
return this.
|
|
1171
|
+
y2u() {
|
|
1172
|
+
return this.p2z_1;
|
|
1168
1173
|
}
|
|
1169
|
-
|
|
1170
|
-
return this.
|
|
1174
|
+
z2u() {
|
|
1175
|
+
return this.q2z_1;
|
|
1171
1176
|
}
|
|
1172
|
-
|
|
1173
|
-
return this.
|
|
1177
|
+
a2v() {
|
|
1178
|
+
return this.r2z_1;
|
|
1174
1179
|
}
|
|
1175
|
-
|
|
1176
|
-
return this.
|
|
1180
|
+
x2u() {
|
|
1181
|
+
return this.s2z_1;
|
|
1177
1182
|
}
|
|
1178
|
-
|
|
1179
|
-
return this.
|
|
1183
|
+
b2v() {
|
|
1184
|
+
return this.t2z_1;
|
|
1180
1185
|
}
|
|
1181
|
-
|
|
1182
|
-
return this.
|
|
1186
|
+
c2v() {
|
|
1187
|
+
return this.u2z_1;
|
|
1183
1188
|
}
|
|
1184
|
-
|
|
1185
|
-
return this.
|
|
1189
|
+
k2w() {
|
|
1190
|
+
return this.v2z_1;
|
|
1186
1191
|
}
|
|
1187
|
-
|
|
1188
|
-
return this.
|
|
1192
|
+
q2y() {
|
|
1193
|
+
return this.w2z_1;
|
|
1189
1194
|
}
|
|
1190
|
-
|
|
1191
|
-
return this.
|
|
1195
|
+
r2y() {
|
|
1196
|
+
return this.x2z_1;
|
|
1192
1197
|
}
|
|
1193
|
-
|
|
1194
|
-
return this.
|
|
1198
|
+
s2y() {
|
|
1199
|
+
return this.y2z_1;
|
|
1195
1200
|
}
|
|
1196
|
-
|
|
1197
|
-
return this.
|
|
1201
|
+
l2y() {
|
|
1202
|
+
return this.z2z_1;
|
|
1198
1203
|
}
|
|
1199
|
-
|
|
1200
|
-
var tmp0 = this.
|
|
1204
|
+
f2w() {
|
|
1205
|
+
var tmp0 = this.a30_1;
|
|
1201
1206
|
var tmp = KProperty1();
|
|
1202
1207
|
// Inline function 'kotlin.getValue' call
|
|
1203
1208
|
getPropertyCallableRef('hash', 1, tmp, AttoReceiveBlock$_get_hash_$ref_1uzri0(), null);
|
|
1204
1209
|
return tmp0.g3();
|
|
1205
1210
|
}
|
|
1206
|
-
|
|
1207
|
-
return this.
|
|
1211
|
+
h2v() {
|
|
1212
|
+
return this.b30_1;
|
|
1208
1213
|
}
|
|
1209
|
-
|
|
1214
|
+
v2w() {
|
|
1210
1215
|
// Inline function 'kotlin.apply' call
|
|
1211
1216
|
var this_0 = new (Buffer())();
|
|
1212
|
-
writeAttoBlockType(this_0, this.
|
|
1213
|
-
writeAttoNetwork(this_0, this.
|
|
1214
|
-
writeAttoVersion(this_0, this.
|
|
1215
|
-
writeAttoAlgorithm(this_0, this.
|
|
1216
|
-
writeAttoPublicKey(this_0, this.
|
|
1217
|
-
writeAttoHeight(this_0, this.
|
|
1218
|
-
writeAttoAmount(this_0, this.
|
|
1219
|
-
writeInstant(this_0, this.
|
|
1220
|
-
writeAttoHash(this_0, this.
|
|
1221
|
-
writeAttoAlgorithm(this_0, this.
|
|
1222
|
-
writeAttoHash(this_0, this.
|
|
1217
|
+
writeAttoBlockType(this_0, this.z2z_1);
|
|
1218
|
+
writeAttoNetwork(this_0, this.p2z_1);
|
|
1219
|
+
writeAttoVersion(this_0, this.q2z_1);
|
|
1220
|
+
writeAttoAlgorithm(this_0, this.r2z_1);
|
|
1221
|
+
writeAttoPublicKey(this_0, this.s2z_1);
|
|
1222
|
+
writeAttoHeight(this_0, this.t2z_1);
|
|
1223
|
+
writeAttoAmount(this_0, this.u2z_1);
|
|
1224
|
+
writeInstant(this_0, this.v2z_1);
|
|
1225
|
+
writeAttoHash(this_0, this.w2z_1);
|
|
1226
|
+
writeAttoAlgorithm(this_0, this.x2z_1);
|
|
1227
|
+
writeAttoHash(this_0, this.y2z_1);
|
|
1223
1228
|
return this_0;
|
|
1224
1229
|
}
|
|
1225
|
-
|
|
1226
|
-
return this.
|
|
1227
|
-
}
|
|
1228
|
-
ff() {
|
|
1229
|
-
return this.g2z_1;
|
|
1230
|
-
}
|
|
1231
|
-
n2v() {
|
|
1232
|
-
return this.h2z_1;
|
|
1233
|
-
}
|
|
1234
|
-
o2v() {
|
|
1235
|
-
return this.i2z_1;
|
|
1230
|
+
hf() {
|
|
1231
|
+
return this.p2z_1;
|
|
1236
1232
|
}
|
|
1237
|
-
|
|
1238
|
-
return this.
|
|
1233
|
+
if() {
|
|
1234
|
+
return this.q2z_1;
|
|
1239
1235
|
}
|
|
1240
1236
|
q2v() {
|
|
1241
|
-
return this.
|
|
1237
|
+
return this.r2z_1;
|
|
1242
1238
|
}
|
|
1243
1239
|
r2v() {
|
|
1244
|
-
return this.
|
|
1240
|
+
return this.s2z_1;
|
|
1245
1241
|
}
|
|
1246
1242
|
s2v() {
|
|
1247
|
-
return this.
|
|
1243
|
+
return this.t2z_1;
|
|
1248
1244
|
}
|
|
1249
1245
|
t2v() {
|
|
1250
|
-
return this.
|
|
1246
|
+
return this.u2z_1;
|
|
1251
1247
|
}
|
|
1252
1248
|
u2v() {
|
|
1253
|
-
return this.
|
|
1249
|
+
return this.v2z_1;
|
|
1254
1250
|
}
|
|
1255
|
-
|
|
1251
|
+
v2v() {
|
|
1252
|
+
return this.w2z_1;
|
|
1253
|
+
}
|
|
1254
|
+
w2v() {
|
|
1255
|
+
return this.x2z_1;
|
|
1256
|
+
}
|
|
1257
|
+
x2v() {
|
|
1258
|
+
return this.y2z_1;
|
|
1259
|
+
}
|
|
1260
|
+
d30(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1256
1261
|
return new (AttoReceiveBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1257
1262
|
}
|
|
1258
1263
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, $super) {
|
|
1259
|
-
network = network === VOID ? this.
|
|
1260
|
-
version = version === VOID ? this.
|
|
1261
|
-
algorithm = algorithm === VOID ? this.
|
|
1262
|
-
publicKey = publicKey === VOID ? this.
|
|
1263
|
-
height = height === VOID ? this.
|
|
1264
|
-
balance = balance === VOID ? this.
|
|
1265
|
-
timestamp = timestamp === VOID ? this.
|
|
1266
|
-
previous = previous === VOID ? this.
|
|
1267
|
-
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.
|
|
1268
|
-
sendHash = sendHash === VOID ? this.
|
|
1269
|
-
return $super === VOID ? this.
|
|
1264
|
+
network = network === VOID ? this.p2z_1 : network;
|
|
1265
|
+
version = version === VOID ? this.q2z_1 : version;
|
|
1266
|
+
algorithm = algorithm === VOID ? this.r2z_1 : algorithm;
|
|
1267
|
+
publicKey = publicKey === VOID ? this.s2z_1 : publicKey;
|
|
1268
|
+
height = height === VOID ? this.t2z_1 : height;
|
|
1269
|
+
balance = balance === VOID ? this.u2z_1 : balance;
|
|
1270
|
+
timestamp = timestamp === VOID ? this.v2z_1 : timestamp;
|
|
1271
|
+
previous = previous === VOID ? this.w2z_1 : previous;
|
|
1272
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.x2z_1 : sendHashAlgorithm;
|
|
1273
|
+
sendHash = sendHash === VOID ? this.y2z_1 : sendHash;
|
|
1274
|
+
return $super === VOID ? this.d30(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) : $super.d30.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1270
1275
|
}
|
|
1271
1276
|
toString() {
|
|
1272
|
-
return 'AttoReceiveBlock(network=' + this.
|
|
1277
|
+
return 'AttoReceiveBlock(network=' + this.p2z_1.toString() + ', version=' + this.q2z_1.toString() + ', algorithm=' + this.r2z_1.toString() + ', publicKey=' + this.s2z_1.toString() + ', height=' + this.t2z_1.toString() + ', balance=' + this.u2z_1.toString() + ', timestamp=' + this.v2z_1.toString() + ', previous=' + this.w2z_1.toString() + ', sendHashAlgorithm=' + this.x2z_1.toString() + ', sendHash=' + this.y2z_1.toString() + ')';
|
|
1273
1278
|
}
|
|
1274
1279
|
hashCode() {
|
|
1275
|
-
var result = this.
|
|
1276
|
-
result = imul(result, 31) + this.
|
|
1277
|
-
result = imul(result, 31) + this.
|
|
1278
|
-
result = imul(result, 31) + this.
|
|
1279
|
-
result = imul(result, 31) + this.
|
|
1280
|
-
result = imul(result, 31) + this.
|
|
1281
|
-
result = imul(result, 31) + this.
|
|
1282
|
-
result = imul(result, 31) + this.
|
|
1283
|
-
result = imul(result, 31) + this.
|
|
1284
|
-
result = imul(result, 31) + this.
|
|
1280
|
+
var result = this.p2z_1.hashCode();
|
|
1281
|
+
result = imul(result, 31) + this.q2z_1.hashCode() | 0;
|
|
1282
|
+
result = imul(result, 31) + this.r2z_1.hashCode() | 0;
|
|
1283
|
+
result = imul(result, 31) + this.s2z_1.hashCode() | 0;
|
|
1284
|
+
result = imul(result, 31) + this.t2z_1.hashCode() | 0;
|
|
1285
|
+
result = imul(result, 31) + this.u2z_1.hashCode() | 0;
|
|
1286
|
+
result = imul(result, 31) + this.v2z_1.hashCode() | 0;
|
|
1287
|
+
result = imul(result, 31) + this.w2z_1.hashCode() | 0;
|
|
1288
|
+
result = imul(result, 31) + this.x2z_1.hashCode() | 0;
|
|
1289
|
+
result = imul(result, 31) + this.y2z_1.hashCode() | 0;
|
|
1285
1290
|
return result;
|
|
1286
1291
|
}
|
|
1287
1292
|
equals(other) {
|
|
@@ -1289,95 +1294,96 @@ function AttoReceiveBlock() {
|
|
|
1289
1294
|
return true;
|
|
1290
1295
|
if (!(other instanceof AttoReceiveBlock()))
|
|
1291
1296
|
return false;
|
|
1292
|
-
if (!this.
|
|
1297
|
+
if (!this.p2z_1.equals(other.p2z_1))
|
|
1293
1298
|
return false;
|
|
1294
|
-
if (!this.
|
|
1299
|
+
if (!this.q2z_1.equals(other.q2z_1))
|
|
1295
1300
|
return false;
|
|
1296
|
-
if (!this.
|
|
1301
|
+
if (!this.r2z_1.equals(other.r2z_1))
|
|
1297
1302
|
return false;
|
|
1298
|
-
if (!this.
|
|
1303
|
+
if (!this.s2z_1.equals(other.s2z_1))
|
|
1299
1304
|
return false;
|
|
1300
|
-
if (!this.
|
|
1305
|
+
if (!this.t2z_1.equals(other.t2z_1))
|
|
1301
1306
|
return false;
|
|
1302
|
-
if (!this.
|
|
1307
|
+
if (!this.u2z_1.equals(other.u2z_1))
|
|
1303
1308
|
return false;
|
|
1304
|
-
if (!this.
|
|
1309
|
+
if (!this.v2z_1.equals(other.v2z_1))
|
|
1305
1310
|
return false;
|
|
1306
|
-
if (!this.
|
|
1311
|
+
if (!this.w2z_1.equals(other.w2z_1))
|
|
1307
1312
|
return false;
|
|
1308
|
-
if (!this.
|
|
1313
|
+
if (!this.x2z_1.equals(other.x2z_1))
|
|
1309
1314
|
return false;
|
|
1310
|
-
if (!this.
|
|
1315
|
+
if (!this.y2z_1.equals(other.y2z_1))
|
|
1311
1316
|
return false;
|
|
1312
1317
|
return true;
|
|
1313
1318
|
}
|
|
1314
|
-
static
|
|
1319
|
+
static c30(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, address, serializationConstructorMarker) {
|
|
1315
1320
|
Companion_getInstance_6();
|
|
1316
1321
|
if (!(1023 === (1023 & seen0))) {
|
|
1317
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().
|
|
1322
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().n2z_1);
|
|
1318
1323
|
}
|
|
1319
1324
|
var $this = createThis(this);
|
|
1320
|
-
$this.
|
|
1321
|
-
$this.
|
|
1322
|
-
$this.
|
|
1323
|
-
$this.
|
|
1324
|
-
$this.
|
|
1325
|
-
$this.
|
|
1326
|
-
$this.
|
|
1327
|
-
$this.
|
|
1328
|
-
$this.
|
|
1329
|
-
$this.
|
|
1330
|
-
$this.
|
|
1325
|
+
$this.p2z_1 = network;
|
|
1326
|
+
$this.q2z_1 = version;
|
|
1327
|
+
$this.r2z_1 = algorithm;
|
|
1328
|
+
$this.s2z_1 = publicKey;
|
|
1329
|
+
$this.t2z_1 = height;
|
|
1330
|
+
$this.u2z_1 = balance;
|
|
1331
|
+
$this.v2z_1 = timestamp;
|
|
1332
|
+
$this.w2z_1 = previous;
|
|
1333
|
+
$this.x2z_1 = sendHashAlgorithm;
|
|
1334
|
+
$this.y2z_1 = sendHash;
|
|
1335
|
+
$this.z2z_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1331
1336
|
var tmp = $this;
|
|
1332
|
-
tmp.
|
|
1337
|
+
tmp.a30_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv($this));
|
|
1333
1338
|
if (0 === (seen0 & 1024))
|
|
1334
|
-
$this.
|
|
1339
|
+
$this.b30_1 = new (AttoAddress())($this.r2z_1, $this.s2z_1);
|
|
1335
1340
|
else
|
|
1336
|
-
$this.
|
|
1341
|
+
$this.b30_1 = address;
|
|
1337
1342
|
return $this;
|
|
1338
1343
|
}
|
|
1339
1344
|
get network() {
|
|
1340
|
-
return this.
|
|
1345
|
+
return this.y2u();
|
|
1341
1346
|
}
|
|
1342
1347
|
get version() {
|
|
1343
|
-
return this.
|
|
1348
|
+
return this.z2u();
|
|
1344
1349
|
}
|
|
1345
1350
|
get algorithm() {
|
|
1346
|
-
return this.
|
|
1351
|
+
return this.a2v();
|
|
1347
1352
|
}
|
|
1348
1353
|
get publicKey() {
|
|
1349
|
-
return this.
|
|
1354
|
+
return this.x2u();
|
|
1350
1355
|
}
|
|
1351
1356
|
get height() {
|
|
1352
|
-
return this.
|
|
1357
|
+
return this.b2v();
|
|
1353
1358
|
}
|
|
1354
1359
|
get balance() {
|
|
1355
|
-
return this.
|
|
1360
|
+
return this.c2v();
|
|
1356
1361
|
}
|
|
1357
1362
|
get timestamp() {
|
|
1358
|
-
return this.
|
|
1363
|
+
return this.k2w();
|
|
1359
1364
|
}
|
|
1360
1365
|
get previous() {
|
|
1361
|
-
return this.
|
|
1366
|
+
return this.q2y();
|
|
1362
1367
|
}
|
|
1363
1368
|
get sendHashAlgorithm() {
|
|
1364
|
-
return this.
|
|
1369
|
+
return this.r2y();
|
|
1365
1370
|
}
|
|
1366
1371
|
get sendHash() {
|
|
1367
|
-
return this.
|
|
1372
|
+
return this.s2y();
|
|
1368
1373
|
}
|
|
1369
1374
|
get type() {
|
|
1370
|
-
return this.
|
|
1375
|
+
return this.l2y();
|
|
1371
1376
|
}
|
|
1372
1377
|
get hash() {
|
|
1373
|
-
return this.
|
|
1378
|
+
return this.f2w();
|
|
1374
1379
|
}
|
|
1375
1380
|
get address() {
|
|
1376
|
-
return this.
|
|
1381
|
+
return this.h2v();
|
|
1377
1382
|
}
|
|
1378
1383
|
}
|
|
1379
1384
|
protoOf($).validate = validate;
|
|
1380
1385
|
protoOf($).isValid = isValid;
|
|
1386
|
+
protoOf($).toByteArray = toByteArray;
|
|
1381
1387
|
initMetadataForClass($, 'AttoReceiveBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), ReceiveSupport()], VOID, VOID, {0: $serializer_getInstance_0});
|
|
1382
1388
|
AttoReceiveBlockClass = $;
|
|
1383
1389
|
}
|
|
@@ -1387,13 +1393,13 @@ function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3() {
|
|
|
1387
1393
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1388
1394
|
}
|
|
1389
1395
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_0() {
|
|
1390
|
-
return Companion_getInstance_2().
|
|
1396
|
+
return Companion_getInstance_2().x2t();
|
|
1391
1397
|
}
|
|
1392
1398
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_1() {
|
|
1393
|
-
return Companion_getInstance_2().
|
|
1399
|
+
return Companion_getInstance_2().x2t();
|
|
1394
1400
|
}
|
|
1395
1401
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2() {
|
|
1396
|
-
return Companion_getInstance_2().
|
|
1402
|
+
return Companion_getInstance_2().x2t();
|
|
1397
1403
|
}
|
|
1398
1404
|
var CompanionClass_3;
|
|
1399
1405
|
function Companion_3() {
|
|
@@ -1412,10 +1418,10 @@ function Companion_3() {
|
|
|
1412
1418
|
// Inline function 'kotlin.arrayOf' call
|
|
1413
1419
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1414
1420
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1415
|
-
tmp.
|
|
1421
|
+
tmp.j2y_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];
|
|
1416
1422
|
}
|
|
1417
|
-
|
|
1418
|
-
if (fromInt(AttoBlockType_OPEN_getInstance().
|
|
1423
|
+
h2y(serializedBlock) {
|
|
1424
|
+
if (fromInt(AttoBlockType_OPEN_getInstance().d2y_1) > serializedBlock.u2()) {
|
|
1419
1425
|
return null;
|
|
1420
1426
|
}
|
|
1421
1427
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -1424,7 +1430,7 @@ function Companion_3() {
|
|
|
1424
1430
|
}
|
|
1425
1431
|
return new (AttoOpenBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1426
1432
|
}
|
|
1427
|
-
|
|
1433
|
+
x2t() {
|
|
1428
1434
|
return $serializer_getInstance_1();
|
|
1429
1435
|
}
|
|
1430
1436
|
}
|
|
@@ -1446,45 +1452,45 @@ function $serializer_1() {
|
|
|
1446
1452
|
constructor() {
|
|
1447
1453
|
$serializer_instance_1 = this;
|
|
1448
1454
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('OPEN', this, 13);
|
|
1449
|
-
tmp0_serialDesc.
|
|
1450
|
-
tmp0_serialDesc.
|
|
1451
|
-
tmp0_serialDesc.
|
|
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
|
-
this.
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
var tmp0_desc = this.
|
|
1466
|
-
var tmp1_output = encoder.
|
|
1467
|
-
var tmp2_cached = Companion_getInstance_7().
|
|
1468
|
-
tmp1_output.
|
|
1469
|
-
tmp1_output.
|
|
1470
|
-
tmp1_output.
|
|
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
|
-
}
|
|
1483
|
-
|
|
1484
|
-
return this.
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
var tmp0_desc = this.
|
|
1455
|
+
tmp0_serialDesc.q16('network', false);
|
|
1456
|
+
tmp0_serialDesc.q16('version', false);
|
|
1457
|
+
tmp0_serialDesc.q16('algorithm', false);
|
|
1458
|
+
tmp0_serialDesc.q16('publicKey', false);
|
|
1459
|
+
tmp0_serialDesc.q16('balance', false);
|
|
1460
|
+
tmp0_serialDesc.q16('timestamp', false);
|
|
1461
|
+
tmp0_serialDesc.q16('sendHashAlgorithm', false);
|
|
1462
|
+
tmp0_serialDesc.q16('sendHash', false);
|
|
1463
|
+
tmp0_serialDesc.q16('representativeAlgorithm', false);
|
|
1464
|
+
tmp0_serialDesc.q16('representativePublicKey', false);
|
|
1465
|
+
tmp0_serialDesc.q16('height', true);
|
|
1466
|
+
tmp0_serialDesc.q16('address', true);
|
|
1467
|
+
tmp0_serialDesc.q16('representativeAddress', true);
|
|
1468
|
+
this.e30_1 = tmp0_serialDesc;
|
|
1469
|
+
}
|
|
1470
|
+
f30(encoder, value) {
|
|
1471
|
+
var tmp0_desc = this.e30_1;
|
|
1472
|
+
var tmp1_output = encoder.cz(tmp0_desc);
|
|
1473
|
+
var tmp2_cached = Companion_getInstance_7().j2y_1;
|
|
1474
|
+
tmp1_output.t10(tmp0_desc, 0, tmp2_cached[0].g3(), value.c2u_1);
|
|
1475
|
+
tmp1_output.t10(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.d2u_1);
|
|
1476
|
+
tmp1_output.t10(tmp0_desc, 2, tmp2_cached[2].g3(), value.e2u_1);
|
|
1477
|
+
tmp1_output.t10(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.f2u_1);
|
|
1478
|
+
tmp1_output.t10(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), value.g2u_1);
|
|
1479
|
+
tmp1_output.t10(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.h2u_1);
|
|
1480
|
+
tmp1_output.t10(tmp0_desc, 6, tmp2_cached[6].g3(), value.i2u_1);
|
|
1481
|
+
tmp1_output.t10(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.j2u_1);
|
|
1482
|
+
tmp1_output.t10(tmp0_desc, 8, tmp2_cached[8].g3(), value.k2u_1);
|
|
1483
|
+
tmp1_output.t10(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.l2u_1);
|
|
1484
|
+
tmp1_output.t10(tmp0_desc, 10, AttoHeightSerializer_getInstance(), value.o2u_1);
|
|
1485
|
+
tmp1_output.t10(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.p2u_1);
|
|
1486
|
+
tmp1_output.t10(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1487
|
+
tmp1_output.dz(tmp0_desc);
|
|
1488
|
+
}
|
|
1489
|
+
ou(encoder, value) {
|
|
1490
|
+
return this.f30(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
|
|
1491
|
+
}
|
|
1492
|
+
pu(decoder) {
|
|
1493
|
+
var tmp0_desc = this.e30_1;
|
|
1488
1494
|
var tmp1_flag = true;
|
|
1489
1495
|
var tmp2_index = 0;
|
|
1490
1496
|
var tmp3_bitMask0 = 0;
|
|
@@ -1501,113 +1507,113 @@ function $serializer_1() {
|
|
|
1501
1507
|
var tmp14_local10 = null;
|
|
1502
1508
|
var tmp15_local11 = null;
|
|
1503
1509
|
var tmp16_local12 = null;
|
|
1504
|
-
var tmp19_input = decoder.
|
|
1505
|
-
var tmp20_cached = Companion_getInstance_7().
|
|
1506
|
-
if (tmp19_input.
|
|
1507
|
-
tmp4_local0 = tmp19_input.
|
|
1510
|
+
var tmp19_input = decoder.cz(tmp0_desc);
|
|
1511
|
+
var tmp20_cached = Companion_getInstance_7().j2y_1;
|
|
1512
|
+
if (tmp19_input.rz()) {
|
|
1513
|
+
tmp4_local0 = tmp19_input.oz(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
1508
1514
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1509
|
-
tmp5_local1 = tmp19_input.
|
|
1515
|
+
tmp5_local1 = tmp19_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1510
1516
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1511
|
-
tmp6_local2 = tmp19_input.
|
|
1517
|
+
tmp6_local2 = tmp19_input.oz(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
1512
1518
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1513
|
-
tmp7_local3 = tmp19_input.
|
|
1519
|
+
tmp7_local3 = tmp19_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1514
1520
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1515
|
-
tmp8_local4 = tmp19_input.
|
|
1521
|
+
tmp8_local4 = tmp19_input.oz(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1516
1522
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1517
|
-
tmp9_local5 = tmp19_input.
|
|
1523
|
+
tmp9_local5 = tmp19_input.oz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1518
1524
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1519
|
-
tmp10_local6 = tmp19_input.
|
|
1525
|
+
tmp10_local6 = tmp19_input.oz(tmp0_desc, 6, tmp20_cached[6].g3(), tmp10_local6);
|
|
1520
1526
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1521
|
-
tmp11_local7 = tmp19_input.
|
|
1527
|
+
tmp11_local7 = tmp19_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1522
1528
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1523
|
-
tmp12_local8 = tmp19_input.
|
|
1529
|
+
tmp12_local8 = tmp19_input.oz(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
1524
1530
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1525
|
-
tmp13_local9 = tmp19_input.
|
|
1531
|
+
tmp13_local9 = tmp19_input.oz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1526
1532
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1527
|
-
tmp14_local10 = tmp19_input.
|
|
1533
|
+
tmp14_local10 = tmp19_input.oz(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1528
1534
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1529
|
-
tmp15_local11 = tmp19_input.
|
|
1535
|
+
tmp15_local11 = tmp19_input.oz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1530
1536
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1531
|
-
tmp16_local12 = tmp19_input.
|
|
1537
|
+
tmp16_local12 = tmp19_input.oz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1532
1538
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1533
1539
|
} else
|
|
1534
1540
|
while (tmp1_flag) {
|
|
1535
|
-
tmp2_index = tmp19_input.
|
|
1541
|
+
tmp2_index = tmp19_input.sz(tmp0_desc);
|
|
1536
1542
|
switch (tmp2_index) {
|
|
1537
1543
|
case -1:
|
|
1538
1544
|
tmp1_flag = false;
|
|
1539
1545
|
break;
|
|
1540
1546
|
case 0:
|
|
1541
|
-
tmp4_local0 = tmp19_input.
|
|
1547
|
+
tmp4_local0 = tmp19_input.oz(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
1542
1548
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1543
1549
|
break;
|
|
1544
1550
|
case 1:
|
|
1545
|
-
tmp5_local1 = tmp19_input.
|
|
1551
|
+
tmp5_local1 = tmp19_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1546
1552
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1547
1553
|
break;
|
|
1548
1554
|
case 2:
|
|
1549
|
-
tmp6_local2 = tmp19_input.
|
|
1555
|
+
tmp6_local2 = tmp19_input.oz(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
1550
1556
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1551
1557
|
break;
|
|
1552
1558
|
case 3:
|
|
1553
|
-
tmp7_local3 = tmp19_input.
|
|
1559
|
+
tmp7_local3 = tmp19_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1554
1560
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1555
1561
|
break;
|
|
1556
1562
|
case 4:
|
|
1557
|
-
tmp8_local4 = tmp19_input.
|
|
1563
|
+
tmp8_local4 = tmp19_input.oz(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1558
1564
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1559
1565
|
break;
|
|
1560
1566
|
case 5:
|
|
1561
|
-
tmp9_local5 = tmp19_input.
|
|
1567
|
+
tmp9_local5 = tmp19_input.oz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1562
1568
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1563
1569
|
break;
|
|
1564
1570
|
case 6:
|
|
1565
|
-
tmp10_local6 = tmp19_input.
|
|
1571
|
+
tmp10_local6 = tmp19_input.oz(tmp0_desc, 6, tmp20_cached[6].g3(), tmp10_local6);
|
|
1566
1572
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1567
1573
|
break;
|
|
1568
1574
|
case 7:
|
|
1569
|
-
tmp11_local7 = tmp19_input.
|
|
1575
|
+
tmp11_local7 = tmp19_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1570
1576
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1571
1577
|
break;
|
|
1572
1578
|
case 8:
|
|
1573
|
-
tmp12_local8 = tmp19_input.
|
|
1579
|
+
tmp12_local8 = tmp19_input.oz(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
1574
1580
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1575
1581
|
break;
|
|
1576
1582
|
case 9:
|
|
1577
|
-
tmp13_local9 = tmp19_input.
|
|
1583
|
+
tmp13_local9 = tmp19_input.oz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1578
1584
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1579
1585
|
break;
|
|
1580
1586
|
case 10:
|
|
1581
|
-
tmp14_local10 = tmp19_input.
|
|
1587
|
+
tmp14_local10 = tmp19_input.oz(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1582
1588
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1583
1589
|
break;
|
|
1584
1590
|
case 11:
|
|
1585
|
-
tmp15_local11 = tmp19_input.
|
|
1591
|
+
tmp15_local11 = tmp19_input.oz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1586
1592
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1587
1593
|
break;
|
|
1588
1594
|
case 12:
|
|
1589
|
-
tmp16_local12 = tmp19_input.
|
|
1595
|
+
tmp16_local12 = tmp19_input.oz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1590
1596
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1591
1597
|
break;
|
|
1592
1598
|
default:
|
|
1593
|
-
throw UnknownFieldException().
|
|
1599
|
+
throw UnknownFieldException().jw(tmp2_index);
|
|
1594
1600
|
}
|
|
1595
1601
|
}
|
|
1596
|
-
tmp19_input.
|
|
1597
|
-
return AttoOpenBlock().
|
|
1602
|
+
tmp19_input.dz(tmp0_desc);
|
|
1603
|
+
return AttoOpenBlock().g30(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);
|
|
1598
1604
|
}
|
|
1599
|
-
|
|
1600
|
-
return this.
|
|
1605
|
+
nu() {
|
|
1606
|
+
return this.e30_1;
|
|
1601
1607
|
}
|
|
1602
|
-
|
|
1603
|
-
var tmp0_cached = Companion_getInstance_7().
|
|
1608
|
+
f17() {
|
|
1609
|
+
var tmp0_cached = Companion_getInstance_7().j2y_1;
|
|
1604
1610
|
// Inline function 'kotlin.arrayOf' call
|
|
1605
1611
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1606
1612
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1607
1613
|
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()];
|
|
1608
1614
|
}
|
|
1609
1615
|
}
|
|
1610
|
-
protoOf($).
|
|
1616
|
+
protoOf($).g17 = typeParametersSerializers;
|
|
1611
1617
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1612
1618
|
$serializerClass_1 = $;
|
|
1613
1619
|
}
|
|
@@ -1620,13 +1626,13 @@ function $serializer_getInstance_1() {
|
|
|
1620
1626
|
return $serializer_instance_1;
|
|
1621
1627
|
}
|
|
1622
1628
|
function AttoOpenBlock$hash$delegate$lambda(this$0) {
|
|
1623
|
-
return () => hash(this$0.
|
|
1629
|
+
return () => hash(this$0.v2w());
|
|
1624
1630
|
}
|
|
1625
1631
|
function AttoOpenBlock$_get_hash_$ref_fk78xn() {
|
|
1626
1632
|
return (p0) => p0.hash;
|
|
1627
1633
|
}
|
|
1628
1634
|
function AttoOpenBlock$_init_$lambda_2mk62y(this$0) {
|
|
1629
|
-
return () => hash(this$0.
|
|
1635
|
+
return () => hash(this$0.v2w());
|
|
1630
1636
|
}
|
|
1631
1637
|
var AttoOpenBlockClass;
|
|
1632
1638
|
function AttoOpenBlock() {
|
|
@@ -1634,101 +1640,92 @@ function AttoOpenBlock() {
|
|
|
1634
1640
|
class $ {
|
|
1635
1641
|
constructor(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1636
1642
|
Companion_getInstance_7();
|
|
1637
|
-
this.
|
|
1638
|
-
this.
|
|
1639
|
-
this.
|
|
1640
|
-
this.
|
|
1641
|
-
this.
|
|
1642
|
-
this.
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
1643
|
+
this.c2u_1 = network;
|
|
1644
|
+
this.d2u_1 = version;
|
|
1645
|
+
this.e2u_1 = algorithm;
|
|
1646
|
+
this.f2u_1 = publicKey;
|
|
1647
|
+
this.g2u_1 = balance;
|
|
1648
|
+
this.h2u_1 = timestamp;
|
|
1649
|
+
this.i2u_1 = sendHashAlgorithm;
|
|
1650
|
+
this.j2u_1 = sendHash;
|
|
1651
|
+
this.k2u_1 = representativeAlgorithm;
|
|
1652
|
+
this.l2u_1 = representativePublicKey;
|
|
1653
|
+
this.m2u_1 = AttoBlockType_OPEN_getInstance();
|
|
1648
1654
|
var tmp = this;
|
|
1649
|
-
tmp.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.representativeAddress = new (AttoAddress())(this.
|
|
1653
|
-
}
|
|
1654
|
-
v2u() {
|
|
1655
|
-
return this.z2t_1;
|
|
1655
|
+
tmp.n2u_1 = lazy_0(AttoOpenBlock$hash$delegate$lambda(this));
|
|
1656
|
+
this.o2u_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1657
|
+
this.p2u_1 = new (AttoAddress())(this.e2u_1, this.f2u_1);
|
|
1658
|
+
this.representativeAddress = new (AttoAddress())(this.k2u_1, this.l2u_1);
|
|
1656
1659
|
}
|
|
1657
|
-
|
|
1658
|
-
return this.a2u_1;
|
|
1659
|
-
}
|
|
1660
|
-
x2u() {
|
|
1661
|
-
return this.b2u_1;
|
|
1662
|
-
}
|
|
1663
|
-
u2u() {
|
|
1660
|
+
y2u() {
|
|
1664
1661
|
return this.c2u_1;
|
|
1665
1662
|
}
|
|
1666
1663
|
z2u() {
|
|
1667
1664
|
return this.d2u_1;
|
|
1668
1665
|
}
|
|
1669
|
-
|
|
1666
|
+
a2v() {
|
|
1670
1667
|
return this.e2u_1;
|
|
1671
1668
|
}
|
|
1672
|
-
|
|
1669
|
+
x2u() {
|
|
1673
1670
|
return this.f2u_1;
|
|
1674
1671
|
}
|
|
1675
|
-
|
|
1672
|
+
c2v() {
|
|
1676
1673
|
return this.g2u_1;
|
|
1677
1674
|
}
|
|
1678
|
-
|
|
1675
|
+
k2w() {
|
|
1679
1676
|
return this.h2u_1;
|
|
1680
1677
|
}
|
|
1681
|
-
|
|
1678
|
+
r2y() {
|
|
1682
1679
|
return this.i2u_1;
|
|
1683
1680
|
}
|
|
1684
|
-
|
|
1681
|
+
s2y() {
|
|
1685
1682
|
return this.j2u_1;
|
|
1686
1683
|
}
|
|
1687
|
-
|
|
1688
|
-
|
|
1684
|
+
f2v() {
|
|
1685
|
+
return this.k2u_1;
|
|
1686
|
+
}
|
|
1687
|
+
g2v() {
|
|
1688
|
+
return this.l2u_1;
|
|
1689
|
+
}
|
|
1690
|
+
l2y() {
|
|
1691
|
+
return this.m2u_1;
|
|
1692
|
+
}
|
|
1693
|
+
f2w() {
|
|
1694
|
+
var tmp0 = this.n2u_1;
|
|
1689
1695
|
var tmp = KProperty1();
|
|
1690
1696
|
// Inline function 'kotlin.getValue' call
|
|
1691
1697
|
getPropertyCallableRef('hash', 1, tmp, AttoOpenBlock$_get_hash_$ref_fk78xn(), null);
|
|
1692
1698
|
return tmp0.g3();
|
|
1693
1699
|
}
|
|
1694
|
-
|
|
1695
|
-
return this.
|
|
1700
|
+
b2v() {
|
|
1701
|
+
return this.o2u_1;
|
|
1696
1702
|
}
|
|
1697
|
-
|
|
1698
|
-
return this.
|
|
1703
|
+
h2v() {
|
|
1704
|
+
return this.p2u_1;
|
|
1699
1705
|
}
|
|
1700
|
-
|
|
1706
|
+
i2v() {
|
|
1701
1707
|
return this.representativeAddress;
|
|
1702
1708
|
}
|
|
1703
|
-
|
|
1709
|
+
v2w() {
|
|
1704
1710
|
// Inline function 'kotlin.apply' call
|
|
1705
1711
|
var this_0 = new (Buffer())();
|
|
1706
|
-
writeAttoBlockType(this_0, this.
|
|
1707
|
-
writeAttoNetwork(this_0, this.
|
|
1708
|
-
writeAttoVersion(this_0, this.
|
|
1709
|
-
writeAttoAlgorithm(this_0, this.
|
|
1710
|
-
writeAttoPublicKey(this_0, this.
|
|
1711
|
-
writeAttoAmount(this_0, this.
|
|
1712
|
-
writeInstant(this_0, this.
|
|
1713
|
-
writeAttoAlgorithm(this_0, this.
|
|
1714
|
-
writeAttoHash(this_0, this.
|
|
1715
|
-
writeAttoAlgorithm(this_0, this.
|
|
1716
|
-
writeAttoPublicKey(this_0, this.
|
|
1712
|
+
writeAttoBlockType(this_0, this.m2u_1);
|
|
1713
|
+
writeAttoNetwork(this_0, this.c2u_1);
|
|
1714
|
+
writeAttoVersion(this_0, this.d2u_1);
|
|
1715
|
+
writeAttoAlgorithm(this_0, this.e2u_1);
|
|
1716
|
+
writeAttoPublicKey(this_0, this.f2u_1);
|
|
1717
|
+
writeAttoAmount(this_0, this.g2u_1);
|
|
1718
|
+
writeInstant(this_0, this.h2u_1);
|
|
1719
|
+
writeAttoAlgorithm(this_0, this.i2u_1);
|
|
1720
|
+
writeAttoHash(this_0, this.j2u_1);
|
|
1721
|
+
writeAttoAlgorithm(this_0, this.k2u_1);
|
|
1722
|
+
writeAttoPublicKey(this_0, this.l2u_1);
|
|
1717
1723
|
return this_0;
|
|
1718
1724
|
}
|
|
1719
|
-
|
|
1720
|
-
return this.z2t_1;
|
|
1721
|
-
}
|
|
1722
|
-
ff() {
|
|
1723
|
-
return this.a2u_1;
|
|
1724
|
-
}
|
|
1725
|
-
n2v() {
|
|
1726
|
-
return this.b2u_1;
|
|
1727
|
-
}
|
|
1728
|
-
o2v() {
|
|
1725
|
+
hf() {
|
|
1729
1726
|
return this.c2u_1;
|
|
1730
1727
|
}
|
|
1731
|
-
|
|
1728
|
+
if() {
|
|
1732
1729
|
return this.d2u_1;
|
|
1733
1730
|
}
|
|
1734
1731
|
q2v() {
|
|
@@ -1746,36 +1743,45 @@ function AttoOpenBlock() {
|
|
|
1746
1743
|
u2v() {
|
|
1747
1744
|
return this.i2u_1;
|
|
1748
1745
|
}
|
|
1749
|
-
|
|
1746
|
+
v2v() {
|
|
1747
|
+
return this.j2u_1;
|
|
1748
|
+
}
|
|
1749
|
+
w2v() {
|
|
1750
|
+
return this.k2u_1;
|
|
1751
|
+
}
|
|
1752
|
+
x2v() {
|
|
1753
|
+
return this.l2u_1;
|
|
1754
|
+
}
|
|
1755
|
+
h30(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1750
1756
|
return new (AttoOpenBlock())(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1751
1757
|
}
|
|
1752
1758
|
copy(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, $super) {
|
|
1753
|
-
network = network === VOID ? this.
|
|
1754
|
-
version = version === VOID ? this.
|
|
1755
|
-
algorithm = algorithm === VOID ? this.
|
|
1756
|
-
publicKey = publicKey === VOID ? this.
|
|
1757
|
-
balance = balance === VOID ? this.
|
|
1758
|
-
timestamp = timestamp === VOID ? this.
|
|
1759
|
-
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.
|
|
1760
|
-
sendHash = sendHash === VOID ? this.
|
|
1761
|
-
representativeAlgorithm = representativeAlgorithm === VOID ? this.
|
|
1762
|
-
representativePublicKey = representativePublicKey === VOID ? this.
|
|
1763
|
-
return $super === VOID ? this.
|
|
1759
|
+
network = network === VOID ? this.c2u_1 : network;
|
|
1760
|
+
version = version === VOID ? this.d2u_1 : version;
|
|
1761
|
+
algorithm = algorithm === VOID ? this.e2u_1 : algorithm;
|
|
1762
|
+
publicKey = publicKey === VOID ? this.f2u_1 : publicKey;
|
|
1763
|
+
balance = balance === VOID ? this.g2u_1 : balance;
|
|
1764
|
+
timestamp = timestamp === VOID ? this.h2u_1 : timestamp;
|
|
1765
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.i2u_1 : sendHashAlgorithm;
|
|
1766
|
+
sendHash = sendHash === VOID ? this.j2u_1 : sendHash;
|
|
1767
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.k2u_1 : representativeAlgorithm;
|
|
1768
|
+
representativePublicKey = representativePublicKey === VOID ? this.l2u_1 : representativePublicKey;
|
|
1769
|
+
return $super === VOID ? this.h30(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) : $super.h30.call(this, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1764
1770
|
}
|
|
1765
1771
|
toString() {
|
|
1766
|
-
return 'AttoOpenBlock(network=' + this.
|
|
1772
|
+
return 'AttoOpenBlock(network=' + this.c2u_1.toString() + ', version=' + this.d2u_1.toString() + ', algorithm=' + this.e2u_1.toString() + ', publicKey=' + this.f2u_1.toString() + ', balance=' + this.g2u_1.toString() + ', timestamp=' + this.h2u_1.toString() + ', sendHashAlgorithm=' + this.i2u_1.toString() + ', sendHash=' + this.j2u_1.toString() + ', representativeAlgorithm=' + this.k2u_1.toString() + ', representativePublicKey=' + this.l2u_1.toString() + ')';
|
|
1767
1773
|
}
|
|
1768
1774
|
hashCode() {
|
|
1769
|
-
var result = this.
|
|
1770
|
-
result = imul(result, 31) + this.a2u_1.hashCode() | 0;
|
|
1771
|
-
result = imul(result, 31) + this.b2u_1.hashCode() | 0;
|
|
1772
|
-
result = imul(result, 31) + this.c2u_1.hashCode() | 0;
|
|
1775
|
+
var result = this.c2u_1.hashCode();
|
|
1773
1776
|
result = imul(result, 31) + this.d2u_1.hashCode() | 0;
|
|
1774
1777
|
result = imul(result, 31) + this.e2u_1.hashCode() | 0;
|
|
1775
1778
|
result = imul(result, 31) + this.f2u_1.hashCode() | 0;
|
|
1776
1779
|
result = imul(result, 31) + this.g2u_1.hashCode() | 0;
|
|
1777
1780
|
result = imul(result, 31) + this.h2u_1.hashCode() | 0;
|
|
1778
1781
|
result = imul(result, 31) + this.i2u_1.hashCode() | 0;
|
|
1782
|
+
result = imul(result, 31) + this.j2u_1.hashCode() | 0;
|
|
1783
|
+
result = imul(result, 31) + this.k2u_1.hashCode() | 0;
|
|
1784
|
+
result = imul(result, 31) + this.l2u_1.hashCode() | 0;
|
|
1779
1785
|
return result;
|
|
1780
1786
|
}
|
|
1781
1787
|
equals(other) {
|
|
@@ -1783,12 +1789,6 @@ function AttoOpenBlock() {
|
|
|
1783
1789
|
return true;
|
|
1784
1790
|
if (!(other instanceof AttoOpenBlock()))
|
|
1785
1791
|
return false;
|
|
1786
|
-
if (!this.z2t_1.equals(other.z2t_1))
|
|
1787
|
-
return false;
|
|
1788
|
-
if (!this.a2u_1.equals(other.a2u_1))
|
|
1789
|
-
return false;
|
|
1790
|
-
if (!this.b2u_1.equals(other.b2u_1))
|
|
1791
|
-
return false;
|
|
1792
1792
|
if (!this.c2u_1.equals(other.c2u_1))
|
|
1793
1793
|
return false;
|
|
1794
1794
|
if (!this.d2u_1.equals(other.d2u_1))
|
|
@@ -1803,86 +1803,93 @@ function AttoOpenBlock() {
|
|
|
1803
1803
|
return false;
|
|
1804
1804
|
if (!this.i2u_1.equals(other.i2u_1))
|
|
1805
1805
|
return false;
|
|
1806
|
+
if (!this.j2u_1.equals(other.j2u_1))
|
|
1807
|
+
return false;
|
|
1808
|
+
if (!this.k2u_1.equals(other.k2u_1))
|
|
1809
|
+
return false;
|
|
1810
|
+
if (!this.l2u_1.equals(other.l2u_1))
|
|
1811
|
+
return false;
|
|
1806
1812
|
return true;
|
|
1807
1813
|
}
|
|
1808
|
-
static
|
|
1814
|
+
static g30(seen0, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, height, address, representativeAddress, serializationConstructorMarker) {
|
|
1809
1815
|
Companion_getInstance_7();
|
|
1810
1816
|
if (!(1023 === (1023 & seen0))) {
|
|
1811
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().
|
|
1817
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().e30_1);
|
|
1812
1818
|
}
|
|
1813
1819
|
var $this = createThis(this);
|
|
1814
|
-
$this.
|
|
1815
|
-
$this.
|
|
1816
|
-
$this.
|
|
1817
|
-
$this.
|
|
1818
|
-
$this.
|
|
1819
|
-
$this.
|
|
1820
|
-
$this.
|
|
1821
|
-
$this.
|
|
1822
|
-
$this.
|
|
1823
|
-
$this.
|
|
1824
|
-
$this.
|
|
1820
|
+
$this.c2u_1 = network;
|
|
1821
|
+
$this.d2u_1 = version;
|
|
1822
|
+
$this.e2u_1 = algorithm;
|
|
1823
|
+
$this.f2u_1 = publicKey;
|
|
1824
|
+
$this.g2u_1 = balance;
|
|
1825
|
+
$this.h2u_1 = timestamp;
|
|
1826
|
+
$this.i2u_1 = sendHashAlgorithm;
|
|
1827
|
+
$this.j2u_1 = sendHash;
|
|
1828
|
+
$this.k2u_1 = representativeAlgorithm;
|
|
1829
|
+
$this.l2u_1 = representativePublicKey;
|
|
1830
|
+
$this.m2u_1 = AttoBlockType_OPEN_getInstance();
|
|
1825
1831
|
var tmp = $this;
|
|
1826
|
-
tmp.
|
|
1832
|
+
tmp.n2u_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y($this));
|
|
1827
1833
|
if (0 === (seen0 & 1024))
|
|
1828
|
-
$this.
|
|
1834
|
+
$this.o2u_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1829
1835
|
else
|
|
1830
|
-
$this.
|
|
1836
|
+
$this.o2u_1 = height;
|
|
1831
1837
|
if (0 === (seen0 & 2048))
|
|
1832
|
-
$this.
|
|
1838
|
+
$this.p2u_1 = new (AttoAddress())($this.e2u_1, $this.f2u_1);
|
|
1833
1839
|
else
|
|
1834
|
-
$this.
|
|
1840
|
+
$this.p2u_1 = address;
|
|
1835
1841
|
if (0 === (seen0 & 4096))
|
|
1836
|
-
$this.representativeAddress = new (AttoAddress())($this.
|
|
1842
|
+
$this.representativeAddress = new (AttoAddress())($this.k2u_1, $this.l2u_1);
|
|
1837
1843
|
else
|
|
1838
1844
|
$this.representativeAddress = representativeAddress;
|
|
1839
1845
|
return $this;
|
|
1840
1846
|
}
|
|
1841
1847
|
get network() {
|
|
1842
|
-
return this.
|
|
1848
|
+
return this.y2u();
|
|
1843
1849
|
}
|
|
1844
1850
|
get version() {
|
|
1845
|
-
return this.
|
|
1851
|
+
return this.z2u();
|
|
1846
1852
|
}
|
|
1847
1853
|
get algorithm() {
|
|
1848
|
-
return this.
|
|
1854
|
+
return this.a2v();
|
|
1849
1855
|
}
|
|
1850
1856
|
get publicKey() {
|
|
1851
|
-
return this.
|
|
1857
|
+
return this.x2u();
|
|
1852
1858
|
}
|
|
1853
1859
|
get balance() {
|
|
1854
|
-
return this.
|
|
1860
|
+
return this.c2v();
|
|
1855
1861
|
}
|
|
1856
1862
|
get timestamp() {
|
|
1857
|
-
return this.
|
|
1863
|
+
return this.k2w();
|
|
1858
1864
|
}
|
|
1859
1865
|
get sendHashAlgorithm() {
|
|
1860
|
-
return this.
|
|
1866
|
+
return this.r2y();
|
|
1861
1867
|
}
|
|
1862
1868
|
get sendHash() {
|
|
1863
|
-
return this.
|
|
1869
|
+
return this.s2y();
|
|
1864
1870
|
}
|
|
1865
1871
|
get representativeAlgorithm() {
|
|
1866
|
-
return this.
|
|
1872
|
+
return this.f2v();
|
|
1867
1873
|
}
|
|
1868
1874
|
get representativePublicKey() {
|
|
1869
|
-
return this.
|
|
1875
|
+
return this.g2v();
|
|
1870
1876
|
}
|
|
1871
1877
|
get type() {
|
|
1872
|
-
return this.
|
|
1878
|
+
return this.l2y();
|
|
1873
1879
|
}
|
|
1874
1880
|
get hash() {
|
|
1875
|
-
return this.
|
|
1881
|
+
return this.f2w();
|
|
1876
1882
|
}
|
|
1877
1883
|
get height() {
|
|
1878
|
-
return this.
|
|
1884
|
+
return this.b2v();
|
|
1879
1885
|
}
|
|
1880
1886
|
get address() {
|
|
1881
|
-
return this.
|
|
1887
|
+
return this.h2v();
|
|
1882
1888
|
}
|
|
1883
1889
|
}
|
|
1884
1890
|
protoOf($).validate = validate;
|
|
1885
1891
|
protoOf($).isValid = isValid;
|
|
1892
|
+
protoOf($).toByteArray = toByteArray;
|
|
1886
1893
|
initMetadataForClass($, 'AttoOpenBlock', VOID, VOID, [AttoBlock(), ReceiveSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_1});
|
|
1887
1894
|
AttoOpenBlockClass = $;
|
|
1888
1895
|
}
|
|
@@ -1892,10 +1899,10 @@ function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff() {
|
|
|
1892
1899
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1893
1900
|
}
|
|
1894
1901
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_0() {
|
|
1895
|
-
return Companion_getInstance_2().
|
|
1902
|
+
return Companion_getInstance_2().x2t();
|
|
1896
1903
|
}
|
|
1897
1904
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1() {
|
|
1898
|
-
return Companion_getInstance_2().
|
|
1905
|
+
return Companion_getInstance_2().x2t();
|
|
1899
1906
|
}
|
|
1900
1907
|
var CompanionClass_4;
|
|
1901
1908
|
function Companion_4() {
|
|
@@ -1912,10 +1919,10 @@ function Companion_4() {
|
|
|
1912
1919
|
// Inline function 'kotlin.arrayOf' call
|
|
1913
1920
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1914
1921
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1915
|
-
tmp.
|
|
1922
|
+
tmp.k2y_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1), null, null, null];
|
|
1916
1923
|
}
|
|
1917
|
-
|
|
1918
|
-
if (fromInt(AttoBlockType_CHANGE_getInstance().
|
|
1924
|
+
h2y(serializedBlock) {
|
|
1925
|
+
if (fromInt(AttoBlockType_CHANGE_getInstance().d2y_1) > serializedBlock.u2()) {
|
|
1919
1926
|
return null;
|
|
1920
1927
|
}
|
|
1921
1928
|
var blockType = readAttoBlockType(serializedBlock);
|
|
@@ -1924,7 +1931,7 @@ function Companion_4() {
|
|
|
1924
1931
|
}
|
|
1925
1932
|
return new (AttoChangeBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1926
1933
|
}
|
|
1927
|
-
|
|
1934
|
+
x2t() {
|
|
1928
1935
|
return $serializer_getInstance_2();
|
|
1929
1936
|
}
|
|
1930
1937
|
}
|
|
@@ -1946,43 +1953,43 @@ function $serializer_2() {
|
|
|
1946
1953
|
constructor() {
|
|
1947
1954
|
$serializer_instance_2 = this;
|
|
1948
1955
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('CHANGE', this, 12);
|
|
1949
|
-
tmp0_serialDesc.
|
|
1950
|
-
tmp0_serialDesc.
|
|
1951
|
-
tmp0_serialDesc.
|
|
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
|
-
this.
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
var tmp0_desc = this.
|
|
1965
|
-
var tmp1_output = encoder.
|
|
1966
|
-
var tmp2_cached = Companion_getInstance_8().
|
|
1967
|
-
tmp1_output.
|
|
1968
|
-
tmp1_output.
|
|
1969
|
-
tmp1_output.
|
|
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
|
-
}
|
|
1981
|
-
|
|
1982
|
-
return this.
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
var tmp0_desc = this.
|
|
1956
|
+
tmp0_serialDesc.q16('network', false);
|
|
1957
|
+
tmp0_serialDesc.q16('version', false);
|
|
1958
|
+
tmp0_serialDesc.q16('algorithm', false);
|
|
1959
|
+
tmp0_serialDesc.q16('publicKey', false);
|
|
1960
|
+
tmp0_serialDesc.q16('height', false);
|
|
1961
|
+
tmp0_serialDesc.q16('balance', false);
|
|
1962
|
+
tmp0_serialDesc.q16('timestamp', false);
|
|
1963
|
+
tmp0_serialDesc.q16('previous', false);
|
|
1964
|
+
tmp0_serialDesc.q16('representativeAlgorithm', false);
|
|
1965
|
+
tmp0_serialDesc.q16('representativePublicKey', false);
|
|
1966
|
+
tmp0_serialDesc.q16('address', true);
|
|
1967
|
+
tmp0_serialDesc.q16('representativeAddress', true);
|
|
1968
|
+
this.i30_1 = tmp0_serialDesc;
|
|
1969
|
+
}
|
|
1970
|
+
j30(encoder, value) {
|
|
1971
|
+
var tmp0_desc = this.i30_1;
|
|
1972
|
+
var tmp1_output = encoder.cz(tmp0_desc);
|
|
1973
|
+
var tmp2_cached = Companion_getInstance_8().k2y_1;
|
|
1974
|
+
tmp1_output.t10(tmp0_desc, 0, tmp2_cached[0].g3(), value.k30_1);
|
|
1975
|
+
tmp1_output.t10(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.l30_1);
|
|
1976
|
+
tmp1_output.t10(tmp0_desc, 2, tmp2_cached[2].g3(), value.m30_1);
|
|
1977
|
+
tmp1_output.t10(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.n30_1);
|
|
1978
|
+
tmp1_output.t10(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.o30_1);
|
|
1979
|
+
tmp1_output.t10(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.p30_1);
|
|
1980
|
+
tmp1_output.t10(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.q30_1);
|
|
1981
|
+
tmp1_output.t10(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.r30_1);
|
|
1982
|
+
tmp1_output.t10(tmp0_desc, 8, tmp2_cached[8].g3(), value.s30_1);
|
|
1983
|
+
tmp1_output.t10(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.t30_1);
|
|
1984
|
+
tmp1_output.t10(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.w30_1);
|
|
1985
|
+
tmp1_output.t10(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1986
|
+
tmp1_output.dz(tmp0_desc);
|
|
1987
|
+
}
|
|
1988
|
+
ou(encoder, value) {
|
|
1989
|
+
return this.j30(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
|
|
1990
|
+
}
|
|
1991
|
+
pu(decoder) {
|
|
1992
|
+
var tmp0_desc = this.i30_1;
|
|
1986
1993
|
var tmp1_flag = true;
|
|
1987
1994
|
var tmp2_index = 0;
|
|
1988
1995
|
var tmp3_bitMask0 = 0;
|
|
@@ -1998,107 +2005,107 @@ function $serializer_2() {
|
|
|
1998
2005
|
var tmp13_local9 = null;
|
|
1999
2006
|
var tmp14_local10 = null;
|
|
2000
2007
|
var tmp15_local11 = null;
|
|
2001
|
-
var tmp18_input = decoder.
|
|
2002
|
-
var tmp19_cached = Companion_getInstance_8().
|
|
2003
|
-
if (tmp18_input.
|
|
2004
|
-
tmp4_local0 = tmp18_input.
|
|
2008
|
+
var tmp18_input = decoder.cz(tmp0_desc);
|
|
2009
|
+
var tmp19_cached = Companion_getInstance_8().k2y_1;
|
|
2010
|
+
if (tmp18_input.rz()) {
|
|
2011
|
+
tmp4_local0 = tmp18_input.oz(tmp0_desc, 0, tmp19_cached[0].g3(), tmp4_local0);
|
|
2005
2012
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2006
|
-
tmp5_local1 = tmp18_input.
|
|
2013
|
+
tmp5_local1 = tmp18_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2007
2014
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2008
|
-
tmp6_local2 = tmp18_input.
|
|
2015
|
+
tmp6_local2 = tmp18_input.oz(tmp0_desc, 2, tmp19_cached[2].g3(), tmp6_local2);
|
|
2009
2016
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2010
|
-
tmp7_local3 = tmp18_input.
|
|
2017
|
+
tmp7_local3 = tmp18_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2011
2018
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2012
|
-
tmp8_local4 = tmp18_input.
|
|
2019
|
+
tmp8_local4 = tmp18_input.oz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2013
2020
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2014
|
-
tmp9_local5 = tmp18_input.
|
|
2021
|
+
tmp9_local5 = tmp18_input.oz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2015
2022
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2016
|
-
tmp10_local6 = tmp18_input.
|
|
2023
|
+
tmp10_local6 = tmp18_input.oz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2017
2024
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2018
|
-
tmp11_local7 = tmp18_input.
|
|
2025
|
+
tmp11_local7 = tmp18_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2019
2026
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2020
|
-
tmp12_local8 = tmp18_input.
|
|
2027
|
+
tmp12_local8 = tmp18_input.oz(tmp0_desc, 8, tmp19_cached[8].g3(), tmp12_local8);
|
|
2021
2028
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2022
|
-
tmp13_local9 = tmp18_input.
|
|
2029
|
+
tmp13_local9 = tmp18_input.oz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2023
2030
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2024
|
-
tmp14_local10 = tmp18_input.
|
|
2031
|
+
tmp14_local10 = tmp18_input.oz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2025
2032
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2026
|
-
tmp15_local11 = tmp18_input.
|
|
2033
|
+
tmp15_local11 = tmp18_input.oz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2027
2034
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2028
2035
|
} else
|
|
2029
2036
|
while (tmp1_flag) {
|
|
2030
|
-
tmp2_index = tmp18_input.
|
|
2037
|
+
tmp2_index = tmp18_input.sz(tmp0_desc);
|
|
2031
2038
|
switch (tmp2_index) {
|
|
2032
2039
|
case -1:
|
|
2033
2040
|
tmp1_flag = false;
|
|
2034
2041
|
break;
|
|
2035
2042
|
case 0:
|
|
2036
|
-
tmp4_local0 = tmp18_input.
|
|
2043
|
+
tmp4_local0 = tmp18_input.oz(tmp0_desc, 0, tmp19_cached[0].g3(), tmp4_local0);
|
|
2037
2044
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2038
2045
|
break;
|
|
2039
2046
|
case 1:
|
|
2040
|
-
tmp5_local1 = tmp18_input.
|
|
2047
|
+
tmp5_local1 = tmp18_input.oz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2041
2048
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2042
2049
|
break;
|
|
2043
2050
|
case 2:
|
|
2044
|
-
tmp6_local2 = tmp18_input.
|
|
2051
|
+
tmp6_local2 = tmp18_input.oz(tmp0_desc, 2, tmp19_cached[2].g3(), tmp6_local2);
|
|
2045
2052
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2046
2053
|
break;
|
|
2047
2054
|
case 3:
|
|
2048
|
-
tmp7_local3 = tmp18_input.
|
|
2055
|
+
tmp7_local3 = tmp18_input.oz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2049
2056
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2050
2057
|
break;
|
|
2051
2058
|
case 4:
|
|
2052
|
-
tmp8_local4 = tmp18_input.
|
|
2059
|
+
tmp8_local4 = tmp18_input.oz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2053
2060
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2054
2061
|
break;
|
|
2055
2062
|
case 5:
|
|
2056
|
-
tmp9_local5 = tmp18_input.
|
|
2063
|
+
tmp9_local5 = tmp18_input.oz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2057
2064
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2058
2065
|
break;
|
|
2059
2066
|
case 6:
|
|
2060
|
-
tmp10_local6 = tmp18_input.
|
|
2067
|
+
tmp10_local6 = tmp18_input.oz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2061
2068
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2062
2069
|
break;
|
|
2063
2070
|
case 7:
|
|
2064
|
-
tmp11_local7 = tmp18_input.
|
|
2071
|
+
tmp11_local7 = tmp18_input.oz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2065
2072
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2066
2073
|
break;
|
|
2067
2074
|
case 8:
|
|
2068
|
-
tmp12_local8 = tmp18_input.
|
|
2075
|
+
tmp12_local8 = tmp18_input.oz(tmp0_desc, 8, tmp19_cached[8].g3(), tmp12_local8);
|
|
2069
2076
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2070
2077
|
break;
|
|
2071
2078
|
case 9:
|
|
2072
|
-
tmp13_local9 = tmp18_input.
|
|
2079
|
+
tmp13_local9 = tmp18_input.oz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2073
2080
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2074
2081
|
break;
|
|
2075
2082
|
case 10:
|
|
2076
|
-
tmp14_local10 = tmp18_input.
|
|
2083
|
+
tmp14_local10 = tmp18_input.oz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2077
2084
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2078
2085
|
break;
|
|
2079
2086
|
case 11:
|
|
2080
|
-
tmp15_local11 = tmp18_input.
|
|
2087
|
+
tmp15_local11 = tmp18_input.oz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2081
2088
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2082
2089
|
break;
|
|
2083
2090
|
default:
|
|
2084
|
-
throw UnknownFieldException().
|
|
2091
|
+
throw UnknownFieldException().jw(tmp2_index);
|
|
2085
2092
|
}
|
|
2086
2093
|
}
|
|
2087
|
-
tmp18_input.
|
|
2088
|
-
return AttoChangeBlock().
|
|
2094
|
+
tmp18_input.dz(tmp0_desc);
|
|
2095
|
+
return AttoChangeBlock().x30(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);
|
|
2089
2096
|
}
|
|
2090
|
-
|
|
2091
|
-
return this.
|
|
2097
|
+
nu() {
|
|
2098
|
+
return this.i30_1;
|
|
2092
2099
|
}
|
|
2093
|
-
|
|
2094
|
-
var tmp0_cached = Companion_getInstance_8().
|
|
2100
|
+
f17() {
|
|
2101
|
+
var tmp0_cached = Companion_getInstance_8().k2y_1;
|
|
2095
2102
|
// Inline function 'kotlin.arrayOf' call
|
|
2096
2103
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2097
2104
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2098
2105
|
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()];
|
|
2099
2106
|
}
|
|
2100
2107
|
}
|
|
2101
|
-
protoOf($).
|
|
2108
|
+
protoOf($).g17 = typeParametersSerializers;
|
|
2102
2109
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
2103
2110
|
$serializerClass_2 = $;
|
|
2104
2111
|
}
|
|
@@ -2111,13 +2118,13 @@ function $serializer_getInstance_2() {
|
|
|
2111
2118
|
return $serializer_instance_2;
|
|
2112
2119
|
}
|
|
2113
2120
|
function AttoChangeBlock$hash$delegate$lambda(this$0) {
|
|
2114
|
-
return () => hash(this$0.
|
|
2121
|
+
return () => hash(this$0.v2w());
|
|
2115
2122
|
}
|
|
2116
2123
|
function AttoChangeBlock$_get_hash_$ref_i4oufz() {
|
|
2117
2124
|
return (p0) => p0.hash;
|
|
2118
2125
|
}
|
|
2119
2126
|
function AttoChangeBlock$_init_$lambda_31jg7w(this$0) {
|
|
2120
|
-
return () => hash(this$0.
|
|
2127
|
+
return () => hash(this$0.v2w());
|
|
2121
2128
|
}
|
|
2122
2129
|
var AttoChangeBlockClass;
|
|
2123
2130
|
function AttoChangeBlock() {
|
|
@@ -2125,144 +2132,144 @@ function AttoChangeBlock() {
|
|
|
2125
2132
|
class $ {
|
|
2126
2133
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2127
2134
|
Companion_getInstance_8();
|
|
2128
|
-
this.
|
|
2129
|
-
this.
|
|
2130
|
-
this.
|
|
2131
|
-
this.
|
|
2132
|
-
this.
|
|
2133
|
-
this.
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2135
|
+
this.k30_1 = network;
|
|
2136
|
+
this.l30_1 = version;
|
|
2137
|
+
this.m30_1 = algorithm;
|
|
2138
|
+
this.n30_1 = publicKey;
|
|
2139
|
+
this.o30_1 = height;
|
|
2140
|
+
this.p30_1 = balance;
|
|
2141
|
+
this.q30_1 = timestamp;
|
|
2142
|
+
this.r30_1 = previous;
|
|
2143
|
+
this.s30_1 = representativeAlgorithm;
|
|
2144
|
+
this.t30_1 = representativePublicKey;
|
|
2145
|
+
this.u30_1 = AttoBlockType_CHANGE_getInstance();
|
|
2139
2146
|
var tmp = this;
|
|
2140
|
-
tmp.
|
|
2141
|
-
this.
|
|
2142
|
-
this.representativeAddress = new (AttoAddress())(this.
|
|
2147
|
+
tmp.v30_1 = lazy_0(AttoChangeBlock$hash$delegate$lambda(this));
|
|
2148
|
+
this.w30_1 = new (AttoAddress())(this.m30_1, this.n30_1);
|
|
2149
|
+
this.representativeAddress = new (AttoAddress())(this.s30_1, this.t30_1);
|
|
2143
2150
|
}
|
|
2144
|
-
|
|
2145
|
-
return this.
|
|
2151
|
+
y2u() {
|
|
2152
|
+
return this.k30_1;
|
|
2146
2153
|
}
|
|
2147
|
-
|
|
2148
|
-
return this.
|
|
2154
|
+
z2u() {
|
|
2155
|
+
return this.l30_1;
|
|
2149
2156
|
}
|
|
2150
|
-
|
|
2151
|
-
return this.
|
|
2157
|
+
a2v() {
|
|
2158
|
+
return this.m30_1;
|
|
2152
2159
|
}
|
|
2153
|
-
|
|
2154
|
-
return this.
|
|
2160
|
+
x2u() {
|
|
2161
|
+
return this.n30_1;
|
|
2155
2162
|
}
|
|
2156
|
-
|
|
2157
|
-
return this.
|
|
2163
|
+
b2v() {
|
|
2164
|
+
return this.o30_1;
|
|
2158
2165
|
}
|
|
2159
|
-
|
|
2160
|
-
return this.
|
|
2166
|
+
c2v() {
|
|
2167
|
+
return this.p30_1;
|
|
2161
2168
|
}
|
|
2162
|
-
|
|
2163
|
-
return this.
|
|
2169
|
+
k2w() {
|
|
2170
|
+
return this.q30_1;
|
|
2164
2171
|
}
|
|
2165
|
-
|
|
2166
|
-
return this.
|
|
2172
|
+
q2y() {
|
|
2173
|
+
return this.r30_1;
|
|
2167
2174
|
}
|
|
2168
|
-
|
|
2169
|
-
return this.
|
|
2175
|
+
f2v() {
|
|
2176
|
+
return this.s30_1;
|
|
2170
2177
|
}
|
|
2171
|
-
|
|
2172
|
-
return this.
|
|
2178
|
+
g2v() {
|
|
2179
|
+
return this.t30_1;
|
|
2173
2180
|
}
|
|
2174
|
-
|
|
2175
|
-
return this.
|
|
2181
|
+
l2y() {
|
|
2182
|
+
return this.u30_1;
|
|
2176
2183
|
}
|
|
2177
|
-
|
|
2178
|
-
var tmp0 = this.
|
|
2184
|
+
f2w() {
|
|
2185
|
+
var tmp0 = this.v30_1;
|
|
2179
2186
|
var tmp = KProperty1();
|
|
2180
2187
|
// Inline function 'kotlin.getValue' call
|
|
2181
2188
|
getPropertyCallableRef('hash', 1, tmp, AttoChangeBlock$_get_hash_$ref_i4oufz(), null);
|
|
2182
2189
|
return tmp0.g3();
|
|
2183
2190
|
}
|
|
2184
|
-
|
|
2185
|
-
return this.
|
|
2191
|
+
h2v() {
|
|
2192
|
+
return this.w30_1;
|
|
2186
2193
|
}
|
|
2187
|
-
|
|
2194
|
+
i2v() {
|
|
2188
2195
|
return this.representativeAddress;
|
|
2189
2196
|
}
|
|
2190
|
-
|
|
2197
|
+
v2w() {
|
|
2191
2198
|
// Inline function 'kotlin.apply' call
|
|
2192
2199
|
var this_0 = new (Buffer())();
|
|
2193
|
-
writeAttoBlockType(this_0, this.
|
|
2194
|
-
writeAttoNetwork(this_0, this.
|
|
2195
|
-
writeAttoVersion(this_0, this.
|
|
2196
|
-
writeAttoAlgorithm(this_0, this.
|
|
2197
|
-
writeAttoPublicKey(this_0, this.
|
|
2198
|
-
writeAttoHeight(this_0, this.
|
|
2199
|
-
writeAttoAmount(this_0, this.
|
|
2200
|
-
writeInstant(this_0, this.
|
|
2201
|
-
writeAttoHash(this_0, this.
|
|
2202
|
-
writeAttoAlgorithm(this_0, this.
|
|
2203
|
-
writeAttoPublicKey(this_0, this.
|
|
2200
|
+
writeAttoBlockType(this_0, this.u30_1);
|
|
2201
|
+
writeAttoNetwork(this_0, this.k30_1);
|
|
2202
|
+
writeAttoVersion(this_0, this.l30_1);
|
|
2203
|
+
writeAttoAlgorithm(this_0, this.m30_1);
|
|
2204
|
+
writeAttoPublicKey(this_0, this.n30_1);
|
|
2205
|
+
writeAttoHeight(this_0, this.o30_1);
|
|
2206
|
+
writeAttoAmount(this_0, this.p30_1);
|
|
2207
|
+
writeInstant(this_0, this.q30_1);
|
|
2208
|
+
writeAttoHash(this_0, this.r30_1);
|
|
2209
|
+
writeAttoAlgorithm(this_0, this.s30_1);
|
|
2210
|
+
writeAttoPublicKey(this_0, this.t30_1);
|
|
2204
2211
|
return this_0;
|
|
2205
2212
|
}
|
|
2206
|
-
|
|
2207
|
-
return this.
|
|
2208
|
-
}
|
|
2209
|
-
ff() {
|
|
2210
|
-
return this.b30_1;
|
|
2211
|
-
}
|
|
2212
|
-
n2v() {
|
|
2213
|
-
return this.c30_1;
|
|
2214
|
-
}
|
|
2215
|
-
o2v() {
|
|
2216
|
-
return this.d30_1;
|
|
2213
|
+
hf() {
|
|
2214
|
+
return this.k30_1;
|
|
2217
2215
|
}
|
|
2218
|
-
|
|
2219
|
-
return this.
|
|
2216
|
+
if() {
|
|
2217
|
+
return this.l30_1;
|
|
2220
2218
|
}
|
|
2221
2219
|
q2v() {
|
|
2222
|
-
return this.
|
|
2220
|
+
return this.m30_1;
|
|
2223
2221
|
}
|
|
2224
2222
|
r2v() {
|
|
2225
|
-
return this.
|
|
2223
|
+
return this.n30_1;
|
|
2226
2224
|
}
|
|
2227
2225
|
s2v() {
|
|
2228
|
-
return this.
|
|
2226
|
+
return this.o30_1;
|
|
2229
2227
|
}
|
|
2230
2228
|
t2v() {
|
|
2231
|
-
return this.
|
|
2229
|
+
return this.p30_1;
|
|
2232
2230
|
}
|
|
2233
2231
|
u2v() {
|
|
2234
|
-
return this.
|
|
2232
|
+
return this.q30_1;
|
|
2233
|
+
}
|
|
2234
|
+
v2v() {
|
|
2235
|
+
return this.r30_1;
|
|
2236
|
+
}
|
|
2237
|
+
w2v() {
|
|
2238
|
+
return this.s30_1;
|
|
2235
2239
|
}
|
|
2236
|
-
|
|
2240
|
+
x2v() {
|
|
2241
|
+
return this.t30_1;
|
|
2242
|
+
}
|
|
2243
|
+
y30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2237
2244
|
return new (AttoChangeBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2238
2245
|
}
|
|
2239
2246
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, $super) {
|
|
2240
|
-
network = network === VOID ? this.
|
|
2241
|
-
version = version === VOID ? this.
|
|
2242
|
-
algorithm = algorithm === VOID ? this.
|
|
2243
|
-
publicKey = publicKey === VOID ? this.
|
|
2244
|
-
height = height === VOID ? this.
|
|
2245
|
-
balance = balance === VOID ? this.
|
|
2246
|
-
timestamp = timestamp === VOID ? this.
|
|
2247
|
-
previous = previous === VOID ? this.
|
|
2248
|
-
representativeAlgorithm = representativeAlgorithm === VOID ? this.
|
|
2249
|
-
representativePublicKey = representativePublicKey === VOID ? this.
|
|
2250
|
-
return $super === VOID ? this.
|
|
2247
|
+
network = network === VOID ? this.k30_1 : network;
|
|
2248
|
+
version = version === VOID ? this.l30_1 : version;
|
|
2249
|
+
algorithm = algorithm === VOID ? this.m30_1 : algorithm;
|
|
2250
|
+
publicKey = publicKey === VOID ? this.n30_1 : publicKey;
|
|
2251
|
+
height = height === VOID ? this.o30_1 : height;
|
|
2252
|
+
balance = balance === VOID ? this.p30_1 : balance;
|
|
2253
|
+
timestamp = timestamp === VOID ? this.q30_1 : timestamp;
|
|
2254
|
+
previous = previous === VOID ? this.r30_1 : previous;
|
|
2255
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.s30_1 : representativeAlgorithm;
|
|
2256
|
+
representativePublicKey = representativePublicKey === VOID ? this.t30_1 : representativePublicKey;
|
|
2257
|
+
return $super === VOID ? this.y30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) : $super.y30.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2251
2258
|
}
|
|
2252
2259
|
toString() {
|
|
2253
|
-
return 'AttoChangeBlock(network=' + this.
|
|
2260
|
+
return 'AttoChangeBlock(network=' + this.k30_1.toString() + ', version=' + this.l30_1.toString() + ', algorithm=' + this.m30_1.toString() + ', publicKey=' + this.n30_1.toString() + ', height=' + this.o30_1.toString() + ', balance=' + this.p30_1.toString() + ', timestamp=' + this.q30_1.toString() + ', previous=' + this.r30_1.toString() + ', representativeAlgorithm=' + this.s30_1.toString() + ', representativePublicKey=' + this.t30_1.toString() + ')';
|
|
2254
2261
|
}
|
|
2255
2262
|
hashCode() {
|
|
2256
|
-
var result = this.
|
|
2257
|
-
result = imul(result, 31) + this.
|
|
2258
|
-
result = imul(result, 31) + this.
|
|
2259
|
-
result = imul(result, 31) + this.
|
|
2260
|
-
result = imul(result, 31) + this.
|
|
2261
|
-
result = imul(result, 31) + this.
|
|
2262
|
-
result = imul(result, 31) + this.
|
|
2263
|
-
result = imul(result, 31) + this.
|
|
2264
|
-
result = imul(result, 31) + this.
|
|
2265
|
-
result = imul(result, 31) + this.
|
|
2263
|
+
var result = this.k30_1.hashCode();
|
|
2264
|
+
result = imul(result, 31) + this.l30_1.hashCode() | 0;
|
|
2265
|
+
result = imul(result, 31) + this.m30_1.hashCode() | 0;
|
|
2266
|
+
result = imul(result, 31) + this.n30_1.hashCode() | 0;
|
|
2267
|
+
result = imul(result, 31) + this.o30_1.hashCode() | 0;
|
|
2268
|
+
result = imul(result, 31) + this.p30_1.hashCode() | 0;
|
|
2269
|
+
result = imul(result, 31) + this.q30_1.hashCode() | 0;
|
|
2270
|
+
result = imul(result, 31) + this.r30_1.hashCode() | 0;
|
|
2271
|
+
result = imul(result, 31) + this.s30_1.hashCode() | 0;
|
|
2272
|
+
result = imul(result, 31) + this.t30_1.hashCode() | 0;
|
|
2266
2273
|
return result;
|
|
2267
2274
|
}
|
|
2268
2275
|
equals(other) {
|
|
@@ -2270,99 +2277,100 @@ function AttoChangeBlock() {
|
|
|
2270
2277
|
return true;
|
|
2271
2278
|
if (!(other instanceof AttoChangeBlock()))
|
|
2272
2279
|
return false;
|
|
2273
|
-
if (!this.
|
|
2280
|
+
if (!this.k30_1.equals(other.k30_1))
|
|
2274
2281
|
return false;
|
|
2275
|
-
if (!this.
|
|
2282
|
+
if (!this.l30_1.equals(other.l30_1))
|
|
2276
2283
|
return false;
|
|
2277
|
-
if (!this.
|
|
2284
|
+
if (!this.m30_1.equals(other.m30_1))
|
|
2278
2285
|
return false;
|
|
2279
|
-
if (!this.
|
|
2286
|
+
if (!this.n30_1.equals(other.n30_1))
|
|
2280
2287
|
return false;
|
|
2281
|
-
if (!this.
|
|
2288
|
+
if (!this.o30_1.equals(other.o30_1))
|
|
2282
2289
|
return false;
|
|
2283
|
-
if (!this.
|
|
2290
|
+
if (!this.p30_1.equals(other.p30_1))
|
|
2284
2291
|
return false;
|
|
2285
|
-
if (!this.
|
|
2292
|
+
if (!this.q30_1.equals(other.q30_1))
|
|
2286
2293
|
return false;
|
|
2287
|
-
if (!this.
|
|
2294
|
+
if (!this.r30_1.equals(other.r30_1))
|
|
2288
2295
|
return false;
|
|
2289
|
-
if (!this.
|
|
2296
|
+
if (!this.s30_1.equals(other.s30_1))
|
|
2290
2297
|
return false;
|
|
2291
|
-
if (!this.
|
|
2298
|
+
if (!this.t30_1.equals(other.t30_1))
|
|
2292
2299
|
return false;
|
|
2293
2300
|
return true;
|
|
2294
2301
|
}
|
|
2295
|
-
static
|
|
2302
|
+
static x30(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, address, representativeAddress, serializationConstructorMarker) {
|
|
2296
2303
|
Companion_getInstance_8();
|
|
2297
2304
|
if (!(1023 === (1023 & seen0))) {
|
|
2298
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().
|
|
2305
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().i30_1);
|
|
2299
2306
|
}
|
|
2300
2307
|
var $this = createThis(this);
|
|
2301
|
-
$this.
|
|
2302
|
-
$this.
|
|
2303
|
-
$this.
|
|
2304
|
-
$this.
|
|
2305
|
-
$this.
|
|
2306
|
-
$this.
|
|
2307
|
-
$this.
|
|
2308
|
-
$this.
|
|
2309
|
-
$this.
|
|
2310
|
-
$this.
|
|
2311
|
-
$this.
|
|
2308
|
+
$this.k30_1 = network;
|
|
2309
|
+
$this.l30_1 = version;
|
|
2310
|
+
$this.m30_1 = algorithm;
|
|
2311
|
+
$this.n30_1 = publicKey;
|
|
2312
|
+
$this.o30_1 = height;
|
|
2313
|
+
$this.p30_1 = balance;
|
|
2314
|
+
$this.q30_1 = timestamp;
|
|
2315
|
+
$this.r30_1 = previous;
|
|
2316
|
+
$this.s30_1 = representativeAlgorithm;
|
|
2317
|
+
$this.t30_1 = representativePublicKey;
|
|
2318
|
+
$this.u30_1 = AttoBlockType_CHANGE_getInstance();
|
|
2312
2319
|
var tmp = $this;
|
|
2313
|
-
tmp.
|
|
2320
|
+
tmp.v30_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w($this));
|
|
2314
2321
|
if (0 === (seen0 & 1024))
|
|
2315
|
-
$this.
|
|
2322
|
+
$this.w30_1 = new (AttoAddress())($this.m30_1, $this.n30_1);
|
|
2316
2323
|
else
|
|
2317
|
-
$this.
|
|
2324
|
+
$this.w30_1 = address;
|
|
2318
2325
|
if (0 === (seen0 & 2048))
|
|
2319
|
-
$this.representativeAddress = new (AttoAddress())($this.
|
|
2326
|
+
$this.representativeAddress = new (AttoAddress())($this.s30_1, $this.t30_1);
|
|
2320
2327
|
else
|
|
2321
2328
|
$this.representativeAddress = representativeAddress;
|
|
2322
2329
|
return $this;
|
|
2323
2330
|
}
|
|
2324
2331
|
get network() {
|
|
2325
|
-
return this.
|
|
2332
|
+
return this.y2u();
|
|
2326
2333
|
}
|
|
2327
2334
|
get version() {
|
|
2328
|
-
return this.
|
|
2335
|
+
return this.z2u();
|
|
2329
2336
|
}
|
|
2330
2337
|
get algorithm() {
|
|
2331
|
-
return this.
|
|
2338
|
+
return this.a2v();
|
|
2332
2339
|
}
|
|
2333
2340
|
get publicKey() {
|
|
2334
|
-
return this.
|
|
2341
|
+
return this.x2u();
|
|
2335
2342
|
}
|
|
2336
2343
|
get height() {
|
|
2337
|
-
return this.
|
|
2344
|
+
return this.b2v();
|
|
2338
2345
|
}
|
|
2339
2346
|
get balance() {
|
|
2340
|
-
return this.
|
|
2347
|
+
return this.c2v();
|
|
2341
2348
|
}
|
|
2342
2349
|
get timestamp() {
|
|
2343
|
-
return this.
|
|
2350
|
+
return this.k2w();
|
|
2344
2351
|
}
|
|
2345
2352
|
get previous() {
|
|
2346
|
-
return this.
|
|
2353
|
+
return this.q2y();
|
|
2347
2354
|
}
|
|
2348
2355
|
get representativeAlgorithm() {
|
|
2349
|
-
return this.
|
|
2356
|
+
return this.f2v();
|
|
2350
2357
|
}
|
|
2351
2358
|
get representativePublicKey() {
|
|
2352
|
-
return this.
|
|
2359
|
+
return this.g2v();
|
|
2353
2360
|
}
|
|
2354
2361
|
get type() {
|
|
2355
|
-
return this.
|
|
2362
|
+
return this.l2y();
|
|
2356
2363
|
}
|
|
2357
2364
|
get hash() {
|
|
2358
|
-
return this.
|
|
2365
|
+
return this.f2w();
|
|
2359
2366
|
}
|
|
2360
2367
|
get address() {
|
|
2361
|
-
return this.
|
|
2368
|
+
return this.h2v();
|
|
2362
2369
|
}
|
|
2363
2370
|
}
|
|
2364
2371
|
protoOf($).validate = validate;
|
|
2365
2372
|
protoOf($).isValid = isValid;
|
|
2373
|
+
protoOf($).toByteArray = toByteArray;
|
|
2366
2374
|
initMetadataForClass($, 'AttoChangeBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_2});
|
|
2367
2375
|
AttoChangeBlockClass = $;
|
|
2368
2376
|
}
|