@attocash/commons-js 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +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 +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/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 +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +63 -55
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +561 -553
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +91 -91
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.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 +26 -26
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
- 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} +401 -409
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-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 +245 -232
- 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 +46 -37
- 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 +79 -79
- 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 +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +16 -11
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +41 -47
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +24 -52
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +72 -109
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- 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/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +28 -55
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +30 -125
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +10 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +112 -21
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/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/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +67 -67
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +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 +22 -22
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- 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 +27 -27
- 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 +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- 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 +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- 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 +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- 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 +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- 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 +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- 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 +19 -19
- 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 +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
- 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 +41 -41
- 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 +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/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 +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- 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 +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- 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 +245 -245
- 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 +72 -72
- 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 +116 -116
- 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 +33 -33
- 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 +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/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 +70 -70
- 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 +24 -24
- 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 +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/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 +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- 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 +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- 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 +23 -23
- 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 +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- 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 +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- 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 +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- 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 +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- 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 +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/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 +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- 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 +60 -60
- 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 +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +71 -71
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +93 -93
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +75 -75
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/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 +39 -39
- 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 +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- 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 +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/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 +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/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 +18 -18
- 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';
|
|
@@ -134,17 +138,17 @@ function Companion() {
|
|
|
134
138
|
var this_0 = get_entries();
|
|
135
139
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
136
140
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
137
|
-
var destination = LinkedHashMap().
|
|
141
|
+
var destination = LinkedHashMap().nc(capacity);
|
|
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.
|
|
142
|
-
destination.
|
|
145
|
+
var tmp$ret$0 = new (UByte())(element.c2y_1);
|
|
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,20 +209,20 @@ 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();
|
|
219
223
|
}
|
|
220
224
|
get ordinal() {
|
|
221
|
-
return this.
|
|
225
|
+
return this.a5();
|
|
222
226
|
}
|
|
223
227
|
}
|
|
224
228
|
initMetadataForClass($, 'AttoBlockType');
|
|
@@ -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,44 +467,44 @@ 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.
|
|
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);
|
|
479
483
|
this.t2y_1 = tmp0_serialDesc;
|
|
480
484
|
}
|
|
481
485
|
u2y(encoder, value) {
|
|
482
486
|
var tmp0_desc = this.t2y_1;
|
|
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
|
-
|
|
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) {
|
|
501
505
|
return this.u2y(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
|
|
502
506
|
}
|
|
503
|
-
|
|
507
|
+
pu(decoder) {
|
|
504
508
|
var tmp0_desc = this.t2y_1;
|
|
505
509
|
var tmp1_flag = true;
|
|
506
510
|
var tmp2_index = 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.
|
|
617
|
+
tmp19_input.dz(tmp0_desc);
|
|
614
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
|
-
|
|
620
|
+
nu() {
|
|
617
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() {
|
|
@@ -668,25 +672,25 @@ function AttoSendBlock() {
|
|
|
668
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
|
-
|
|
675
|
+
y2u() {
|
|
672
676
|
return this.v2y_1;
|
|
673
677
|
}
|
|
674
|
-
|
|
678
|
+
z2u() {
|
|
675
679
|
return this.w2y_1;
|
|
676
680
|
}
|
|
677
|
-
|
|
681
|
+
a2v() {
|
|
678
682
|
return this.x2y_1;
|
|
679
683
|
}
|
|
680
|
-
|
|
684
|
+
x2u() {
|
|
681
685
|
return this.y2y_1;
|
|
682
686
|
}
|
|
683
|
-
|
|
687
|
+
b2v() {
|
|
684
688
|
return this.z2y_1;
|
|
685
689
|
}
|
|
686
|
-
|
|
690
|
+
c2v() {
|
|
687
691
|
return this.a2z_1;
|
|
688
692
|
}
|
|
689
|
-
|
|
693
|
+
k2w() {
|
|
690
694
|
return this.b2z_1;
|
|
691
695
|
}
|
|
692
696
|
q2y() {
|
|
@@ -701,23 +705,23 @@ function AttoSendBlock() {
|
|
|
701
705
|
j2z() {
|
|
702
706
|
return this.amount;
|
|
703
707
|
}
|
|
704
|
-
|
|
708
|
+
l2y() {
|
|
705
709
|
return this.d2z_1;
|
|
706
710
|
}
|
|
707
|
-
|
|
711
|
+
f2w() {
|
|
708
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
|
-
|
|
718
|
+
h2v() {
|
|
715
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
727
|
writeAttoBlockType(this_0, this.d2z_1);
|
|
@@ -743,8 +747,8 @@ 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
753
|
if (this.receiverPublicKey.equals(this.y2y_1)) {
|
|
750
754
|
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.y2y_1.toString());
|
|
@@ -754,34 +758,34 @@ function AttoSendBlock() {
|
|
|
754
758
|
}
|
|
755
759
|
return Ok_instance;
|
|
756
760
|
}
|
|
757
|
-
|
|
761
|
+
hf() {
|
|
758
762
|
return this.v2y_1;
|
|
759
763
|
}
|
|
760
|
-
|
|
764
|
+
if() {
|
|
761
765
|
return this.w2y_1;
|
|
762
766
|
}
|
|
763
|
-
|
|
767
|
+
q2v() {
|
|
764
768
|
return this.x2y_1;
|
|
765
769
|
}
|
|
766
|
-
|
|
770
|
+
r2v() {
|
|
767
771
|
return this.y2y_1;
|
|
768
772
|
}
|
|
769
|
-
|
|
773
|
+
s2v() {
|
|
770
774
|
return this.z2y_1;
|
|
771
775
|
}
|
|
772
|
-
|
|
776
|
+
t2v() {
|
|
773
777
|
return this.a2z_1;
|
|
774
778
|
}
|
|
775
|
-
|
|
779
|
+
u2v() {
|
|
776
780
|
return this.b2z_1;
|
|
777
781
|
}
|
|
778
|
-
|
|
782
|
+
v2v() {
|
|
779
783
|
return this.c2z_1;
|
|
780
784
|
}
|
|
781
|
-
|
|
785
|
+
w2v() {
|
|
782
786
|
return this.receiverAlgorithm;
|
|
783
787
|
}
|
|
784
|
-
|
|
788
|
+
x2v() {
|
|
785
789
|
return this.receiverPublicKey;
|
|
786
790
|
}
|
|
787
791
|
l2z() {
|
|
@@ -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
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,40 +983,40 @@ 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.
|
|
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);
|
|
992
997
|
this.n2z_1 = tmp0_serialDesc;
|
|
993
998
|
}
|
|
994
999
|
o2z(encoder, value) {
|
|
995
1000
|
var tmp0_desc = this.n2z_1;
|
|
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
|
-
|
|
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) {
|
|
1012
1017
|
return this.o2z(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
|
|
1013
1018
|
}
|
|
1014
|
-
|
|
1019
|
+
pu(decoder) {
|
|
1015
1020
|
var tmp0_desc = this.n2z_1;
|
|
1016
1021
|
var tmp1_flag = true;
|
|
1017
1022
|
var tmp2_index = 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.
|
|
1115
|
+
tmp17_input.dz(tmp0_desc);
|
|
1111
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
|
-
|
|
1118
|
+
nu() {
|
|
1114
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() {
|
|
@@ -1163,25 +1168,25 @@ function AttoReceiveBlock() {
|
|
|
1163
1168
|
tmp.a30_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
|
|
1164
1169
|
this.b30_1 = new (AttoAddress())(this.r2z_1, this.s2z_1);
|
|
1165
1170
|
}
|
|
1166
|
-
|
|
1171
|
+
y2u() {
|
|
1167
1172
|
return this.p2z_1;
|
|
1168
1173
|
}
|
|
1169
|
-
|
|
1174
|
+
z2u() {
|
|
1170
1175
|
return this.q2z_1;
|
|
1171
1176
|
}
|
|
1172
|
-
|
|
1177
|
+
a2v() {
|
|
1173
1178
|
return this.r2z_1;
|
|
1174
1179
|
}
|
|
1175
|
-
|
|
1180
|
+
x2u() {
|
|
1176
1181
|
return this.s2z_1;
|
|
1177
1182
|
}
|
|
1178
|
-
|
|
1183
|
+
b2v() {
|
|
1179
1184
|
return this.t2z_1;
|
|
1180
1185
|
}
|
|
1181
|
-
|
|
1186
|
+
c2v() {
|
|
1182
1187
|
return this.u2z_1;
|
|
1183
1188
|
}
|
|
1184
|
-
|
|
1189
|
+
k2w() {
|
|
1185
1190
|
return this.v2z_1;
|
|
1186
1191
|
}
|
|
1187
1192
|
q2y() {
|
|
@@ -1193,20 +1198,20 @@ function AttoReceiveBlock() {
|
|
|
1193
1198
|
s2y() {
|
|
1194
1199
|
return this.y2z_1;
|
|
1195
1200
|
}
|
|
1196
|
-
|
|
1201
|
+
l2y() {
|
|
1197
1202
|
return this.z2z_1;
|
|
1198
1203
|
}
|
|
1199
|
-
|
|
1204
|
+
f2w() {
|
|
1200
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
|
-
|
|
1211
|
+
h2v() {
|
|
1207
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
1217
|
writeAttoBlockType(this_0, this.z2z_1);
|
|
@@ -1222,34 +1227,34 @@ function AttoReceiveBlock() {
|
|
|
1222
1227
|
writeAttoHash(this_0, this.y2z_1);
|
|
1223
1228
|
return this_0;
|
|
1224
1229
|
}
|
|
1225
|
-
|
|
1230
|
+
hf() {
|
|
1226
1231
|
return this.p2z_1;
|
|
1227
1232
|
}
|
|
1228
|
-
|
|
1233
|
+
if() {
|
|
1229
1234
|
return this.q2z_1;
|
|
1230
1235
|
}
|
|
1231
|
-
|
|
1236
|
+
q2v() {
|
|
1232
1237
|
return this.r2z_1;
|
|
1233
1238
|
}
|
|
1234
|
-
|
|
1239
|
+
r2v() {
|
|
1235
1240
|
return this.s2z_1;
|
|
1236
1241
|
}
|
|
1237
|
-
|
|
1242
|
+
s2v() {
|
|
1238
1243
|
return this.t2z_1;
|
|
1239
1244
|
}
|
|
1240
|
-
|
|
1245
|
+
t2v() {
|
|
1241
1246
|
return this.u2z_1;
|
|
1242
1247
|
}
|
|
1243
|
-
|
|
1248
|
+
u2v() {
|
|
1244
1249
|
return this.v2z_1;
|
|
1245
1250
|
}
|
|
1246
|
-
|
|
1251
|
+
v2v() {
|
|
1247
1252
|
return this.w2z_1;
|
|
1248
1253
|
}
|
|
1249
|
-
|
|
1254
|
+
w2v() {
|
|
1250
1255
|
return this.x2z_1;
|
|
1251
1256
|
}
|
|
1252
|
-
|
|
1257
|
+
x2v() {
|
|
1253
1258
|
return this.y2z_1;
|
|
1254
1259
|
}
|
|
1255
1260
|
d30(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
@@ -1337,25 +1342,25 @@ function AttoReceiveBlock() {
|
|
|
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
1366
|
return this.q2y();
|
|
@@ -1367,17 +1372,18 @@ function AttoReceiveBlock() {
|
|
|
1367
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,44 +1452,44 @@ 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.
|
|
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);
|
|
1462
1468
|
this.e30_1 = tmp0_serialDesc;
|
|
1463
1469
|
}
|
|
1464
1470
|
f30(encoder, value) {
|
|
1465
1471
|
var tmp0_desc = this.e30_1;
|
|
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
|
-
|
|
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) {
|
|
1484
1490
|
return this.f30(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
|
|
1485
1491
|
}
|
|
1486
|
-
|
|
1492
|
+
pu(decoder) {
|
|
1487
1493
|
var tmp0_desc = this.e30_1;
|
|
1488
1494
|
var tmp1_flag = true;
|
|
1489
1495
|
var tmp2_index = 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.
|
|
1602
|
+
tmp19_input.dz(tmp0_desc);
|
|
1597
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
|
-
|
|
1605
|
+
nu() {
|
|
1600
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,148 +1640,148 @@ 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.
|
|
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);
|
|
1653
1659
|
}
|
|
1654
|
-
|
|
1655
|
-
return this.
|
|
1660
|
+
y2u() {
|
|
1661
|
+
return this.c2u_1;
|
|
1656
1662
|
}
|
|
1657
|
-
|
|
1658
|
-
return this.
|
|
1663
|
+
z2u() {
|
|
1664
|
+
return this.d2u_1;
|
|
1659
1665
|
}
|
|
1660
|
-
|
|
1661
|
-
return this.
|
|
1666
|
+
a2v() {
|
|
1667
|
+
return this.e2u_1;
|
|
1662
1668
|
}
|
|
1663
|
-
|
|
1664
|
-
return this.
|
|
1669
|
+
x2u() {
|
|
1670
|
+
return this.f2u_1;
|
|
1665
1671
|
}
|
|
1666
|
-
|
|
1667
|
-
return this.
|
|
1672
|
+
c2v() {
|
|
1673
|
+
return this.g2u_1;
|
|
1668
1674
|
}
|
|
1669
|
-
|
|
1670
|
-
return this.
|
|
1675
|
+
k2w() {
|
|
1676
|
+
return this.h2u_1;
|
|
1671
1677
|
}
|
|
1672
1678
|
r2y() {
|
|
1673
|
-
return this.
|
|
1679
|
+
return this.i2u_1;
|
|
1674
1680
|
}
|
|
1675
1681
|
s2y() {
|
|
1676
|
-
return this.
|
|
1682
|
+
return this.j2u_1;
|
|
1677
1683
|
}
|
|
1678
|
-
|
|
1679
|
-
return this.
|
|
1684
|
+
f2v() {
|
|
1685
|
+
return this.k2u_1;
|
|
1680
1686
|
}
|
|
1681
|
-
|
|
1682
|
-
return this.
|
|
1687
|
+
g2v() {
|
|
1688
|
+
return this.l2u_1;
|
|
1683
1689
|
}
|
|
1684
|
-
|
|
1685
|
-
return this.
|
|
1690
|
+
l2y() {
|
|
1691
|
+
return this.m2u_1;
|
|
1686
1692
|
}
|
|
1687
|
-
|
|
1688
|
-
var tmp0 = this.
|
|
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.
|
|
1725
|
+
hf() {
|
|
1726
|
+
return this.c2u_1;
|
|
1721
1727
|
}
|
|
1722
|
-
|
|
1723
|
-
return this.
|
|
1728
|
+
if() {
|
|
1729
|
+
return this.d2u_1;
|
|
1724
1730
|
}
|
|
1725
|
-
|
|
1726
|
-
return this.
|
|
1731
|
+
q2v() {
|
|
1732
|
+
return this.e2u_1;
|
|
1727
1733
|
}
|
|
1728
|
-
|
|
1729
|
-
return this.
|
|
1734
|
+
r2v() {
|
|
1735
|
+
return this.f2u_1;
|
|
1730
1736
|
}
|
|
1731
|
-
|
|
1732
|
-
return this.
|
|
1737
|
+
s2v() {
|
|
1738
|
+
return this.g2u_1;
|
|
1733
1739
|
}
|
|
1734
|
-
|
|
1735
|
-
return this.
|
|
1740
|
+
t2v() {
|
|
1741
|
+
return this.h2u_1;
|
|
1736
1742
|
}
|
|
1737
|
-
|
|
1738
|
-
return this.
|
|
1743
|
+
u2v() {
|
|
1744
|
+
return this.i2u_1;
|
|
1739
1745
|
}
|
|
1740
|
-
|
|
1741
|
-
return this.
|
|
1746
|
+
v2v() {
|
|
1747
|
+
return this.j2u_1;
|
|
1742
1748
|
}
|
|
1743
|
-
|
|
1744
|
-
return this.
|
|
1749
|
+
w2v() {
|
|
1750
|
+
return this.k2u_1;
|
|
1745
1751
|
}
|
|
1746
|
-
|
|
1747
|
-
return this.
|
|
1752
|
+
x2v() {
|
|
1753
|
+
return this.l2u_1;
|
|
1748
1754
|
}
|
|
1749
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.
|
|
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;
|
|
1763
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.
|
|
1775
|
+
var result = this.c2u_1.hashCode();
|
|
1776
|
+
result = imul(result, 31) + this.d2u_1.hashCode() | 0;
|
|
1777
|
+
result = imul(result, 31) + this.e2u_1.hashCode() | 0;
|
|
1778
|
+
result = imul(result, 31) + this.f2u_1.hashCode() | 0;
|
|
1779
|
+
result = imul(result, 31) + this.g2u_1.hashCode() | 0;
|
|
1780
|
+
result = imul(result, 31) + this.h2u_1.hashCode() | 0;
|
|
1781
|
+
result = imul(result, 31) + this.i2u_1.hashCode() | 0;
|
|
1782
|
+
result = imul(result, 31) + this.j2u_1.hashCode() | 0;
|
|
1770
1783
|
result = imul(result, 31) + this.k2u_1.hashCode() | 0;
|
|
1771
1784
|
result = imul(result, 31) + this.l2u_1.hashCode() | 0;
|
|
1772
|
-
result = imul(result, 31) + this.m2u_1.hashCode() | 0;
|
|
1773
|
-
result = imul(result, 31) + this.n2u_1.hashCode() | 0;
|
|
1774
|
-
result = imul(result, 31) + this.o2u_1.hashCode() | 0;
|
|
1775
|
-
result = imul(result, 31) + this.p2u_1.hashCode() | 0;
|
|
1776
|
-
result = imul(result, 31) + this.q2u_1.hashCode() | 0;
|
|
1777
|
-
result = imul(result, 31) + this.r2u_1.hashCode() | 0;
|
|
1778
|
-
result = imul(result, 31) + this.s2u_1.hashCode() | 0;
|
|
1779
1785
|
return result;
|
|
1780
1786
|
}
|
|
1781
1787
|
equals(other) {
|
|
@@ -1783,25 +1789,25 @@ function AttoOpenBlock() {
|
|
|
1783
1789
|
return true;
|
|
1784
1790
|
if (!(other instanceof AttoOpenBlock()))
|
|
1785
1791
|
return false;
|
|
1786
|
-
if (!this.
|
|
1792
|
+
if (!this.c2u_1.equals(other.c2u_1))
|
|
1787
1793
|
return false;
|
|
1788
|
-
if (!this.
|
|
1794
|
+
if (!this.d2u_1.equals(other.d2u_1))
|
|
1789
1795
|
return false;
|
|
1790
|
-
if (!this.
|
|
1796
|
+
if (!this.e2u_1.equals(other.e2u_1))
|
|
1791
1797
|
return false;
|
|
1792
|
-
if (!this.
|
|
1798
|
+
if (!this.f2u_1.equals(other.f2u_1))
|
|
1793
1799
|
return false;
|
|
1794
|
-
if (!this.
|
|
1800
|
+
if (!this.g2u_1.equals(other.g2u_1))
|
|
1795
1801
|
return false;
|
|
1796
|
-
if (!this.
|
|
1802
|
+
if (!this.h2u_1.equals(other.h2u_1))
|
|
1797
1803
|
return false;
|
|
1798
|
-
if (!this.
|
|
1804
|
+
if (!this.i2u_1.equals(other.i2u_1))
|
|
1799
1805
|
return false;
|
|
1800
|
-
if (!this.
|
|
1806
|
+
if (!this.j2u_1.equals(other.j2u_1))
|
|
1801
1807
|
return false;
|
|
1802
|
-
if (!this.
|
|
1808
|
+
if (!this.k2u_1.equals(other.k2u_1))
|
|
1803
1809
|
return false;
|
|
1804
|
-
if (!this.
|
|
1810
|
+
if (!this.l2u_1.equals(other.l2u_1))
|
|
1805
1811
|
return false;
|
|
1806
1812
|
return true;
|
|
1807
1813
|
}
|
|
@@ -1811,50 +1817,50 @@ function AttoOpenBlock() {
|
|
|
1811
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
1866
|
return this.r2y();
|
|
@@ -1863,26 +1869,27 @@ function AttoOpenBlock() {
|
|
|
1863
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,42 +1953,42 @@ 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.
|
|
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);
|
|
1961
1968
|
this.i30_1 = tmp0_serialDesc;
|
|
1962
1969
|
}
|
|
1963
1970
|
j30(encoder, value) {
|
|
1964
1971
|
var tmp0_desc = this.i30_1;
|
|
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
|
-
|
|
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) {
|
|
1982
1989
|
return this.j30(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
|
|
1983
1990
|
}
|
|
1984
|
-
|
|
1991
|
+
pu(decoder) {
|
|
1985
1992
|
var tmp0_desc = this.i30_1;
|
|
1986
1993
|
var tmp1_flag = true;
|
|
1987
1994
|
var tmp2_index = 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.
|
|
2094
|
+
tmp18_input.dz(tmp0_desc);
|
|
2088
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
|
-
|
|
2097
|
+
nu() {
|
|
2091
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() {
|
|
@@ -2141,53 +2148,53 @@ function AttoChangeBlock() {
|
|
|
2141
2148
|
this.w30_1 = new (AttoAddress())(this.m30_1, this.n30_1);
|
|
2142
2149
|
this.representativeAddress = new (AttoAddress())(this.s30_1, this.t30_1);
|
|
2143
2150
|
}
|
|
2144
|
-
|
|
2151
|
+
y2u() {
|
|
2145
2152
|
return this.k30_1;
|
|
2146
2153
|
}
|
|
2147
|
-
|
|
2154
|
+
z2u() {
|
|
2148
2155
|
return this.l30_1;
|
|
2149
2156
|
}
|
|
2150
|
-
|
|
2157
|
+
a2v() {
|
|
2151
2158
|
return this.m30_1;
|
|
2152
2159
|
}
|
|
2153
|
-
|
|
2160
|
+
x2u() {
|
|
2154
2161
|
return this.n30_1;
|
|
2155
2162
|
}
|
|
2156
|
-
|
|
2163
|
+
b2v() {
|
|
2157
2164
|
return this.o30_1;
|
|
2158
2165
|
}
|
|
2159
|
-
|
|
2166
|
+
c2v() {
|
|
2160
2167
|
return this.p30_1;
|
|
2161
2168
|
}
|
|
2162
|
-
|
|
2169
|
+
k2w() {
|
|
2163
2170
|
return this.q30_1;
|
|
2164
2171
|
}
|
|
2165
2172
|
q2y() {
|
|
2166
2173
|
return this.r30_1;
|
|
2167
2174
|
}
|
|
2168
|
-
|
|
2175
|
+
f2v() {
|
|
2169
2176
|
return this.s30_1;
|
|
2170
2177
|
}
|
|
2171
|
-
|
|
2178
|
+
g2v() {
|
|
2172
2179
|
return this.t30_1;
|
|
2173
2180
|
}
|
|
2174
|
-
|
|
2181
|
+
l2y() {
|
|
2175
2182
|
return this.u30_1;
|
|
2176
2183
|
}
|
|
2177
|
-
|
|
2184
|
+
f2w() {
|
|
2178
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
|
-
|
|
2191
|
+
h2v() {
|
|
2185
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
2200
|
writeAttoBlockType(this_0, this.u30_1);
|
|
@@ -2203,34 +2210,34 @@ function AttoChangeBlock() {
|
|
|
2203
2210
|
writeAttoPublicKey(this_0, this.t30_1);
|
|
2204
2211
|
return this_0;
|
|
2205
2212
|
}
|
|
2206
|
-
|
|
2213
|
+
hf() {
|
|
2207
2214
|
return this.k30_1;
|
|
2208
2215
|
}
|
|
2209
|
-
|
|
2216
|
+
if() {
|
|
2210
2217
|
return this.l30_1;
|
|
2211
2218
|
}
|
|
2212
|
-
|
|
2219
|
+
q2v() {
|
|
2213
2220
|
return this.m30_1;
|
|
2214
2221
|
}
|
|
2215
|
-
|
|
2222
|
+
r2v() {
|
|
2216
2223
|
return this.n30_1;
|
|
2217
2224
|
}
|
|
2218
|
-
|
|
2225
|
+
s2v() {
|
|
2219
2226
|
return this.o30_1;
|
|
2220
2227
|
}
|
|
2221
|
-
|
|
2228
|
+
t2v() {
|
|
2222
2229
|
return this.p30_1;
|
|
2223
2230
|
}
|
|
2224
|
-
|
|
2231
|
+
u2v() {
|
|
2225
2232
|
return this.q30_1;
|
|
2226
2233
|
}
|
|
2227
|
-
|
|
2234
|
+
v2v() {
|
|
2228
2235
|
return this.r30_1;
|
|
2229
2236
|
}
|
|
2230
|
-
|
|
2237
|
+
w2v() {
|
|
2231
2238
|
return this.s30_1;
|
|
2232
2239
|
}
|
|
2233
|
-
|
|
2240
|
+
x2v() {
|
|
2234
2241
|
return this.t30_1;
|
|
2235
2242
|
}
|
|
2236
2243
|
y30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
@@ -2322,47 +2329,48 @@ function AttoChangeBlock() {
|
|
|
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
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
|
}
|