diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6945c85..49e2d4fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,24 +9,45 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - gradle_args: publishKotlinMultiplatformPublicationToSonatypeRepository - - os: ubuntu-latest - gradle_args: jvmTest publishJvmPublicationToSonatypeRepository - - os: ubuntu-latest - gradle_args: publishMingwX64PublicationToSonatypeRepository - - os: ubuntu-latest - gradle_args: publishLinuxX64PublicationToSonatypeRepository - - os: macos-latest - gradle_args: publishMacosX64PublicationToSonatypeRepository - - os: macos-latest - gradle_args: publishMacosArm64PublicationToSonatypeRepository - os: macos-latest gradle_args: publishIosX64PublicationToSonatypeRepository - os: macos-latest gradle_args: publishIosArm64PublicationToSonatypeRepository - os: macos-latest gradle_args: publishIosSimulatorArm64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishTvosX64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishTvosArm64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishTvosSimulatorArm64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishTvosSimulatorArm64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishWatchosArm32PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishWatchosArm64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishWatchosX64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishWatchosSimulatorArm64PublicationToSonatypeRepository + + - os: macos-latest + gradle_args: publishMacosX64PublicationToSonatypeRepository + - os: macos-latest + gradle_args: publishMacosArm64PublicationToSonatypeRepository + + - os: ubuntu-latest + gradle_args: publishKotlinMultiplatformPublicationToSonatypeRepository + - os: ubuntu-latest + gradle_args: jvmTest publishJvmPublicationToSonatypeRepository + - os: ubuntu-latest + gradle_args: publishLinuxX64PublicationToSonatypeRepository + - os: ubuntu-latest + gradle_args: publishArmX64PublicationToSonatypeRepository + - os: ubuntu-latest + gradle_args: publishMingwX64PublicationToSonatypeRepository + runs-on: ${{ matrix.os }} steps: - name: Checkout project sources diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..23f13259 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,31 @@ +# 0.3.0 + +### New features + +- Added `WalletV4R2Contract` to `ton-kotlin-contract` ([#109](https://github.com/ton-community/ton-kotlin/issues/109)) +- Added support for `MsgAddressExt` for wallet contracts + +### Fixes + +- Fixed LibraryReference Cell creation ([#101](https://github.com/ton-community/ton-kotlin/issues/101)) + +### Module structure refactoring + +- `ton-kotlin-boc` moved into `ton-kotlin-tvm` +- `ton-kotlin-cell` moved into `ton-kotlin-tvm` +- `ton-kotlin-mnemonic` module merged into `ton-kotlin-crypto` +- `ton-kotlin-block` renamed to `ton-kotlin-block-tlb` +- `ton-kotlin-hashmap` renamed to `ton-kotlin-hashmap-tlb` +- `ton-kotlin-api` renamed to `ton-kotlin-tonapi-tl` +- `ton-kotlin-liteapi` renamed to `ton-kotlin-liteapi-tl` + +### Removed + +- `ton-kotlin-fift` removed due to lack of interest +- `ton-kotlin-logger` removed due uselessness + +## Deprecated + +- [VarUInteger](https://github.com/ton-community/ton-kotlin/blob/main/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarUInteger.kt#L18) + arithmetic operators will be removed in the next release due separation of serialization objects + and actual arithmetics, use `BigInt` instead. ([#102](https://github.com/ton-community/ton-kotlin/issues/102)) diff --git a/adnl/api/ton-kotlin-adnl.api b/adnl/api/ton-kotlin-adnl.api new file mode 100644 index 00000000..ae05993a --- /dev/null +++ b/adnl/api/ton-kotlin-adnl.api @@ -0,0 +1,278 @@ +public abstract interface class org/ton/adnl/Adnl { + public static final field Companion Lorg/ton/adnl/Adnl$Companion; + public abstract fun addLocalId (Lorg/ton/api/pk/PrivateKey;)V + public abstract fun addPeer (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;)V + public fun getHugePacketMaxSize ()I + public fun getMtu ()I + public abstract fun getNetworkEngine ()Lorg/ton/adnl/engine/AdnlNetworkEngine; + public abstract fun sendMessage (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun sendQuery-gwCluXo (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;JILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendQuery-gwCluXo$default (Lorg/ton/adnl/Adnl;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;JILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public abstract fun subscribeMessage (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/adnl/Adnl$MessageHandler;)Lorg/ton/adnl/Adnl$MessageHandler; + public abstract fun subscribeQuery (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/adnl/Adnl$QueryHandler;)Lorg/ton/adnl/Adnl$QueryHandler; +} + +public final class org/ton/adnl/Adnl$Companion { + public final fun create (Lorg/ton/adnl/engine/AdnlNetworkEngine;)Lorg/ton/adnl/Adnl; +} + +public abstract interface class org/ton/adnl/Adnl$MessageHandler { + public abstract fun onMessage (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;)V +} + +public abstract interface class org/ton/adnl/Adnl$QueryHandler { + public abstract fun onQuery (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;)Lorg/ton/tl/ByteString; +} + +public abstract interface class org/ton/adnl/AdnlPeer { + public abstract fun handlePacket (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/AdnlPacketContents;)V + public abstract fun sendMessages (Lorg/ton/api/adnl/AdnlIdShort;[Lorg/ton/api/adnl/message/AdnlMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun sendQuery-exY8QGI (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendQuery-exY8QGI$default (Lorg/ton/adnl/AdnlPeer;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;JLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; +} + +public abstract interface class org/ton/adnl/AdnlPeerSession { + public abstract fun getAdnl ()Lorg/ton/adnl/Adnl; + public fun getHugePacketMaxSize ()I + public fun getMtu ()I + public fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessage;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageAnswer;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageCreateChannel;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageCustom;)V + public fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageNop;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessagePart;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageQuery;)V + public abstract fun handleMessage (Lorg/ton/api/adnl/message/AdnlMessageReinit;)V + public abstract fun handlePacket (Lorg/ton/api/adnl/AdnlPacketContents;)V + public abstract fun sendMessages ([Lorg/ton/api/adnl/message/AdnlMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun sendQuery-8Mi8wO0 (Lorg/ton/tl/ByteString;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendQuery-8Mi8wO0$default (Lorg/ton/adnl/AdnlPeerSession;Lorg/ton/tl/ByteString;JLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; +} + +public abstract interface class org/ton/adnl/connection/AdnlClient { + public abstract fun sendQuery-8Mi8wO0 (Lio/ktor/utils/io/core/ByteReadPacket;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/connection/AdnlClientImpl : org/ton/adnl/connection/AdnlClient { + public static final field Companion Lorg/ton/adnl/connection/AdnlClientImpl$Companion; + public fun (Lorg/ton/api/liteserver/LiteServerDesc;)V + public fun sendQuery-8Mi8wO0 (Lio/ktor/utils/io/core/ByteReadPacket;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/connection/AdnlClientImpl$Companion { +} + +public final class org/ton/adnl/connection/AdnlConnection : java/io/Closeable, kotlinx/coroutines/CoroutineScope { + public static final field CONNECTION_ATTEMPTS I + public static final field Companion Lorg/ton/adnl/connection/AdnlConnection$Companion; + public fun (Lorg/ton/api/liteserver/LiteServerDesc;Lorg/ton/adnl/connection/AdnlConnectionFactory;Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function0;)V + public fun close ()V + public final fun execute (Lorg/ton/adnl/connection/AdnlRequestData;Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext; + public final fun getLiteServerDesc ()Lorg/ton/api/liteserver/LiteServerDesc; +} + +public final class org/ton/adnl/connection/AdnlConnection$Companion { + public final fun getCONNECT_TIMEOUT-UwyO8pc ()J + public final fun getMAX_IDLE_TIME-UwyO8pc ()J +} + +public final class org/ton/adnl/connection/AdnlConnectionFactory { + public fun ()V + public final fun connect (Lorg/ton/api/liteserver/LiteServerDesc;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/connection/AdnlConnectionPool : java/io/Closeable, kotlinx/coroutines/CoroutineScope { + public fun ()V + public fun close ()V + public fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext; + public final fun selectConnection (Lorg/ton/api/liteserver/LiteServerDesc;)Lorg/ton/adnl/connection/AdnlConnection; +} + +public final class org/ton/adnl/connection/AdnlRequestData { + public fun ([BLkotlinx/coroutines/Job;)V + public final fun getBody ()[B + public final fun getExecutionContext ()Lkotlinx/coroutines/Job; +} + +public final class org/ton/adnl/connection/AdnlResponseData { + public fun (Lkotlinx/datetime/Instant;Lio/ktor/utils/io/core/ByteReadPacket;Lkotlin/coroutines/CoroutineContext;)V + public final fun getBody ()Lio/ktor/utils/io/core/ByteReadPacket; + public final fun getCallContext ()Lkotlin/coroutines/CoroutineContext; + public final fun getRequestTime ()Lkotlinx/datetime/Instant; + public final fun getResponseTime ()Lkotlinx/datetime/Instant; +} + +public abstract interface class org/ton/adnl/engine/AdnlNetworkEngine { + public abstract fun receiveDatagram (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun sendDatagram (Lorg/ton/api/adnl/AdnlAddressUdp;Lio/ktor/utils/io/core/ByteReadPacket;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/engine/CIOAdnlNetworkEngine : org/ton/adnl/engine/AdnlNetworkEngine { + public static final field Companion Lorg/ton/adnl/engine/CIOAdnlNetworkEngine$Companion; + public fun ()V + public fun (I)V + public fun (Lorg/ton/api/adnl/AdnlAddressUdp;)V + public synthetic fun (Lorg/ton/api/adnl/AdnlAddressUdp;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getSocket ()Lio/ktor/network/sockets/BoundDatagramSocket; + public fun receiveDatagram (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun sendDatagram (Lorg/ton/api/adnl/AdnlAddressUdp;Lio/ktor/utils/io/core/ByteReadPacket;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/engine/CIOAdnlNetworkEngine$Companion { +} + +public final class org/ton/adnl/exception/AdnlOldPacketSeqnoException : java/lang/RuntimeException { + public fun (JJ)V + public final fun getLocalSeqno ()J + public final fun getPacketSeqno ()J +} + +public final class org/ton/adnl/exception/AdnlOldPeerReinitDateException : java/lang/RuntimeException { + public fun (Lkotlinx/datetime/Instant;)V + public final fun getReinitDate ()Lkotlinx/datetime/Instant; +} + +public final class org/ton/adnl/exception/AdnlTooNewAckSeqnoException : java/lang/RuntimeException { + public fun (JJ)V + public final fun getAckSeqno ()J + public final fun getLocalSeqno ()J +} + +public final class org/ton/adnl/exception/AdnlTooNewAddressListReinitDateException : java/lang/RuntimeException { + public fun (Lkotlinx/datetime/Instant;Lorg/ton/api/adnl/AdnlAddressList;)V + public final fun getAddressList ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun getReinitDate ()Lkotlinx/datetime/Instant; +} + +public final class org/ton/adnl/exception/AdnlTooNewLocalReinitDateException : java/lang/RuntimeException { + public fun (Lkotlinx/datetime/Instant;)V + public final fun getReinitDate ()Lkotlinx/datetime/Instant; +} + +public final class org/ton/adnl/exception/AdnlTooNewRemoteReinitDateException : java/lang/RuntimeException { + public fun (Lkotlinx/datetime/Instant;)V + public final fun getReinitDate ()Lkotlinx/datetime/Instant; +} + +public final class org/ton/adnl/exception/UnknownAdnlDestinationException : java/lang/RuntimeException { + public fun (Lorg/ton/api/adnl/AdnlIdShort;)V + public final fun getDestination ()Lorg/ton/api/adnl/AdnlIdShort; +} + +public abstract interface class org/ton/adnl/network/IPAddress { + public static final field Companion Lorg/ton/adnl/network/IPAddress$Companion; + public abstract fun getHost ()Ljava/lang/String; + public abstract fun getPort ()I + public static fun ipv4 (II)Lorg/ton/adnl/network/IPAddress; + public static fun ipv4 (Ljava/lang/String;I)Lorg/ton/adnl/network/IPAddress; + public static fun ipv6 ([BI)Lorg/ton/adnl/network/IPAddress; + public abstract fun toAdnlAddress ()Lorg/ton/api/adnl/AdnlAddress; +} + +public final class org/ton/adnl/network/IPAddress$Companion { + public final fun ipv4 (II)Lorg/ton/adnl/network/IPAddress; + public final fun ipv4 (Ljava/lang/String;I)Lorg/ton/adnl/network/IPAddress; + public final fun ipv6 ([BI)Lorg/ton/adnl/network/IPAddress; +} + +public final class org/ton/adnl/network/IPv4Address : org/ton/adnl/network/IPAddress { + public fun (II)V + public fun (Ljava/lang/String;I)V + public final fun component1 ()I + public final fun component2 ()I + public final fun copy (II)Lorg/ton/adnl/network/IPv4Address; + public static synthetic fun copy$default (Lorg/ton/adnl/network/IPv4Address;IIILjava/lang/Object;)Lorg/ton/adnl/network/IPv4Address; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()I + public fun getHost ()Ljava/lang/String; + public fun getPort ()I + public fun hashCode ()I + public synthetic fun toAdnlAddress ()Lorg/ton/api/adnl/AdnlAddress; + public fun toAdnlAddress ()Lorg/ton/api/adnl/AdnlAddressUdp; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/adnl/network/IPv6Address : org/ton/adnl/network/IPAddress { + public fun ([BI)V + public final fun component1 ()[B + public final fun component2 ()I + public final fun copy ([BI)Lorg/ton/adnl/network/IPv6Address; + public static synthetic fun copy$default (Lorg/ton/adnl/network/IPv6Address;[BIILjava/lang/Object;)Lorg/ton/adnl/network/IPv6Address; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddress ()[B + public fun getHost ()Ljava/lang/String; + public fun getPort ()I + public fun hashCode ()I + public synthetic fun toAdnlAddress ()Lorg/ton/api/adnl/AdnlAddress; + public fun toAdnlAddress ()Lorg/ton/api/adnl/AdnlAddressUdp6; + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/adnl/network/TcpClient : java/io/Closeable, kotlinx/coroutines/DisposableHandle { + public abstract fun close (Ljava/lang/Throwable;)V + public abstract fun connect (Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun dispose ()V + public abstract fun getInput ()Lio/ktor/utils/io/ByteReadChannel; + public abstract fun getOutput ()Lio/ktor/utils/io/ByteWriteChannel; +} + +public final class org/ton/adnl/network/TcpClientImpl : org/ton/adnl/network/TcpClient { + public static final field Companion Lorg/ton/adnl/network/TcpClientImpl$Companion; + public fun ()V + public fun close ()V + public fun close (Ljava/lang/Throwable;)V + public fun connect (Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getInput ()Lio/ktor/utils/io/ByteReadChannel; + public fun getOutput ()Lio/ktor/utils/io/ByteWriteChannel; +} + +public final class org/ton/adnl/network/TcpClientImpl$Companion { +} + +public abstract interface class org/ton/adnl/network/UdpServer : kotlinx/coroutines/CoroutineScope { + public static final field Companion Lorg/ton/adnl/network/UdpServer$Companion; + public abstract fun send (Lorg/ton/adnl/network/IPAddress;Lio/ktor/utils/io/core/ByteReadPacket;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public abstract interface class org/ton/adnl/network/UdpServer$Callback { + public abstract fun receive (Lorg/ton/adnl/network/IPAddress;Lio/ktor/utils/io/core/ByteReadPacket;)V +} + +public final class org/ton/adnl/network/UdpServer$Companion { + public final fun create (Lkotlin/coroutines/CoroutineContext;ILorg/ton/adnl/network/UdpServer$Callback;)Lorg/ton/adnl/network/UdpServer; +} + +public final class org/ton/adnl/peer/AdnlMessagePartDecoder { + public fun ()V + public fun (I)V + public synthetic fun (IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun decode (Lorg/ton/api/adnl/message/AdnlMessagePart;)Lorg/ton/api/adnl/message/AdnlMessage; +} + +public final class org/ton/adnl/peer/AdnlMessagePartEncoder { + public fun (II)V + public synthetic fun (IIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun encode (Lorg/ton/api/adnl/message/AdnlMessage;)Ljava/util/List; + public final fun getMaxSize ()I + public final fun getMtu ()I +} + +public abstract interface class org/ton/adnl/resolver/AdnlAddressResolver { + public abstract fun resolve (Lorg/ton/api/adnl/AdnlIdShort;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun resolve (Lorg/ton/api/pub/PublicKey;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun resolve$suspendImpl (Lorg/ton/adnl/resolver/AdnlAddressResolver;Lorg/ton/api/pub/PublicKey;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/resolver/MapAdnlAddressResolver : org/ton/adnl/resolver/AdnlAddressResolver { + public fun (Ljava/util/Map;)V + public fun resolve (Lorg/ton/api/adnl/AdnlIdShort;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/adnl/utils/IpKt { + public static final fun toAdnlUdpAddress (Lio/ktor/network/sockets/InetSocketAddress;)Lorg/ton/api/adnl/AdnlAddressUdp; + public static final fun toAdnlUdpAddress (Lio/ktor/network/sockets/SocketAddress;)Lorg/ton/api/adnl/AdnlAddressUdp; + public static final fun toSocketAddress (Lorg/ton/api/adnl/AdnlAddressUdp;)Lio/ktor/network/sockets/InetSocketAddress; +} + diff --git a/adnl/build.gradle.kts b/adnl/build.gradle.kts new file mode 100644 index 00000000..a49a344b --- /dev/null +++ b/adnl/build.gradle.kts @@ -0,0 +1,39 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(projects.tonKotlinTonapiTl) + implementation(libs.serialization.json) + implementation(libs.atomicfu) + implementation(libs.datetime) + implementation(libs.coroutines.core) + implementation(libs.ktor.utils) + } + } + nativeMain { + dependencies { + implementation(libs.bignum) + } + } + appleMain { + dependencies { + implementation(libs.ktor.network) + } + } + jvmMain { + dependencies { + implementation(libs.ktor.network) + } + } + linuxMain { + dependencies { + implementation(libs.ktor.network) + } + } + } +} diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/Adnl.kt b/adnl/src/Adnl.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/Adnl.kt rename to adnl/src/Adnl.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/AdnlPeers.kt b/adnl/src/AdnlPeers.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/AdnlPeers.kt rename to adnl/src/AdnlPeers.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlClient.kt b/adnl/src/connection/AdnlClient.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlClient.kt rename to adnl/src/connection/AdnlClient.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlClientImpl.kt b/adnl/src/connection/AdnlClientImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlClientImpl.kt rename to adnl/src/connection/AdnlClientImpl.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlConnection.kt b/adnl/src/connection/AdnlConnection.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlConnection.kt rename to adnl/src/connection/AdnlConnection.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlConnectionFactory.kt b/adnl/src/connection/AdnlConnectionFactory.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlConnectionFactory.kt rename to adnl/src/connection/AdnlConnectionFactory.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlConnectionPool.kt b/adnl/src/connection/AdnlConnectionPool.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlConnectionPool.kt rename to adnl/src/connection/AdnlConnectionPool.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlRequestData.kt b/adnl/src/connection/AdnlRequestData.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/connection/AdnlRequestData.kt rename to adnl/src/connection/AdnlRequestData.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/engine/AdnlNetworkEngine.kt b/adnl/src/engine/AdnlNetworkEngine.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/engine/AdnlNetworkEngine.kt rename to adnl/src/engine/AdnlNetworkEngine.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlOldPacketSeqnoException.kt b/adnl/src/exception/AdnlOldPacketSeqnoException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlOldPacketSeqnoException.kt rename to adnl/src/exception/AdnlOldPacketSeqnoException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlOldPeerReinitDateException.kt b/adnl/src/exception/AdnlOldPeerReinitDateException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlOldPeerReinitDateException.kt rename to adnl/src/exception/AdnlOldPeerReinitDateException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewAckSeqnoException.kt b/adnl/src/exception/AdnlTooNewAckSeqnoException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewAckSeqnoException.kt rename to adnl/src/exception/AdnlTooNewAckSeqnoException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewAddressListReinitDateException.kt b/adnl/src/exception/AdnlTooNewAddressListReinitDateException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewAddressListReinitDateException.kt rename to adnl/src/exception/AdnlTooNewAddressListReinitDateException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewLocalReinitDateException.kt b/adnl/src/exception/AdnlTooNewLocalReinitDateException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewLocalReinitDateException.kt rename to adnl/src/exception/AdnlTooNewLocalReinitDateException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewRemoteReinitDateException.kt b/adnl/src/exception/AdnlTooNewRemoteReinitDateException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/AdnlTooNewRemoteReinitDateException.kt rename to adnl/src/exception/AdnlTooNewRemoteReinitDateException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/UnknownAdnlDestinationException.kt b/adnl/src/exception/UnknownAdnlDestinationException.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/exception/UnknownAdnlDestinationException.kt rename to adnl/src/exception/UnknownAdnlDestinationException.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/IPAddress.kt b/adnl/src/network/IPAddress.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/IPAddress.kt rename to adnl/src/network/IPAddress.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/TcpClient.kt b/adnl/src/network/TcpClient.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/TcpClient.kt rename to adnl/src/network/TcpClient.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt b/adnl/src/network/TcpClientImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt rename to adnl/src/network/TcpClientImpl.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/UdpServer.kt b/adnl/src/network/UdpServer.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/UdpServer.kt rename to adnl/src/network/UdpServer.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt b/adnl/src/network/UdpServerImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt rename to adnl/src/network/UdpServerImpl.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/peer/AdnlMessagePartDecoder.kt b/adnl/src/peer/AdnlMessagePartDecoder.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/peer/AdnlMessagePartDecoder.kt rename to adnl/src/peer/AdnlMessagePartDecoder.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/peer/AdnlMessagePartEncoder.kt b/adnl/src/peer/AdnlMessagePartEncoder.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/peer/AdnlMessagePartEncoder.kt rename to adnl/src/peer/AdnlMessagePartEncoder.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/AdnlAddressResolver.kt b/adnl/src/resolver/AdnlAddressResolver.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/AdnlAddressResolver.kt rename to adnl/src/resolver/AdnlAddressResolver.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/MapAdnlAddressResolver.kt b/adnl/src/resolver/MapAdnlAddressResolver.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/MapAdnlAddressResolver.kt rename to adnl/src/resolver/MapAdnlAddressResolver.kt diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/utils.kt b/adnl/src/utils.kt similarity index 100% rename from ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/utils.kt rename to adnl/src/utils.kt diff --git a/ton-kotlin-adnl/src/darwinMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt b/adnl/src@apple/network/TcpClientImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/darwinMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt rename to adnl/src@apple/network/TcpClientImpl.kt diff --git a/ton-kotlin-adnl/src/darwinMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt b/adnl/src@apple/network/UdpServerImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/darwinMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt rename to adnl/src@apple/network/UdpServerImpl.kt diff --git a/ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/engine/CIOAdnlNetworkEngine.kt b/adnl/src@jvm/engine/CIOAdnlNetworkEngine.kt similarity index 94% rename from ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/engine/CIOAdnlNetworkEngine.kt rename to adnl/src@jvm/engine/CIOAdnlNetworkEngine.kt index 8c7b3076..57fb8918 100644 --- a/ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/engine/CIOAdnlNetworkEngine.kt +++ b/adnl/src@jvm/engine/CIOAdnlNetworkEngine.kt @@ -13,7 +13,7 @@ import org.ton.api.adnl.AdnlAddressUdp public class CIOAdnlNetworkEngine( localAddress: AdnlAddressUdp = AdnlAddressUdp(ipv4("0.0.0.0"), 0) ) : AdnlNetworkEngine { - constructor(port: Int) : this(AdnlAddressUdp(ipv4("0.0.0.0"), port)) + public constructor(port: Int) : this(AdnlAddressUdp(ipv4("0.0.0.0"), port)) public val socket: BoundDatagramSocket = aSocket(ActorSelectorManager(DISPATCHER)).udp().bind(localAddress.toSocketAddress()) diff --git a/ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt b/adnl/src@jvm/network/TcpClientImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt rename to adnl/src@jvm/network/TcpClientImpl.kt diff --git a/ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt b/adnl/src@jvm/network/UdpServerImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt rename to adnl/src@jvm/network/UdpServerImpl.kt diff --git a/ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/utils/ip.kt b/adnl/src@jvm/utils/ip.kt similarity index 100% rename from ton-kotlin-adnl/src/jvmMain/kotlin/org/ton/adnl/utils/ip.kt rename to adnl/src@jvm/utils/ip.kt diff --git a/ton-kotlin-adnl/src/linuxMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt b/adnl/src@linux/network/TcpClientImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/linuxMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt rename to adnl/src@linux/network/TcpClientImpl.kt diff --git a/ton-kotlin-adnl/src/linuxMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt b/adnl/src@linux/network/UdpServerImpl.kt similarity index 100% rename from ton-kotlin-adnl/src/linuxMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt rename to adnl/src@linux/network/UdpServerImpl.kt diff --git a/ton-kotlin-adnl/src/mingwMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt b/adnl/src@mingw/network/TcpClientImpl.kt similarity index 97% rename from ton-kotlin-adnl/src/mingwMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt rename to adnl/src@mingw/network/TcpClientImpl.kt index a247717b..e8eebfa0 100644 --- a/ton-kotlin-adnl/src/mingwMain/kotlin/org/ton/adnl/network/TcpClientImpl.kt +++ b/adnl/src@mingw/network/TcpClientImpl.kt @@ -1,3 +1,5 @@ +@file:OptIn(ExperimentalForeignApi::class) + package org.ton.adnl.network import io.ktor.utils.io.* @@ -17,6 +19,8 @@ public actual class TcpClientImpl actual constructor( private var socket: SOCKET = INVALID_SOCKET override val input: ByteChannel = ByteChannel() override val output: ByteChannel = ByteChannel() + + @OptIn(ExperimentalForeignApi::class) private val inputJob = launch(newSingleThreadContext("tcp-input"), start = CoroutineStart.LAZY) { try { val buffer = ByteArray(1024) diff --git a/ton-kotlin-adnl/src/mingwMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt b/adnl/src@mingw/network/UdpServerImpl.kt similarity index 99% rename from ton-kotlin-adnl/src/mingwMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt rename to adnl/src@mingw/network/UdpServerImpl.kt index 58b29dd3..0757d1af 100644 --- a/ton-kotlin-adnl/src/mingwMain/kotlin/org/ton/adnl/network/UdpServerImpl.kt +++ b/adnl/src@mingw/network/UdpServerImpl.kt @@ -18,6 +18,7 @@ import platform.windows.sockaddr_in6 import platform.windows.socket import kotlin.coroutines.CoroutineContext +@OptIn(ExperimentalForeignApi::class) internal actual class UdpServerImpl actual constructor( override val coroutineContext: CoroutineContext, actual val port: Int, diff --git a/bigint/api/ton-kotlin-bigint.api b/bigint/api/ton-kotlin-bigint.api new file mode 100644 index 00000000..b770b952 --- /dev/null +++ b/bigint/api/ton-kotlin-bigint.api @@ -0,0 +1,44 @@ +public final class org/ton/bigint/BigIntJvmKt { + public static final fun and (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun div (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun div (Ljava/math/BigInteger;J)Ljava/math/BigInteger; + public static final fun div (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun divRem (Ljava/math/BigInteger;Ljava/math/BigInteger;)Lkotlin/Pair; + public static final fun getBitLength (Ljava/math/BigInteger;)I + public static final fun getSign (Ljava/math/BigInteger;)I + public static final fun isZero (Ljava/math/BigInteger;)Z + public static final fun minus (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun minus (Ljava/math/BigInteger;J)Ljava/math/BigInteger; + public static final fun minus (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun not (Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun or (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun plus (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun plus (Ljava/math/BigInteger;J)Ljava/math/BigInteger; + public static final fun plus (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun pow (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun rem (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun shl (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun shr (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun times (Ljava/math/BigInteger;I)Ljava/math/BigInteger; + public static final fun times (Ljava/math/BigInteger;J)Ljava/math/BigInteger; + public static final fun times (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun toBigInt (I)Ljava/math/BigInteger; + public static final fun toBigInt (J)Ljava/math/BigInteger; + public static final fun unaryMinus (Ljava/math/BigInteger;)Ljava/math/BigInteger; + public static final fun xor (Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger; +} + +public final class org/ton/bigint/BigIntKt { + public static final fun compareTo (Ljava/math/BigInteger;I)I + public static final fun compareTo (Ljava/math/BigInteger;J)I +} + +public final class org/ton/bigint/BigIntSerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lorg/ton/bigint/BigIntSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/math/BigInteger; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/math/BigInteger;)V +} + diff --git a/ton-kotlin-bigint/build.gradle.kts b/bigint/build.gradle.kts similarity index 52% rename from ton-kotlin-bigint/build.gradle.kts rename to bigint/build.gradle.kts index 89b4fd53..9aa97cc8 100644 --- a/ton-kotlin-bigint/build.gradle.kts +++ b/bigint/build.gradle.kts @@ -1,14 +1,18 @@ +plugins { + id("multiplatform") + id("publish") +} + kotlin { sourceSets { - val commonMain by getting { + commonMain { dependencies { implementation(libs.serialization.json) } } - val commonTest by getting - val nativeMain by getting { + nativeMain { dependencies { - implementation("com.ionspin.kotlin:bignum:0.3.7") + implementation(libs.bignum) } } } diff --git a/ton-kotlin-bigint/src/commonMain/kotlin/org/ton/bigint/BigInt.kt b/bigint/src/BigInt.kt similarity index 100% rename from ton-kotlin-bigint/src/commonMain/kotlin/org/ton/bigint/BigInt.kt rename to bigint/src/BigInt.kt diff --git a/ton-kotlin-bigint/src/jvmMain/kotlin/org/ton/bigint/BigIntJvm.kt b/bigint/src@jvm/BigIntJvm.kt similarity index 98% rename from ton-kotlin-bigint/src/jvmMain/kotlin/org/ton/bigint/BigIntJvm.kt rename to bigint/src@jvm/BigIntJvm.kt index 0ce72b2c..a3c96ac1 100644 --- a/ton-kotlin-bigint/src/jvmMain/kotlin/org/ton/bigint/BigIntJvm.kt +++ b/bigint/src@jvm/BigIntJvm.kt @@ -43,6 +43,7 @@ public actual infix fun BigInt.xor(mod: BigInt): BigInt = xor(mod) public actual infix fun BigInt.pow(pow: Int): BigInt = pow(pow) +@Suppress("EXTENSION_SHADOWED_BY_MEMBER") public actual fun BigInt.not(): BigInt = this.not() diff --git a/ton-kotlin-bigint/src/nativeMain/kotlin/org/ton/bigint/BigInt.kt b/bigint/src@native/BigInt.kt similarity index 89% rename from ton-kotlin-bigint/src/nativeMain/kotlin/org/ton/bigint/BigInt.kt rename to bigint/src@native/BigInt.kt index 38f1ed89..d7a70fdc 100644 --- a/ton-kotlin-bigint/src/nativeMain/kotlin/org/ton/bigint/BigInt.kt +++ b/bigint/src@native/BigInt.kt @@ -25,6 +25,10 @@ public actual class BigInt internal constructor( override fun toByte(): Byte = value.byteValue() + @Deprecated( + "Direct conversion to Char is deprecated. Use toInt().toChar() or Char constructor instead.\nIf you override toChar() function in your Number inheritor, it's recommended to gradually deprecate the overriding function and then remove it.\nSee https://youtrack.jetbrains.com/issue/KT-46465 for details about the migration", + replaceWith = ReplaceWith("this.value.toInt().toChar()") + ) override fun toChar(): Char = value.shortValue().toInt().toChar() diff --git a/bitstring/api/ton-kotlin-bitstring.api b/bitstring/api/ton-kotlin-bitstring.api new file mode 100644 index 00000000..b111399e --- /dev/null +++ b/bitstring/api/ton-kotlin-bitstring.api @@ -0,0 +1,182 @@ +public abstract interface class org/ton/bitstring/BitString : java/lang/Comparable, java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { + public static final field Companion Lorg/ton/bitstring/BitString$Companion; + public static fun binary (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public fun commonPrefixWith (Lorg/ton/bitstring/BitString;)Lorg/ton/bitstring/BitString; + public fun commonSuffixWith (Lorg/ton/bitstring/BitString;)Lorg/ton/bitstring/BitString; + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun compareTo (Lorg/ton/bitstring/BitString;)I + public static fun empty ()Lorg/ton/bitstring/BitString; + public fun endsWith (Lorg/ton/bitstring/BitString;)Z + public abstract fun get (I)Z + public abstract fun getOrNull (I)Ljava/lang/Boolean; + public abstract fun getSize ()I + public fun isEmpty ()Z + public static fun of (I)Lorg/ton/bitstring/BitString; + public static fun of (Ljava/lang/Iterable;)Lorg/ton/bitstring/BitString; + public static fun of (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public static fun of (Ljava/util/Collection;)Lorg/ton/bitstring/BitString; + public static fun of ([BI)Lorg/ton/bitstring/BitString; + public static fun of ([Z)Lorg/ton/bitstring/BitString; + public abstract fun or (Lorg/ton/bitstring/BitString;)Lorg/ton/bitstring/BitString; + public fun plus (Ljava/lang/Iterable;)Lorg/ton/bitstring/BitString; + public fun plus (Ljava/util/Collection;)Lorg/ton/bitstring/BitString; + public fun plus (Z)Lorg/ton/bitstring/BitString; + public abstract fun plus ([B)Lorg/ton/bitstring/BitString; + public abstract fun plus ([BI)Lorg/ton/bitstring/BitString; + public fun plus ([Z)Lorg/ton/bitstring/BitString; + public fun slice (II)Lorg/ton/bitstring/BitString; + public fun slice (Lkotlin/ranges/IntRange;)Lorg/ton/bitstring/BitString; + public static synthetic fun slice$default (Lorg/ton/bitstring/BitString;IIILjava/lang/Object;)Lorg/ton/bitstring/BitString; + public fun startsWith (Lorg/ton/bitstring/BitString;)Z + public fun toBinary ()Ljava/lang/String; + public fun toBitString ()Lorg/ton/bitstring/BitString; + public abstract fun toBooleanArray ()[Z + public abstract fun toByteArray (Z)[B + public static synthetic fun toByteArray$default (Lorg/ton/bitstring/BitString;ZILjava/lang/Object;)[B + public abstract fun toHex ()Ljava/lang/String; + public abstract fun toMutableBitString ()Lorg/ton/bitstring/MutableBitString; + public abstract fun toString ()Ljava/lang/String; + public abstract fun xor (Lorg/ton/bitstring/BitString;)Lorg/ton/bitstring/BitString; +} + +public final class org/ton/bitstring/BitString$Companion { + public final fun binary (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public final fun empty ()Lorg/ton/bitstring/BitString; + public final fun of (I)Lorg/ton/bitstring/BitString; + public final fun of (Ljava/lang/Iterable;)Lorg/ton/bitstring/BitString; + public final fun of (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public final fun of (Ljava/util/Collection;)Lorg/ton/bitstring/BitString; + public final fun of ([BI)Lorg/ton/bitstring/BitString; + public final fun of ([Z)Lorg/ton/bitstring/BitString; + public static synthetic fun of$default (Lorg/ton/bitstring/BitString$Companion;IILjava/lang/Object;)Lorg/ton/bitstring/BitString; + public static synthetic fun of$default (Lorg/ton/bitstring/BitString$Companion;[BIILjava/lang/Object;)Lorg/ton/bitstring/BitString; +} + +public final class org/ton/bitstring/BitStringKt { + public static final fun BitString (I)Lorg/ton/bitstring/BitString; + public static final fun BitString (Ljava/lang/Iterable;)Lorg/ton/bitstring/BitString; + public static final fun BitString (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public static final fun BitString (Ljava/util/Collection;)Lorg/ton/bitstring/BitString; + public static final fun BitString ([BI)Lorg/ton/bitstring/BitString; + public static final fun BitString ([Z)Lorg/ton/bitstring/BitString; + public static synthetic fun BitString$default ([BIILjava/lang/Object;)Lorg/ton/bitstring/BitString; + public static final fun isNullOrEmpty (Lorg/ton/bitstring/BitString;)Z + public static final fun toBitString (Ljava/lang/Iterable;)Lorg/ton/bitstring/BitString; + public static final fun toBitString ([BI)Lorg/ton/bitstring/BitString; + public static final fun toBitString ([Z)Lorg/ton/bitstring/BitString; + public static synthetic fun toBitString$default ([BIILjava/lang/Object;)Lorg/ton/bitstring/BitString; +} + +public class org/ton/bitstring/ByteBackedBitString : org/ton/bitstring/BitString { + public static final field Companion Lorg/ton/bitstring/ByteBackedBitString$Companion; + protected fun (I[B)V + protected static final fun constructByteArray (I)[B + protected static final fun constructByteArray ([BI)[B + public fun equals (Ljava/lang/Object;)Z + protected static final fun expandByteArray ([BI)[B + public fun get (I)Z + protected static final fun get ([BI)Z + public fun getBytes ()[B + public fun getOrNull (I)Ljava/lang/Boolean; + public fun getSize ()I + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public static final fun of (I)Lorg/ton/bitstring/ByteBackedBitString; + public static final fun of ([BI)Lorg/ton/bitstring/ByteBackedBitString; + public fun or (Lorg/ton/bitstring/BitString;)Lorg/ton/bitstring/BitString; + public fun plus ([B)Lorg/ton/bitstring/BitString; + public fun plus ([BI)Lorg/ton/bitstring/BitString; + public fun toBitString ()Lorg/ton/bitstring/BitString; + public fun toBooleanArray ()[Z + public fun toByteArray (Z)[B + public fun toHex ()Ljava/lang/String; + public fun toMutableBitString ()Lorg/ton/bitstring/MutableBitString; + public fun toString ()Ljava/lang/String; + public fun xor (Lorg/ton/bitstring/BitString;)Lorg/ton/bitstring/BitString; +} + +public final class org/ton/bitstring/ByteBackedBitString$Companion { + public final fun of (I)Lorg/ton/bitstring/ByteBackedBitString; + public final fun of ([BI)Lorg/ton/bitstring/ByteBackedBitString; + public static synthetic fun of$default (Lorg/ton/bitstring/ByteBackedBitString$Companion;IILjava/lang/Object;)Lorg/ton/bitstring/ByteBackedBitString; + public static synthetic fun of$default (Lorg/ton/bitstring/ByteBackedBitString$Companion;[BIILjava/lang/Object;)Lorg/ton/bitstring/ByteBackedBitString; +} + +public class org/ton/bitstring/ByteBackedMutableBitString : org/ton/bitstring/ByteBackedBitString, org/ton/bitstring/MutableBitString { + public static final field Companion Lorg/ton/bitstring/ByteBackedMutableBitString$Companion; + public fun ([BI)V + public fun getBytes ()[B + public fun getSize ()I + public static final fun of (I)Lorg/ton/bitstring/ByteBackedMutableBitString; + public static final fun of (Lorg/ton/bitstring/BitString;I)Lorg/ton/bitstring/ByteBackedMutableBitString; + public static final fun of ([BI)Lorg/ton/bitstring/ByteBackedMutableBitString; + public synthetic fun plus (Ljava/lang/Iterable;)Lorg/ton/bitstring/BitString; + public fun plus (Ljava/lang/Iterable;)Lorg/ton/bitstring/ByteBackedMutableBitString; + public synthetic fun plus (Ljava/lang/Iterable;)Lorg/ton/bitstring/MutableBitString; + public synthetic fun plus (Ljava/util/Collection;)Lorg/ton/bitstring/BitString; + public fun plus (Ljava/util/Collection;)Lorg/ton/bitstring/ByteBackedMutableBitString; + public synthetic fun plus (Ljava/util/Collection;)Lorg/ton/bitstring/MutableBitString; + public synthetic fun plus (Z)Lorg/ton/bitstring/BitString; + public fun plus (Z)Lorg/ton/bitstring/MutableBitString; + public synthetic fun plus ([B)Lorg/ton/bitstring/BitString; + public fun plus ([B)Lorg/ton/bitstring/ByteBackedMutableBitString; + public synthetic fun plus ([B)Lorg/ton/bitstring/MutableBitString; + public synthetic fun plus ([BI)Lorg/ton/bitstring/BitString; + public fun plus ([BI)Lorg/ton/bitstring/ByteBackedMutableBitString; + public synthetic fun plus ([BI)Lorg/ton/bitstring/MutableBitString; + public synthetic fun plus ([Z)Lorg/ton/bitstring/BitString; + public fun plus ([Z)Lorg/ton/bitstring/ByteBackedMutableBitString; + public synthetic fun plus ([Z)Lorg/ton/bitstring/MutableBitString; + public fun set (II)V + public fun set (IZ)Z + protected static final fun set ([BIZ)Z + public fun setBytes ([B)V + public fun setSize (I)V +} + +public final class org/ton/bitstring/ByteBackedMutableBitString$Companion { + public final fun of (I)Lorg/ton/bitstring/ByteBackedMutableBitString; + public final fun of (Lorg/ton/bitstring/BitString;I)Lorg/ton/bitstring/ByteBackedMutableBitString; + public final fun of ([BI)Lorg/ton/bitstring/ByteBackedMutableBitString; + public static synthetic fun of$default (Lorg/ton/bitstring/ByteBackedMutableBitString$Companion;IILjava/lang/Object;)Lorg/ton/bitstring/ByteBackedMutableBitString; + public static synthetic fun of$default (Lorg/ton/bitstring/ByteBackedMutableBitString$Companion;Lorg/ton/bitstring/BitString;IILjava/lang/Object;)Lorg/ton/bitstring/ByteBackedMutableBitString; + public static synthetic fun of$default (Lorg/ton/bitstring/ByteBackedMutableBitString$Companion;[BIILjava/lang/Object;)Lorg/ton/bitstring/ByteBackedMutableBitString; +} + +public final class org/ton/bitstring/FiftHexBitStringSerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lorg/ton/bitstring/FiftHexBitStringSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lorg/ton/bitstring/BitString; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lorg/ton/bitstring/BitString;)V +} + +public abstract interface class org/ton/bitstring/MutableBitString : org/ton/bitstring/BitString { + public static final field Companion Lorg/ton/bitstring/MutableBitString$Companion; + public static fun of (I)Lorg/ton/bitstring/MutableBitString; + public abstract fun plus (Ljava/lang/Iterable;)Lorg/ton/bitstring/MutableBitString; + public abstract fun plus (Ljava/util/Collection;)Lorg/ton/bitstring/MutableBitString; + public abstract fun plus (Z)Lorg/ton/bitstring/MutableBitString; + public abstract fun plus ([B)Lorg/ton/bitstring/MutableBitString; + public abstract fun plus ([BI)Lorg/ton/bitstring/MutableBitString; + public abstract fun plus ([Z)Lorg/ton/bitstring/MutableBitString; + public abstract fun set (II)V + public abstract fun set (IZ)Z +} + +public final class org/ton/bitstring/MutableBitString$Companion { + public final fun of (I)Lorg/ton/bitstring/MutableBitString; +} + +public final class org/ton/bitstring/exception/BitStringOverflowException : java/lang/RuntimeException { + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/bitstring/exception/BitStringUnderflowException : java/lang/RuntimeException { + public fun ()V +} + diff --git a/bitstring/build.gradle.kts b/bitstring/build.gradle.kts new file mode 100644 index 00000000..8863cef2 --- /dev/null +++ b/bitstring/build.gradle.kts @@ -0,0 +1,15 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(projects.tonKotlinCrypto) + implementation(libs.serialization.core) + } + } + } +} diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/BitString.kt b/bitstring/src/BitString.kt similarity index 91% rename from ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/BitString.kt rename to bitstring/src/BitString.kt index 89d5b153..086b5816 100644 --- a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/BitString.kt +++ b/bitstring/src/BitString.kt @@ -3,6 +3,7 @@ package org.ton.bitstring import kotlinx.serialization.Serializable +import kotlin.contracts.ExperimentalContracts import kotlin.contracts.contract import kotlin.jvm.JvmStatic @@ -38,13 +39,13 @@ public interface BitString : Iterable, Comparable { public operator fun plus(bits: Iterable): BitString = binary(toBinary() + bits.joinToString("") { if (it) "1" else "0" }) - operator fun plus(bytes: ByteArray): BitString - fun plus(bytes: ByteArray, bits: Int): BitString + public operator fun plus(bytes: ByteArray): BitString + public fun plus(bytes: ByteArray, bits: Int): BitString - fun toByteArray(augment: Boolean = false): ByteArray - fun toBooleanArray(): BooleanArray - fun toMutableBitString(): MutableBitString - fun toBitString(): BitString = this + public fun toByteArray(augment: Boolean = false): ByteArray + public fun toBooleanArray(): BooleanArray + public fun toMutableBitString(): MutableBitString + public fun toBitString(): BitString = this public fun startsWith(prefix: BitString): Boolean = toBinary().startsWith(prefix.toBinary()) @@ -62,8 +63,8 @@ public interface BitString : Iterable, Comparable { public fun slice(startIndex: Int, endIndex: Int = size): BitString = binary(toBinary().substring(startIndex, endIndex)) - infix fun xor(other: BitString): BitString - infix fun or(other: BitString): BitString + public infix fun xor(other: BitString): BitString + public infix fun or(other: BitString): BitString public fun isEmpty(): Boolean = size == 0 @@ -148,6 +149,7 @@ public interface BitString : Iterable, Comparable { } } +@OptIn(ExperimentalContracts::class) public inline fun BitString?.isNullOrEmpty(): Boolean { contract { returns(false) implies (this@isNullOrEmpty != null) diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/ByteBackedBitString.kt b/bitstring/src/ByteBackedBitString.kt similarity index 97% rename from ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/ByteBackedBitString.kt rename to bitstring/src/ByteBackedBitString.kt index 3a994ed3..bb46d4a9 100644 --- a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/ByteBackedBitString.kt +++ b/bitstring/src/ByteBackedBitString.kt @@ -151,12 +151,12 @@ public open class ByteBackedBitString protected constructor( } } - companion object { + public companion object { @JvmStatic - fun of(size: Int = 0): ByteBackedBitString = ByteBackedBitString(size, constructByteArray(size)) + public fun of(size: Int = 0): ByteBackedBitString = ByteBackedBitString(size, constructByteArray(size)) @JvmStatic - fun of( + public fun of( bytes: ByteArray = ByteArray(0), size: Int = bytes.size * Byte.SIZE_BITS ): ByteBackedBitString = ByteBackedBitString(size, constructByteArray(bytes, size)) diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/ByteBackedMutableBitString.kt b/bitstring/src/ByteBackedMutableBitString.kt similarity index 87% rename from ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/ByteBackedMutableBitString.kt rename to bitstring/src/ByteBackedMutableBitString.kt index 190c4b73..a303e6d6 100644 --- a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/ByteBackedMutableBitString.kt +++ b/bitstring/src/ByteBackedMutableBitString.kt @@ -20,10 +20,10 @@ public open class ByteBackedMutableBitString( return previous } - override fun plus(bits: BooleanArray) = plus(bits.asIterable()) - override fun plus(bytes: ByteArray) = plus(bytes, bytes.size * Byte.SIZE_BITS) + override fun plus(bits: BooleanArray): ByteBackedMutableBitString = plus(bits.asIterable()) + override fun plus(bytes: ByteArray): ByteBackedMutableBitString = plus(bytes, bytes.size * Byte.SIZE_BITS) override fun plus(bits: Iterable): ByteBackedMutableBitString = plus(bits.toList()) - override fun plus(bits: Collection) = apply { + override fun plus(bits: Collection): ByteBackedMutableBitString = apply { if (bits is ByteBackedBitString) { plus(bits.bytes, bits.size) } else { @@ -40,7 +40,7 @@ public open class ByteBackedMutableBitString( override fun plus(bit: Boolean): MutableBitString = plus(listOf(bit)) - override fun plus(bytes: ByteArray, bits: Int) = apply { + override fun plus(bytes: ByteArray, bits: Int): ByteBackedMutableBitString = apply { if (bits != 0) { if (size % 8 == 0) { if (bits % 8 == 0) { @@ -118,21 +118,21 @@ public open class ByteBackedMutableBitString( } } - companion object { + public companion object { @JvmStatic - fun of(size: Int = 0): ByteBackedMutableBitString { + public fun of(size: Int = 0): ByteBackedMutableBitString { val bytes = constructByteArray(size) return ByteBackedMutableBitString(bytes, size) } @JvmStatic - fun of(byteArray: ByteArray, size: Int = byteArray.size * Byte.SIZE_BITS): ByteBackedMutableBitString { + public fun of(byteArray: ByteArray, size: Int = byteArray.size * Byte.SIZE_BITS): ByteBackedMutableBitString { val bytes = constructByteArray(byteArray, size) return ByteBackedMutableBitString(bytes, size) } @JvmStatic - fun of(bitString: BitString, size: Int = bitString.size): ByteBackedMutableBitString { + public fun of(bitString: BitString, size: Int = bitString.size): ByteBackedMutableBitString { return if (bitString is ByteBackedBitString) { of(bitString.bytes, size) } else { diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/EmptyBitString.kt b/bitstring/src/EmptyBitString.kt similarity index 100% rename from ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/EmptyBitString.kt rename to bitstring/src/EmptyBitString.kt diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/FiftHexBitStringSerializer.kt b/bitstring/src/FiftHexBitStringSerializer.kt similarity index 100% rename from ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/FiftHexBitStringSerializer.kt rename to bitstring/src/FiftHexBitStringSerializer.kt diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/MutableBitString.kt b/bitstring/src/MutableBitString.kt similarity index 100% rename from ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/MutableBitString.kt rename to bitstring/src/MutableBitString.kt diff --git a/bitstring/src/exception/exceptions.kt b/bitstring/src/exception/exceptions.kt new file mode 100644 index 00000000..4711f318 --- /dev/null +++ b/bitstring/src/exception/exceptions.kt @@ -0,0 +1,7 @@ +package org.ton.bitstring.exception + +public class BitStringOverflowException( + override val message: String? = "BitString overflow" +) : RuntimeException() + +public class BitStringUnderflowException : RuntimeException("BitString underflow") diff --git a/ton-kotlin-bitstring/src/commonTest/kotlin/org/ton/bitstring/BitStringTest.kt b/bitstring/test/BitStringTest.kt similarity index 100% rename from ton-kotlin-bitstring/src/commonTest/kotlin/org/ton/bitstring/BitStringTest.kt rename to bitstring/test/BitStringTest.kt diff --git a/block-tlb/api/ton-kotlin-block-tlb.api b/block-tlb/api/ton-kotlin-block-tlb.api new file mode 100644 index 00000000..ba2213b8 --- /dev/null +++ b/block-tlb/api/ton-kotlin-block-tlb.api @@ -0,0 +1,5532 @@ +public class org/ton/block/AccStatusChange : java/lang/Enum { + public static final field Companion Lorg/ton/block/AccStatusChange$Companion; + public static final field DELETED Lorg/ton/block/AccStatusChange; + public static final field FROZEN Lorg/ton/block/AccStatusChange; + public static final field UNCHANGED Lorg/ton/block/AccStatusChange; + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lorg/ton/block/AccStatusChange; + public static fun values ()[Lorg/ton/block/AccStatusChange; +} + +public final class org/ton/block/AccStatusChange$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccStatusChange;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccStatusChange; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccStatusChange; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccStatusChange;)V +} + +public abstract interface class org/ton/block/Account : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Account$Companion; +} + +public final class org/ton/block/Account$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Account;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Account; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Account; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Account;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/AccountActive : org/ton/block/AccountState { + public static final field Companion Lorg/ton/block/AccountActive$Companion; + public static final synthetic fun box-impl (Lorg/ton/block/StateInit;)Lorg/ton/block/AccountActive; + public static fun constructor-impl (Lorg/ton/block/StateInit;)Lorg/ton/block/StateInit; + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (Lorg/ton/block/StateInit;Ljava/lang/Object;)Z + public static final fun equals-impl0 (Lorg/ton/block/StateInit;Lorg/ton/block/StateInit;)Z + public fun hashCode ()I + public static fun hashCode-impl (Lorg/ton/block/StateInit;)I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun print-impl (Lorg/ton/block/StateInit;Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; + public static fun toString-impl (Lorg/ton/block/StateInit;)Ljava/lang/String; + public final synthetic fun unbox-impl ()Lorg/ton/block/StateInit; + public final fun value ()Lorg/ton/block/StateInit; +} + +public final class org/ton/block/AccountActive$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell-PANrjDY (Lorg/ton/block/StateInit;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb-P1cIiig (Lorg/ton/cell/Cell;)Lorg/ton/block/StateInit; + public fun loadTlb-P1cIiig (Lorg/ton/cell/CellSlice;)Lorg/ton/block/StateInit; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb-wKbCAR4 (Lorg/ton/cell/CellBuilder;Lorg/ton/block/StateInit;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/AccountBlock : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/AccountBlock$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/hashmap/HashmapAug;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/hashmap/HashmapAug; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/hashmap/HashmapAug;Lorg/ton/tlb/CellRef;)Lorg/ton/block/AccountBlock; + public static synthetic fun copy$default (Lorg/ton/block/AccountBlock;Lorg/ton/bitstring/BitString;Lorg/ton/hashmap/HashmapAug;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/AccountBlock; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccountAddr ()Lorg/ton/bitstring/BitString; + public final fun getStateUpdate ()Lorg/ton/tlb/CellRef; + public final fun getTransactions ()Lorg/ton/hashmap/HashmapAug; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AccountBlock$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountBlock;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountBlock; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountBlock; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountBlock;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/AccountFrozen : org/ton/block/AccountState { + public static final field Companion Lorg/ton/block/AccountFrozen$Companion; + public fun (Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/bitstring/BitString;)Lorg/ton/block/AccountFrozen; + public static synthetic fun copy$default (Lorg/ton/block/AccountFrozen;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/AccountFrozen; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun stateHash ()Lorg/ton/bitstring/BitString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AccountFrozen$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountFrozen;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountFrozen; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountFrozen; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountFrozen;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/AccountInfo : org/ton/block/Account { + public static final field Companion Lorg/ton/block/AccountInfo$Companion; + public fun (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/StorageInfo;Lorg/ton/block/AccountStorage;)V + public final fun addr ()Lorg/ton/block/MsgAddressInt; + public final fun component1 ()Lorg/ton/block/MsgAddressInt; + public final fun component2 ()Lorg/ton/block/StorageInfo; + public final fun component3 ()Lorg/ton/block/AccountStorage; + public final fun copy (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/StorageInfo;Lorg/ton/block/AccountStorage;)Lorg/ton/block/AccountInfo; + public static synthetic fun copy$default (Lorg/ton/block/AccountInfo;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/StorageInfo;Lorg/ton/block/AccountStorage;ILjava/lang/Object;)Lorg/ton/block/AccountInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun isActive ()Z + public final fun isFrozen ()Z + public final fun isUninit ()Z + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun storage ()Lorg/ton/block/AccountStorage; + public final fun storageStat ()Lorg/ton/block/StorageInfo; + public static fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AccountInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/AccountNone : org/ton/block/Account, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/AccountNone; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountNone;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountNone; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountNone; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountNone;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/block/AccountState : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/AccountState$Companion; +} + +public final class org/ton/block/AccountState$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountState;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountState; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountState; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountState;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public class org/ton/block/AccountStatus : java/lang/Enum { + public static final field ACTIVE Lorg/ton/block/AccountStatus; + public static final field Companion Lorg/ton/block/AccountStatus$Companion; + public static final field FROZEN Lorg/ton/block/AccountStatus; + public static final field NONEXIST Lorg/ton/block/AccountStatus; + public static final field UNINIT Lorg/ton/block/AccountStatus; + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lorg/ton/block/AccountStatus; + public static fun values ()[Lorg/ton/block/AccountStatus; +} + +public final class org/ton/block/AccountStatus$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountStatus;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountStatus; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountStatus; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountStatus;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/AccountStorage : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/AccountStorage$Companion; + public synthetic fun (JLorg/ton/block/CurrencyCollection;Lorg/ton/block/AccountState;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun balance ()Lorg/ton/block/CurrencyCollection; + public final fun component1-s-VKNKU ()J + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun component3 ()Lorg/ton/block/AccountState; + public final fun copy-E0BElUM (JLorg/ton/block/CurrencyCollection;Lorg/ton/block/AccountState;)Lorg/ton/block/AccountStorage; + public static synthetic fun copy-E0BElUM$default (Lorg/ton/block/AccountStorage;JLorg/ton/block/CurrencyCollection;Lorg/ton/block/AccountState;ILjava/lang/Object;)Lorg/ton/block/AccountStorage; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun lastTransLt ()J + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun state ()Lorg/ton/block/AccountState; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AccountStorage$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountStorage;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountStorage; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountStorage; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountStorage;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/AccountUninit : org/ton/block/AccountState, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/AccountUninit; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AccountUninit;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AccountUninit; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AccountUninit; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AccountUninit;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ActionChangeLibrary : org/ton/block/OutAction { + public fun (ILorg/ton/block/LibRef;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/block/LibRef; + public final fun copy (ILorg/ton/block/LibRef;)Lorg/ton/block/ActionChangeLibrary; + public static synthetic fun copy$default (Lorg/ton/block/ActionChangeLibrary;ILorg/ton/block/LibRef;ILjava/lang/Object;)Lorg/ton/block/ActionChangeLibrary; + public fun equals (Ljava/lang/Object;)Z + public final fun getLibref ()Lorg/ton/block/LibRef; + public final fun getMode ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ActionReserveCurrency : org/ton/block/OutAction { + public fun (ILorg/ton/block/CurrencyCollection;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (ILorg/ton/block/CurrencyCollection;)Lorg/ton/block/ActionReserveCurrency; + public static synthetic fun copy$default (Lorg/ton/block/ActionReserveCurrency;ILorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/ActionReserveCurrency; + public fun equals (Ljava/lang/Object;)Z + public final fun getCurrency ()Lorg/ton/block/CurrencyCollection; + public final fun getMode ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ActionSendMsg : org/ton/block/OutAction { + public fun (ILorg/ton/block/MessageRelaxed;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/block/MessageRelaxed; + public final fun copy (ILorg/ton/block/MessageRelaxed;)Lorg/ton/block/ActionSendMsg; + public static synthetic fun copy$default (Lorg/ton/block/ActionSendMsg;ILorg/ton/block/MessageRelaxed;ILjava/lang/Object;)Lorg/ton/block/ActionSendMsg; + public fun equals (Ljava/lang/Object;)Z + public final fun getMode ()I + public final fun getOutMsg ()Lorg/ton/block/MessageRelaxed; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ActionSetCode : org/ton/block/OutAction { + public fun (Lorg/ton/cell/Cell;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun copy (Lorg/ton/cell/Cell;)Lorg/ton/block/ActionSetCode; + public static synthetic fun copy$default (Lorg/ton/block/ActionSetCode;Lorg/ton/cell/Cell;ILjava/lang/Object;)Lorg/ton/block/ActionSetCode; + public fun equals (Ljava/lang/Object;)Z + public final fun getNewCode ()Lorg/ton/cell/Cell; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AddrExtern : org/ton/block/MsgAddressExt { + public static final field Companion Lorg/ton/block/AddrExtern$Companion; + public fun (ILorg/ton/bitstring/BitString;)V + public fun (Lorg/ton/bitstring/BitString;)V + public fun ([B)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy (ILorg/ton/bitstring/BitString;)Lorg/ton/block/AddrExtern; + public static synthetic fun copy$default (Lorg/ton/block/AddrExtern;ILorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/AddrExtern; + public fun equals (Ljava/lang/Object;)Z + public final fun externalAddress ()Lorg/ton/bitstring/BitString; + public final fun getLen ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AddrExtern$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AddrExtern;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AddrExtern; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AddrExtern; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AddrExtern;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/AddrNone : org/ton/block/MsgAddressExt, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/AddrNone; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AddrNone;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AddrNone; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AddrNone; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AddrNone;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AddrStd : org/ton/block/MsgAddressInt { + public static final field Companion Lorg/ton/block/AddrStd$Companion; + public fun ()V + public fun (ILorg/ton/bitstring/BitString;)V + public fun (I[B)V + public fun (Lorg/ton/block/Anycast;ILorg/ton/bitstring/BitString;)V + public fun (Lorg/ton/block/Anycast;I[B)V + public fun (Lorg/ton/block/Maybe;ILorg/ton/bitstring/BitString;)V + public fun address ()Lorg/ton/bitstring/BitString; + public final fun anycast ()Lorg/ton/block/Maybe; + public final fun component1 ()Lorg/ton/block/Maybe; + public final fun component2 ()I + public final fun component3 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/block/Maybe;ILorg/ton/bitstring/BitString;)Lorg/ton/block/AddrStd; + public static synthetic fun copy$default (Lorg/ton/block/AddrStd;Lorg/ton/block/Maybe;ILorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/AddrStd; + public fun equals (Ljava/lang/Object;)Z + public synthetic fun getAddress ()Lorg/ton/bitstring/BitString; + public synthetic fun getWorkchainId ()I + public fun hashCode ()I + public static final fun parse (Ljava/lang/String;)Lorg/ton/block/AddrStd; + public static final fun parseRaw (Ljava/lang/String;)Lorg/ton/block/AddrStd; + public static final fun parseUserFriendly (Ljava/lang/String;)Lorg/ton/block/AddrStd; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; + public static final fun toString (Lorg/ton/block/AddrStd;ZZZZ)Ljava/lang/String; + public final fun toString (ZZZZ)Ljava/lang/String; + public static synthetic fun toString$default (Lorg/ton/block/AddrStd;ZZZZILjava/lang/Object;)Ljava/lang/String; + public fun workchainId ()I +} + +public final class org/ton/block/AddrStd$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AddrStd;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AddrStd; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AddrStd; + public final fun parse (Ljava/lang/String;)Lorg/ton/block/AddrStd; + public final fun parseRaw (Ljava/lang/String;)Lorg/ton/block/AddrStd; + public final fun parseUserFriendly (Ljava/lang/String;)Lorg/ton/block/AddrStd; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AddrStd;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public final fun toString (Lorg/ton/block/AddrStd;ZZZZ)Ljava/lang/String; + public static synthetic fun toString$default (Lorg/ton/block/AddrStd$Companion;Lorg/ton/block/AddrStd;ZZZZILjava/lang/Object;)Ljava/lang/String; +} + +public final class org/ton/block/AddrStdKt { + public static final fun AddrStd (Ljava/lang/String;)Lorg/ton/block/AddrStd; +} + +public final class org/ton/block/AddrVar : org/ton/block/MsgAddressInt { + public static final field Companion Lorg/ton/block/AddrVar$Companion; + public fun (ILorg/ton/bitstring/BitString;)V + public fun (I[B)V + public fun (Lorg/ton/block/Anycast;ILorg/ton/bitstring/BitString;)V + public fun (Lorg/ton/block/Anycast;I[B)V + public fun (Lorg/ton/block/Maybe;IILorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/block/Maybe; + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/block/Maybe;IILorg/ton/bitstring/BitString;)Lorg/ton/block/AddrVar; + public static synthetic fun copy$default (Lorg/ton/block/AddrVar;Lorg/ton/block/Maybe;IILorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/AddrVar; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddrLen ()I + public fun getAddress ()Lorg/ton/bitstring/BitString; + public final fun getAnycast ()Lorg/ton/block/Maybe; + public fun getWorkchainId ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/AddrVar$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/AddrVar;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/AddrVar; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/AddrVar; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/AddrVar;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/Anycast : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Anycast$Companion; + public fun (ILorg/ton/bitstring/BitString;)V + public fun (Lorg/ton/bitstring/BitString;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy (ILorg/ton/bitstring/BitString;)Lorg/ton/block/Anycast; + public static synthetic fun copy$default (Lorg/ton/block/Anycast;ILorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/Anycast; + public fun equals (Ljava/lang/Object;)Z + public final fun getDepth ()I + public final fun getRewritePfx ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Anycast$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Anycast;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Anycast; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Anycast; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Anycast;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/BinTree : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/BinTree$Companion; + public fun iterator ()Ljava/util/Iterator; + public abstract fun nodes ()Lkotlin/sequences/Sequence; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/BinTree$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/BinTreeFork : org/ton/block/BinTree { + public static final field Companion Lorg/ton/block/BinTreeFork$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/BinTreeFork; + public static synthetic fun copy$default (Lorg/ton/block/BinTreeFork;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/BinTreeFork; + public fun equals (Ljava/lang/Object;)Z + public final fun getLeft ()Lorg/ton/tlb/CellRef; + public final fun getRight ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun nodes ()Lkotlin/sequences/Sequence; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BinTreeFork$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/BinTreeLeaf : org/ton/block/BinTree { + public static final field Companion Lorg/ton/block/BinTreeLeaf$Companion; + public fun (Ljava/lang/Object;)V + public final fun component1 ()Ljava/lang/Object; + public final fun copy (Ljava/lang/Object;)Lorg/ton/block/BinTreeLeaf; + public static synthetic fun copy$default (Lorg/ton/block/BinTreeLeaf;Ljava/lang/Object;ILjava/lang/Object;)Lorg/ton/block/BinTreeLeaf; + public fun equals (Ljava/lang/Object;)Z + public final fun getLeaf ()Ljava/lang/Object; + public fun hashCode ()I + public fun nodes ()Lkotlin/sequences/Sequence; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BinTreeLeaf$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/BlkMasterInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/BlkMasterInfo$Companion; + public fun (Lorg/ton/block/ExtBlkRef;)V + public final fun component1 ()Lorg/ton/block/ExtBlkRef; + public final fun copy (Lorg/ton/block/ExtBlkRef;)Lorg/ton/block/BlkMasterInfo; + public static synthetic fun copy$default (Lorg/ton/block/BlkMasterInfo;Lorg/ton/block/ExtBlkRef;ILjava/lang/Object;)Lorg/ton/block/BlkMasterInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getMaster ()Lorg/ton/block/ExtBlkRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BlkMasterInfo$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/BlkMasterInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/BlkMasterInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/BlkMasterInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/BlkMasterInfo;)V +} + +public abstract interface class org/ton/block/BlkPrevInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/BlkPrevInfo$Companion; + public static fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; + public static fun tlbCodec (Z)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/BlkPrevInfo$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; + public final fun tlbCodec (Z)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/Block : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Block$Companion; + public fun (ILorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun component4 ()Lorg/ton/tlb/CellRef; + public final fun component5 ()Lorg/ton/tlb/CellRef; + public final fun copy (ILorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/Block; + public static synthetic fun copy$default (Lorg/ton/block/Block;ILorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/Block; + public fun equals (Ljava/lang/Object;)Z + public final fun getExtra ()Lorg/ton/tlb/CellRef; + public final fun getGlobalId ()I + public final fun getInfo ()Lorg/ton/tlb/CellRef; + public final fun getStateUpdate ()Lorg/ton/tlb/CellRef; + public final fun getValueFlow ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Block$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Block;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Block; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Block; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Block;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/block/BlockCreateStats : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/BlockCreateStats$Companion; +} + +public final class org/ton/block/BlockCreateStats$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/BlockCreateStats;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/BlockCreateStats; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/BlockCreateStats; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/BlockCreateStats;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/BlockCreateStatsExt : org/ton/block/BlockCreateStats { + public static final field Companion Lorg/ton/block/BlockCreateStatsExt$Companion; + public fun (Lorg/ton/hashmap/HashmapAugE;)V + public final fun component1 ()Lorg/ton/hashmap/HashmapAugE; + public final fun copy (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/block/BlockCreateStatsExt; + public static synthetic fun copy$default (Lorg/ton/block/BlockCreateStatsExt;Lorg/ton/hashmap/HashmapAugE;ILjava/lang/Object;)Lorg/ton/block/BlockCreateStatsExt; + public fun equals (Ljava/lang/Object;)Z + public final fun getCounters ()Lorg/ton/hashmap/HashmapAugE; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BlockCreateStatsExt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/BlockCreateStatsExt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/BlockCreateStatsExt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/BlockCreateStatsExt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/BlockCreateStatsExt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/BlockCreateStatsRegular : org/ton/block/BlockCreateStats { + public static final field Companion Lorg/ton/block/BlockCreateStatsRegular$Companion; + public fun (Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/BlockCreateStatsRegular; + public static synthetic fun copy$default (Lorg/ton/block/BlockCreateStatsRegular;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/BlockCreateStatsRegular; + public fun equals (Ljava/lang/Object;)Z + public final fun getCounters ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BlockCreateStatsRegular$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/BlockCreateStatsRegular;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/BlockCreateStatsRegular; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/BlockCreateStatsRegular; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/BlockCreateStatsRegular;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/BlockExtra : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/BlockExtra$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lorg/ton/block/Maybe;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun component4 ()Lorg/ton/bitstring/BitString; + public final fun component5 ()Lorg/ton/bitstring/BitString; + public final fun component6 ()Lorg/ton/block/Maybe; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lorg/ton/block/Maybe;)Lorg/ton/block/BlockExtra; + public static synthetic fun copy$default (Lorg/ton/block/BlockExtra;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lorg/ton/block/Maybe;ILjava/lang/Object;)Lorg/ton/block/BlockExtra; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccountBlocks ()Lorg/ton/tlb/CellRef; + public final fun getCreatedBy ()Lorg/ton/bitstring/BitString; + public final fun getCustom ()Lorg/ton/block/Maybe; + public final fun getInMsgDescr ()Lorg/ton/tlb/CellRef; + public final fun getOutMsgDescr ()Lorg/ton/tlb/CellRef; + public final fun getRandSeed ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BlockExtra$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/BlockExtra;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/BlockExtra; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/BlockExtra; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/BlockExtra;)V +} + +public final class org/ton/block/BlockInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/BlockInfo$Companion; + public synthetic fun (IZZZZZZZZIIILorg/ton/block/ShardIdent;IJJIIIILorg/ton/block/GlobalVersion;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component10 ()I + public final fun component11 ()I + public final fun component12 ()I + public final fun component13 ()Lorg/ton/block/ShardIdent; + public final fun component14-pVg5ArA ()I + public final fun component15-s-VKNKU ()J + public final fun component16-s-VKNKU ()J + public final fun component17-pVg5ArA ()I + public final fun component18-pVg5ArA ()I + public final fun component19-pVg5ArA ()I + public final fun component2 ()Z + public final fun component20-pVg5ArA ()I + public final fun component21 ()Lorg/ton/block/GlobalVersion; + public final fun component22 ()Lorg/ton/tlb/CellRef; + public final fun component23 ()Lorg/ton/tlb/CellRef; + public final fun component24 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Z + public final fun component4 ()Z + public final fun component5 ()Z + public final fun component6 ()Z + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-ORFOvoc (IZZZZZZZZIIILorg/ton/block/ShardIdent;IJJIIIILorg/ton/block/GlobalVersion;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/BlockInfo; + public static synthetic fun copy-ORFOvoc$default (Lorg/ton/block/BlockInfo;IZZZZZZZZIIILorg/ton/block/ShardIdent;IJJIIIILorg/ton/block/GlobalVersion;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/BlockInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getAfterMerge ()Z + public final fun getAfterSplit ()Z + public final fun getBeforeSplit ()Z + public final fun getEndLt-s-VKNKU ()J + public final fun getFlags ()I + public final fun getGenCatchainSeqno-pVg5ArA ()I + public final fun getGenSoftware ()Lorg/ton/block/GlobalVersion; + public final fun getGenUtime-pVg5ArA ()I + public final fun getGenValidatorListHashShort-pVg5ArA ()I + public final fun getKeyBlock ()Z + public final fun getMasterRef ()Lorg/ton/tlb/CellRef; + public final fun getMinRefMcSeqno-pVg5ArA ()I + public final fun getNotMaster ()Z + public final fun getPrevKeyBlockSeqno-pVg5ArA ()I + public final fun getPrevRef ()Lorg/ton/tlb/CellRef; + public final fun getPrevVertRef ()Lorg/ton/tlb/CellRef; + public final fun getSeqNo ()I + public final fun getShard ()Lorg/ton/block/ShardIdent; + public final fun getStartLt-s-VKNKU ()J + public final fun getVersion-pVg5ArA ()I + public final fun getVertSeqNo ()I + public final fun getVertSeqnoIncr ()Z + public final fun getWantMerge ()Z + public final fun getWantSplit ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/BlockInfo$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/BlockInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/BlockInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/BlockInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/BlockInfo;)V +} + +public final class org/ton/block/Certificate { + public static final field Companion Lorg/ton/block/Certificate$Companion; + public synthetic fun (Lorg/ton/block/SigPubKey;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/block/SigPubKey; + public final fun component2-pVg5ArA ()I + public final fun component3-pVg5ArA ()I + public final fun copy-BltQuoY (Lorg/ton/block/SigPubKey;II)Lorg/ton/block/Certificate; + public static synthetic fun copy-BltQuoY$default (Lorg/ton/block/Certificate;Lorg/ton/block/SigPubKey;IIILjava/lang/Object;)Lorg/ton/block/Certificate; + public fun equals (Ljava/lang/Object;)Z + public final fun getTemp_key ()Lorg/ton/block/SigPubKey; + public final fun getValid_since-pVg5ArA ()I + public final fun getValid_until-pVg5ArA ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Certificate$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Certificate;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Certificate; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Certificate; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Certificate;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/CertificateEnv { + public fun (Lorg/ton/block/Certificate;)V + public final fun component1 ()Lorg/ton/block/Certificate; + public final fun copy (Lorg/ton/block/Certificate;)Lorg/ton/block/CertificateEnv; + public static synthetic fun copy$default (Lorg/ton/block/CertificateEnv;Lorg/ton/block/Certificate;ILjava/lang/Object;)Lorg/ton/block/CertificateEnv; + public fun equals (Ljava/lang/Object;)Z + public final fun getCertificate ()Lorg/ton/block/Certificate; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ChainedSignature : org/ton/block/CryptoSignature { + public static final field Companion Lorg/ton/block/ChainedSignature$Companion; + public fun (Lorg/ton/block/SignedCertificate;Lorg/ton/block/CryptoSignatureSimple;)V + public final fun component1 ()Lorg/ton/block/SignedCertificate; + public final fun component2 ()Lorg/ton/block/CryptoSignatureSimple; + public final fun copy (Lorg/ton/block/SignedCertificate;Lorg/ton/block/CryptoSignatureSimple;)Lorg/ton/block/ChainedSignature; + public static synthetic fun copy$default (Lorg/ton/block/ChainedSignature;Lorg/ton/block/SignedCertificate;Lorg/ton/block/CryptoSignatureSimple;ILjava/lang/Object;)Lorg/ton/block/ChainedSignature; + public fun equals (Ljava/lang/Object;)Z + public final fun getSigned_crt ()Lorg/ton/block/SignedCertificate; + public final fun getTemp_key_signature ()Lorg/ton/block/CryptoSignatureSimple; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ChainedSignature$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ChainedSignature;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ChainedSignature; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ChainedSignature; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ChainedSignature;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ChunkRef : org/ton/block/TextChunkRef { + public static final field Companion Lorg/ton/block/ChunkRef$Companion; + public fun (Lorg/ton/block/TextChunks;)V + public final fun component1 ()Lorg/ton/block/TextChunks; + public final fun copy (Lorg/ton/block/TextChunks;)Lorg/ton/block/ChunkRef; + public static synthetic fun copy$default (Lorg/ton/block/ChunkRef;Lorg/ton/block/TextChunks;ILjava/lang/Object;)Lorg/ton/block/ChunkRef; + public fun equals (Ljava/lang/Object;)Z + public final fun getRef ()Lorg/ton/block/TextChunks; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ChunkRef$Companion { + public final fun tlbConstructor (I)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ChunkRefEmpty : org/ton/block/TextChunkRef, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/ChunkRefEmpty; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ChunkRefEmpty;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ChunkRefEmpty; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ChunkRefEmpty; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ChunkRefEmpty;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/Coins : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Coins$Companion; + public fun ()V + public fun (J)V + public fun (Ljava/math/BigInteger;)V + public fun (Lorg/ton/block/VarUInteger;)V + public synthetic fun (Lorg/ton/block/VarUInteger;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun amount ()Lorg/ton/block/VarUInteger; + public final fun component1 ()Lorg/ton/block/VarUInteger; + public final fun copy (Lorg/ton/block/VarUInteger;)Lorg/ton/block/Coins; + public static synthetic fun copy$default (Lorg/ton/block/Coins;Lorg/ton/block/VarUInteger;ILjava/lang/Object;)Lorg/ton/block/Coins; + public final fun dec ()Lorg/ton/block/Coins; + public final fun div (Lorg/ton/block/Coins;)Lorg/ton/block/Coins; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun inc ()Lorg/ton/block/Coins; + public final fun minus (Lorg/ton/block/Coins;)Lorg/ton/block/Coins; + public static final fun of (DI)Lorg/ton/block/Coins; + public static final fun of (JI)Lorg/ton/block/Coins; + public static final fun ofNano (J)Lorg/ton/block/Coins; + public static final fun ofNano (Ljava/math/BigInteger;)Lorg/ton/block/Coins; + public final fun plus (Lorg/ton/block/Coins;)Lorg/ton/block/Coins; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun rem (Lorg/ton/block/Coins;)Lorg/ton/block/Coins; + public final fun times (Lorg/ton/block/Coins;)Lorg/ton/block/Coins; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbCodec; + public fun toString ()Ljava/lang/String; + public final fun toString (I)Ljava/lang/String; +} + +public final class org/ton/block/Coins$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Coins;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Coins; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Coins; + public final fun of (DI)Lorg/ton/block/Coins; + public final fun of (JI)Lorg/ton/block/Coins; + public static synthetic fun of$default (Lorg/ton/block/Coins$Companion;DIILjava/lang/Object;)Lorg/ton/block/Coins; + public static synthetic fun of$default (Lorg/ton/block/Coins$Companion;JIILjava/lang/Object;)Lorg/ton/block/Coins; + public final fun ofNano (J)Lorg/ton/block/Coins; + public final fun ofNano (Ljava/math/BigInteger;)Lorg/ton/block/Coins; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Coins;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbCodec; + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/CommonMsgInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/CommonMsgInfo$Companion; + public static fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/CommonMsgInfo$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CommonMsgInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CommonMsgInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CommonMsgInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CommonMsgInfo;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/block/CommonMsgInfoRelaxed : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/CommonMsgInfoRelaxed$Companion; +} + +public final class org/ton/block/CommonMsgInfoRelaxed$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CommonMsgInfoRelaxed;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CommonMsgInfoRelaxed; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CommonMsgInfoRelaxed; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CommonMsgInfoRelaxed;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/CommonMsgInfoRelaxed$ExtOutMsgInfoRelaxed : org/ton/block/CommonMsgInfoRelaxed { + public synthetic fun (Lorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressExt;JILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/block/MsgAddress; + public final fun component2 ()Lorg/ton/block/MsgAddressExt; + public final fun component3-s-VKNKU ()J + public final fun component4-pVg5ArA ()I + public final fun copy-z7UH3AY (Lorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressExt;JI)Lorg/ton/block/CommonMsgInfoRelaxed$ExtOutMsgInfoRelaxed; + public static synthetic fun copy-z7UH3AY$default (Lorg/ton/block/CommonMsgInfoRelaxed$ExtOutMsgInfoRelaxed;Lorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressExt;JIILjava/lang/Object;)Lorg/ton/block/CommonMsgInfoRelaxed$ExtOutMsgInfoRelaxed; + public fun equals (Ljava/lang/Object;)Z + public final fun getCreatedAt-pVg5ArA ()I + public final fun getCreatedLt-s-VKNKU ()J + public final fun getDest ()Lorg/ton/block/MsgAddressExt; + public final fun getSrc ()Lorg/ton/block/MsgAddress; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/CommonMsgInfoRelaxed$IntMsgInfoRelaxed : org/ton/block/CommonMsgInfoRelaxed { + public fun (Lorg/ton/block/MsgAddressInt;ZLorg/ton/block/Coins;)V + public fun (Lorg/ton/block/MsgAddressInt;ZLorg/ton/block/CurrencyCollection;)V + public synthetic fun (ZZZLorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ZZZLorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Z + public final fun component10-pVg5ArA ()I + public final fun component2 ()Z + public final fun component3 ()Z + public final fun component4 ()Lorg/ton/block/MsgAddress; + public final fun component5 ()Lorg/ton/block/MsgAddressInt; + public final fun component6 ()Lorg/ton/block/CurrencyCollection; + public final fun component7 ()Lorg/ton/block/Coins; + public final fun component8 ()Lorg/ton/block/Coins; + public final fun component9-s-VKNKU ()J + public final fun copy-y6WuHXQ (ZZZLorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JI)Lorg/ton/block/CommonMsgInfoRelaxed$IntMsgInfoRelaxed; + public static synthetic fun copy-y6WuHXQ$default (Lorg/ton/block/CommonMsgInfoRelaxed$IntMsgInfoRelaxed;ZZZLorg/ton/block/MsgAddress;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JIILjava/lang/Object;)Lorg/ton/block/CommonMsgInfoRelaxed$IntMsgInfoRelaxed; + public fun equals (Ljava/lang/Object;)Z + public final fun getBounce ()Z + public final fun getBounced ()Z + public final fun getCreatedAt-pVg5ArA ()I + public final fun getCreatedLt-s-VKNKU ()J + public final fun getDest ()Lorg/ton/block/MsgAddressInt; + public final fun getFwdFee ()Lorg/ton/block/Coins; + public final fun getIhrDisabled ()Z + public final fun getIhrFee ()Lorg/ton/block/Coins; + public final fun getSrc ()Lorg/ton/block/MsgAddress; + public final fun getValue ()Lorg/ton/block/CurrencyCollection; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public class org/ton/block/ComputeSkipReason : java/lang/Enum { + public static final field BAD_STATE Lorg/ton/block/ComputeSkipReason; + public static final field Companion Lorg/ton/block/ComputeSkipReason$Companion; + public static final field NO_GAS Lorg/ton/block/ComputeSkipReason; + public static final field NO_STATE Lorg/ton/block/ComputeSkipReason; + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; + public static fun valueOf (Ljava/lang/String;)Lorg/ton/block/ComputeSkipReason; + public static fun values ()[Lorg/ton/block/ComputeSkipReason; +} + +public final class org/ton/block/ComputeSkipReason$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ComputeSkipReason;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ComputeSkipReason; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ComputeSkipReason; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ComputeSkipReason;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/ConfigParams : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ConfigParams$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/tlb/CellRef;)Lorg/ton/block/ConfigParams; + public static synthetic fun copy$default (Lorg/ton/block/ConfigParams;Lorg/ton/bitstring/BitString;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/ConfigParams; + public fun equals (Ljava/lang/Object;)Z + public final fun getConfig ()Lorg/ton/tlb/CellRef; + public final fun getConfigAddr ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ConfigParams$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ConfigParams;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ConfigParams; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ConfigParams; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ConfigParams;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/Counters : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Counters$Companion; + public synthetic fun (IJJJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component2-s-VKNKU ()J + public final fun component3-s-VKNKU ()J + public final fun component4-s-VKNKU ()J + public final fun copy-G8Eg7Z0 (IJJJ)Lorg/ton/block/Counters; + public static synthetic fun copy-G8Eg7Z0$default (Lorg/ton/block/Counters;IJJJILjava/lang/Object;)Lorg/ton/block/Counters; + public fun equals (Ljava/lang/Object;)Z + public final fun getCnt2048-s-VKNKU ()J + public final fun getCnt65536-s-VKNKU ()J + public final fun getLastUpdated-pVg5ArA ()I + public final fun getTotal-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Counters$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Counters;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Counters; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Counters; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Counters;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/CreatorStats : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/CreatorStats$Companion; + public fun (Lorg/ton/block/Counters;Lorg/ton/block/Counters;)V + public final fun component1 ()Lorg/ton/block/Counters; + public final fun component2 ()Lorg/ton/block/Counters; + public final fun copy (Lorg/ton/block/Counters;Lorg/ton/block/Counters;)Lorg/ton/block/CreatorStats; + public static synthetic fun copy$default (Lorg/ton/block/CreatorStats;Lorg/ton/block/Counters;Lorg/ton/block/Counters;ILjava/lang/Object;)Lorg/ton/block/CreatorStats; + public fun equals (Ljava/lang/Object;)Z + public final fun getMcBlocks ()Lorg/ton/block/Counters; + public final fun getShardBlocks ()Lorg/ton/block/Counters; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/CreatorStats$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CreatorStats;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CreatorStats; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CreatorStats; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CreatorStats;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/CryptoSignature { + public static final field Companion Lorg/ton/block/CryptoSignature$Companion; +} + +public final class org/ton/block/CryptoSignature$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CryptoSignature;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CryptoSignature; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CryptoSignature; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CryptoSignature;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/CryptoSignaturePair { + public static final field Companion Lorg/ton/block/CryptoSignaturePair$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/block/CryptoSignature;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/block/CryptoSignature; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/block/CryptoSignature;)Lorg/ton/block/CryptoSignaturePair; + public static synthetic fun copy$default (Lorg/ton/block/CryptoSignaturePair;Lorg/ton/bitstring/BitString;Lorg/ton/block/CryptoSignature;ILjava/lang/Object;)Lorg/ton/block/CryptoSignaturePair; + public fun equals (Ljava/lang/Object;)Z + public final fun getNode_id_short ()Lorg/ton/bitstring/BitString; + public final fun getSign ()Lorg/ton/block/CryptoSignature; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/CryptoSignaturePair$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CryptoSignaturePair;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CryptoSignaturePair; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CryptoSignaturePair; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CryptoSignaturePair;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/CryptoSignatureSimple : org/ton/block/CryptoSignature { + public static final field Companion Lorg/ton/block/CryptoSignatureSimple$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)Lorg/ton/block/CryptoSignatureSimple; + public static synthetic fun copy$default (Lorg/ton/block/CryptoSignatureSimple;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/CryptoSignatureSimple; + public fun equals (Ljava/lang/Object;)Z + public final fun getR ()Lorg/ton/bitstring/BitString; + public final fun getS ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/CryptoSignatureSimple$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CryptoSignatureSimple;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CryptoSignatureSimple; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CryptoSignatureSimple; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CryptoSignatureSimple;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/CurrencyCollection : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/CurrencyCollection$Companion; + public fun ()V + public fun (Lorg/ton/block/Coins;Lorg/ton/block/ExtraCurrencyCollection;)V + public final fun coins ()Lorg/ton/block/Coins; + public final fun component1 ()Lorg/ton/block/Coins; + public final fun component2 ()Lorg/ton/block/ExtraCurrencyCollection; + public final fun copy (Lorg/ton/block/Coins;Lorg/ton/block/ExtraCurrencyCollection;)Lorg/ton/block/CurrencyCollection; + public static synthetic fun copy$default (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/ExtraCurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/CurrencyCollection; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun other ()Lorg/ton/block/ExtraCurrencyCollection; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/CurrencyCollection$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/CurrencyCollection;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/CurrencyCollection; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/CurrencyCollection; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/CurrencyCollection;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/DepthBalanceInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/DepthBalanceInfo$Companion; + public fun (ILorg/ton/block/CurrencyCollection;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (ILorg/ton/block/CurrencyCollection;)Lorg/ton/block/DepthBalanceInfo; + public static synthetic fun copy$default (Lorg/ton/block/DepthBalanceInfo;ILorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/DepthBalanceInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getBalance ()Lorg/ton/block/CurrencyCollection; + public final fun getSplitDepth ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/DepthBalanceInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/DepthBalanceInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/DepthBalanceInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/DepthBalanceInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/DepthBalanceInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/DnsAdnlAddress : org/ton/block/DnsRecord { + public static final field Companion Lorg/ton/block/DnsAdnlAddress$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lorg/ton/block/ProtoList;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun component3 ()Lorg/ton/block/ProtoList; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lorg/ton/block/ProtoList;)Lorg/ton/block/DnsAdnlAddress; + public static synthetic fun copy$default (Lorg/ton/block/DnsAdnlAddress;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lorg/ton/block/ProtoList;ILjava/lang/Object;)Lorg/ton/block/DnsAdnlAddress; + public fun equals (Ljava/lang/Object;)Z + public final fun getAdnl_addr ()Lorg/ton/bitstring/BitString; + public final fun getFlags ()Lorg/ton/bitstring/BitString; + public final fun getProto_list ()Lorg/ton/block/ProtoList; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/DnsAdnlAddress$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/DnsAdnlAddress;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/DnsAdnlAddress; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/DnsAdnlAddress; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/DnsAdnlAddress;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/DnsNextResolver : org/ton/block/DnsRecord { + public static final field Companion Lorg/ton/block/DnsNextResolver$Companion; + public fun (Lorg/ton/block/MsgAddressInt;)V + public final fun component1 ()Lorg/ton/block/MsgAddressInt; + public final fun copy (Lorg/ton/block/MsgAddressInt;)Lorg/ton/block/DnsNextResolver; + public static synthetic fun copy$default (Lorg/ton/block/DnsNextResolver;Lorg/ton/block/MsgAddressInt;ILjava/lang/Object;)Lorg/ton/block/DnsNextResolver; + public fun equals (Ljava/lang/Object;)Z + public final fun getResolver ()Lorg/ton/block/MsgAddressInt; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/DnsNextResolver$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/DnsNextResolver;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/DnsNextResolver; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/DnsNextResolver; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/DnsNextResolver;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/DnsRecord { + public static final field Companion Lorg/ton/block/DnsRecord$Companion; +} + +public final class org/ton/block/DnsRecord$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/DnsRecord;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/DnsRecord; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/DnsRecord; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/DnsRecord;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/DnsSmcAddress : org/ton/block/DnsRecord { + public static final field Companion Lorg/ton/block/DnsSmcAddress$Companion; + public fun (Lorg/ton/block/MsgAddressInt;Lorg/ton/bitstring/BitString;Lorg/ton/block/SmcCapList;)V + public final fun component1 ()Lorg/ton/block/MsgAddressInt; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun component3 ()Lorg/ton/block/SmcCapList; + public final fun copy (Lorg/ton/block/MsgAddressInt;Lorg/ton/bitstring/BitString;Lorg/ton/block/SmcCapList;)Lorg/ton/block/DnsSmcAddress; + public static synthetic fun copy$default (Lorg/ton/block/DnsSmcAddress;Lorg/ton/block/MsgAddressInt;Lorg/ton/bitstring/BitString;Lorg/ton/block/SmcCapList;ILjava/lang/Object;)Lorg/ton/block/DnsSmcAddress; + public fun equals (Ljava/lang/Object;)Z + public final fun getCap_list ()Lorg/ton/block/SmcCapList; + public final fun getFlags ()Lorg/ton/bitstring/BitString; + public final fun getSmc_address ()Lorg/ton/block/MsgAddressInt; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/DnsSmcAddress$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/DnsSmcAddress;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/DnsSmcAddress; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/DnsSmcAddress; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/DnsSmcAddress;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/DnsText : org/ton/block/DnsRecord { + public static final field Companion Lorg/ton/block/DnsText$Companion; + public fun (Lorg/ton/block/Text;)V + public final fun getValue ()Lorg/ton/block/Text; +} + +public final class org/ton/block/DnsText$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/DnsText;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/DnsText; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/DnsText; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/DnsText;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/Either : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Either$Companion; + public abstract fun getX ()Ljava/lang/Object; + public abstract fun getY ()Ljava/lang/Object; + public static fun of (Ljava/lang/Object;Ljava/lang/Object;)Lorg/ton/block/Either; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public fun toPair ()Lkotlin/Pair; +} + +public final class org/ton/block/Either$Companion { + public final fun of (Ljava/lang/Object;Ljava/lang/Object;)Lorg/ton/block/Either; + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/Either$Left : org/ton/block/Either { + public fun (Ljava/lang/Object;)V + public final fun component1 ()Ljava/lang/Object; + public final fun component2 ()Ljava/lang/Object; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()Ljava/lang/Object; + public fun getX ()Ljava/lang/Object; + public fun getY ()Ljava/lang/Object; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Either$Right : org/ton/block/Either { + public fun (Ljava/lang/Object;)V + public final fun component1 ()Ljava/lang/Object; + public final fun component2 ()Ljava/lang/Object; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()Ljava/lang/Object; + public fun getX ()Ljava/lang/Object; + public fun getY ()Ljava/lang/Object; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/EitherKt { + public static final fun invoke (Lorg/ton/block/Either$Companion;Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public static final fun toEither (Lkotlin/Pair;)Lorg/ton/block/Either; +} + +public final class org/ton/block/EnqueuedMsg : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/EnqueuedMsg$Companion; + public synthetic fun (JLorg/ton/tlb/CellRef;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-s-VKNKU ()J + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy-4PLdz1A (JLorg/ton/tlb/CellRef;)Lorg/ton/block/EnqueuedMsg; + public static synthetic fun copy-4PLdz1A$default (Lorg/ton/block/EnqueuedMsg;JLorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/EnqueuedMsg; + public fun equals (Ljava/lang/Object;)Z + public final fun getEnqueuedLt-s-VKNKU ()J + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/EnqueuedMsg$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/EnqueuedMsg;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/EnqueuedMsg; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/EnqueuedMsg; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/EnqueuedMsg;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ExtBlkRef : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ExtBlkRef$Companion; + public synthetic fun (JILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-s-VKNKU ()J + public final fun component2-pVg5ArA ()I + public final fun component3 ()Lorg/ton/bitstring/BitString; + public final fun component4 ()Lorg/ton/bitstring/BitString; + public final fun copy-vwRf2o8 (JILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)Lorg/ton/block/ExtBlkRef; + public static synthetic fun copy-vwRf2o8$default (Lorg/ton/block/ExtBlkRef;JILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/ExtBlkRef; + public fun equals (Ljava/lang/Object;)Z + public final fun getEndLt-s-VKNKU ()J + public final fun getFileHash ()Lorg/ton/bitstring/BitString; + public final fun getRootHash ()Lorg/ton/bitstring/BitString; + public final fun getSeqNo-pVg5ArA ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ExtBlkRef$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ExtBlkRef;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ExtBlkRef; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ExtBlkRef; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ExtBlkRef;)V +} + +public final class org/ton/block/ExtInMsgInfo : org/ton/block/CommonMsgInfo { + public static final field Companion Lorg/ton/block/ExtInMsgInfo$Companion; + public fun (Lorg/ton/block/MsgAddressExt;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/Coins;)V + public fun (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/Coins;)V + public synthetic fun (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/Coins;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/block/MsgAddressExt; + public final fun component2 ()Lorg/ton/block/MsgAddressInt; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun copy (Lorg/ton/block/MsgAddressExt;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/Coins;)Lorg/ton/block/ExtInMsgInfo; + public static synthetic fun copy$default (Lorg/ton/block/ExtInMsgInfo;Lorg/ton/block/MsgAddressExt;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/ExtInMsgInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getDest ()Lorg/ton/block/MsgAddressInt; + public final fun getImportFee ()Lorg/ton/block/Coins; + public final fun getSrc ()Lorg/ton/block/MsgAddressExt; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ExtInMsgInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ExtInMsgInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ExtInMsgInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ExtInMsgInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ExtInMsgInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ExtOutMsgInfo : org/ton/block/CommonMsgInfo { + public static final field Companion Lorg/ton/block/ExtOutMsgInfo$Companion; + public synthetic fun (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/MsgAddressExt;JILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/block/MsgAddressInt; + public final fun component2 ()Lorg/ton/block/MsgAddressExt; + public final fun component3-s-VKNKU ()J + public final fun component4-pVg5ArA ()I + public final fun copy-z7UH3AY (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/MsgAddressExt;JI)Lorg/ton/block/ExtOutMsgInfo; + public static synthetic fun copy-z7UH3AY$default (Lorg/ton/block/ExtOutMsgInfo;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/MsgAddressExt;JIILjava/lang/Object;)Lorg/ton/block/ExtOutMsgInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getCreatedAt-pVg5ArA ()I + public final fun getCreatedLt-s-VKNKU ()J + public final fun getDest ()Lorg/ton/block/MsgAddressExt; + public final fun getSrc ()Lorg/ton/block/MsgAddressInt; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ExtOutMsgInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ExtOutMsgInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ExtOutMsgInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ExtOutMsgInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ExtOutMsgInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ExtraCurrencyCollection : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ExtraCurrencyCollection$Companion; + public fun ()V + public fun (Lorg/ton/hashmap/HashMapE;)V + public synthetic fun (Lorg/ton/hashmap/HashMapE;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/ExtraCurrencyCollection; + public static synthetic fun copy$default (Lorg/ton/block/ExtraCurrencyCollection;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/ExtraCurrencyCollection; + public final fun dict ()Lorg/ton/hashmap/HashMapE; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ExtraCurrencyCollection$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ExtraCurrencyCollection;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ExtraCurrencyCollection; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ExtraCurrencyCollection; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ExtraCurrencyCollection;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/FutureSplitMerge : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/FutureSplitMerge$Companion; +} + +public final class org/ton/block/FutureSplitMerge$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/FutureSplitMerge;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/FutureSplitMerge; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/FutureSplitMerge; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/FutureSplitMerge;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/FutureSplitMerge$FsmMerge : org/ton/block/FutureSplitMerge { + public static final field Companion Lorg/ton/block/FutureSplitMerge$FsmMerge$Companion; + public synthetic fun (IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component2-pVg5ArA ()I + public final fun copy-feOb9K0 (II)Lorg/ton/block/FutureSplitMerge$FsmMerge; + public static synthetic fun copy-feOb9K0$default (Lorg/ton/block/FutureSplitMerge$FsmMerge;IIILjava/lang/Object;)Lorg/ton/block/FutureSplitMerge$FsmMerge; + public fun equals (Ljava/lang/Object;)Z + public final fun getInterval-pVg5ArA ()I + public final fun getMergeUtime-pVg5ArA ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/FutureSplitMerge$FsmMerge$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/FutureSplitMerge$FsmMerge;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/FutureSplitMerge$FsmMerge; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/FutureSplitMerge$FsmMerge; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/FutureSplitMerge$FsmMerge;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/FutureSplitMerge$FsmNone : org/ton/block/FutureSplitMerge, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/FutureSplitMerge$FsmNone; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/FutureSplitMerge$FsmNone;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/FutureSplitMerge$FsmNone; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/FutureSplitMerge$FsmNone; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/FutureSplitMerge$FsmNone;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/FutureSplitMerge$FsmSplit : org/ton/block/FutureSplitMerge { + public static final field Companion Lorg/ton/block/FutureSplitMerge$FsmSplit$Companion; + public synthetic fun (IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component2-pVg5ArA ()I + public final fun copy-feOb9K0 (II)Lorg/ton/block/FutureSplitMerge$FsmSplit; + public static synthetic fun copy-feOb9K0$default (Lorg/ton/block/FutureSplitMerge$FsmSplit;IIILjava/lang/Object;)Lorg/ton/block/FutureSplitMerge$FsmSplit; + public fun equals (Ljava/lang/Object;)Z + public final fun getInterval-pVg5ArA ()I + public final fun getSplitUtime-pVg5ArA ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/FutureSplitMerge$FsmSplit$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/FutureSplitMerge$FsmSplit;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/FutureSplitMerge$FsmSplit; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/FutureSplitMerge$FsmSplit; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/FutureSplitMerge$FsmSplit;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/GlobalVersion : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/GlobalVersion$Companion; + public synthetic fun (IJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component2-s-VKNKU ()J + public final fun copy-GO25_AU (IJ)Lorg/ton/block/GlobalVersion; + public static synthetic fun copy-GO25_AU$default (Lorg/ton/block/GlobalVersion;IJILjava/lang/Object;)Lorg/ton/block/GlobalVersion; + public fun equals (Ljava/lang/Object;)Z + public final fun getCapabilities-s-VKNKU ()J + public final fun getVersion-pVg5ArA ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/GlobalVersion$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/GlobalVersion;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/GlobalVersion; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/GlobalVersion; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/GlobalVersion;)V +} + +public final class org/ton/block/HashUpdate : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/HashUpdate$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)Lorg/ton/block/HashUpdate; + public static synthetic fun copy$default (Lorg/ton/block/HashUpdate;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/HashUpdate; + public fun equals (Ljava/lang/Object;)Z + public final fun getNewHash ()Lorg/ton/bitstring/BitString; + public final fun getOldHash ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/HashUpdate$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/HashUpdate;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/HashUpdate; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/HashUpdate; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/HashUpdate;)V +} + +public final class org/ton/block/IhrPendingSince { + public static final field Companion Lorg/ton/block/IhrPendingSince$Companion; + public synthetic fun (JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-s-VKNKU ()J + public final fun copy-VKZWuLQ (J)Lorg/ton/block/IhrPendingSince; + public static synthetic fun copy-VKZWuLQ$default (Lorg/ton/block/IhrPendingSince;JILjava/lang/Object;)Lorg/ton/block/IhrPendingSince; + public fun equals (Ljava/lang/Object;)Z + public final fun getImport_lt-s-VKNKU ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/IhrPendingSince$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/IhrPendingSince;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/IhrPendingSince; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/IhrPendingSince; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/IhrPendingSince;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ImportFees : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ImportFees$Companion; + public fun (Lorg/ton/block/Coins;Lorg/ton/block/CurrencyCollection;)V + public final fun component1 ()Lorg/ton/block/Coins; + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (Lorg/ton/block/Coins;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/ImportFees; + public static synthetic fun copy$default (Lorg/ton/block/ImportFees;Lorg/ton/block/Coins;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/ImportFees; + public fun equals (Ljava/lang/Object;)Z + public final fun getFeesCollected ()Lorg/ton/block/Coins; + public final fun getValueImported ()Lorg/ton/block/CurrencyCollection; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ImportFees$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ImportFees;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ImportFees; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ImportFees; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ImportFees;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/InMsg : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/InMsg$Companion; +} + +public final class org/ton/block/InMsg$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/InMsg;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/InMsg; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/InMsg; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/InMsg;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/IntMsgInfo : org/ton/block/CommonMsgInfo { + public static final field Companion Lorg/ton/block/IntMsgInfo$Companion; + public fun (ZZZLorg/ton/block/MsgAddressInt;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JI)V + public final fun component1 ()Z + public final fun component10 ()I + public final fun component2 ()Z + public final fun component3 ()Z + public final fun component4 ()Lorg/ton/block/MsgAddressInt; + public final fun component5 ()Lorg/ton/block/MsgAddressInt; + public final fun component6 ()Lorg/ton/block/CurrencyCollection; + public final fun component7 ()Lorg/ton/block/Coins; + public final fun component8 ()Lorg/ton/block/Coins; + public final fun component9 ()J + public final fun copy (ZZZLorg/ton/block/MsgAddressInt;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JI)Lorg/ton/block/IntMsgInfo; + public static synthetic fun copy$default (Lorg/ton/block/IntMsgInfo;ZZZLorg/ton/block/MsgAddressInt;Lorg/ton/block/MsgAddressInt;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/Coins;Lorg/ton/block/Coins;JIILjava/lang/Object;)Lorg/ton/block/IntMsgInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getBounce ()Z + public final fun getBounced ()Z + public final fun getCreated_at ()I + public final fun getCreated_lt ()J + public final fun getDest ()Lorg/ton/block/MsgAddressInt; + public final fun getFwd_fee ()Lorg/ton/block/Coins; + public final fun getIhrDisabled ()Z + public final fun getIhr_fee ()Lorg/ton/block/Coins; + public final fun getSrc ()Lorg/ton/block/MsgAddressInt; + public final fun getValue ()Lorg/ton/block/CurrencyCollection; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/IntMsgInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/IntMsgInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/IntMsgInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/IntMsgInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/IntMsgInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/IntermediateAddress : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/IntermediateAddress$Companion; +} + +public final class org/ton/block/IntermediateAddress$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/IntermediateAddress;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/IntermediateAddress; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/IntermediateAddress; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/IntermediateAddress;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/IntermediateAddressExt : org/ton/block/IntermediateAddress { + public static final field Companion Lorg/ton/block/IntermediateAddressExt$Companion; + public synthetic fun (IJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()I + public final fun component2-s-VKNKU ()J + public final fun copy-2TYgG_w (IJ)Lorg/ton/block/IntermediateAddressExt; + public static synthetic fun copy-2TYgG_w$default (Lorg/ton/block/IntermediateAddressExt;IJILjava/lang/Object;)Lorg/ton/block/IntermediateAddressExt; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddrPfx-s-VKNKU ()J + public final fun getWorkchainId ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/IntermediateAddressExt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/IntermediateAddressExt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/IntermediateAddressExt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/IntermediateAddressExt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/IntermediateAddressExt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/IntermediateAddressRegular : org/ton/block/IntermediateAddress { + public static final field Companion Lorg/ton/block/IntermediateAddressRegular$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/block/IntermediateAddressRegular; + public static synthetic fun copy$default (Lorg/ton/block/IntermediateAddressRegular;IILjava/lang/Object;)Lorg/ton/block/IntermediateAddressRegular; + public fun equals (Ljava/lang/Object;)Z + public final fun getUseDestBits ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/IntermediateAddressRegular$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/IntermediateAddressRegular;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/IntermediateAddressRegular; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/IntermediateAddressRegular; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/IntermediateAddressRegular;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/IntermediateAddressSimple : org/ton/block/IntermediateAddress { + public static final field Companion Lorg/ton/block/IntermediateAddressSimple$Companion; + public synthetic fun (IJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()I + public final fun component2-s-VKNKU ()J + public final fun copy-2TYgG_w (IJ)Lorg/ton/block/IntermediateAddressSimple; + public static synthetic fun copy-2TYgG_w$default (Lorg/ton/block/IntermediateAddressSimple;IJILjava/lang/Object;)Lorg/ton/block/IntermediateAddressSimple; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddrPfx-s-VKNKU ()J + public final fun getWorkchainId ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/IntermediateAddressSimple$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/IntermediateAddressSimple;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/IntermediateAddressSimple; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/IntermediateAddressSimple; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/IntermediateAddressSimple;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/Just : org/ton/block/Maybe { + public fun (Ljava/lang/Object;)V + public final fun component1 ()Ljava/lang/Object; + public final fun copy (Ljava/lang/Object;)Lorg/ton/block/Just; + public static synthetic fun copy$default (Lorg/ton/block/Just;Ljava/lang/Object;ILjava/lang/Object;)Lorg/ton/block/Just; + public fun equals (Ljava/lang/Object;)Z + public fun getValue ()Ljava/lang/Object; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/KeyExtBlkRef : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/KeyExtBlkRef$Companion; + public fun (ZLorg/ton/block/ExtBlkRef;)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/block/ExtBlkRef; + public final fun copy (ZLorg/ton/block/ExtBlkRef;)Lorg/ton/block/KeyExtBlkRef; + public static synthetic fun copy$default (Lorg/ton/block/KeyExtBlkRef;ZLorg/ton/block/ExtBlkRef;ILjava/lang/Object;)Lorg/ton/block/KeyExtBlkRef; + public fun equals (Ljava/lang/Object;)Z + public final fun getBlkRef ()Lorg/ton/block/ExtBlkRef; + public final fun getKey ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/KeyExtBlkRef$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/KeyExtBlkRef;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/KeyExtBlkRef; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/KeyExtBlkRef; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/KeyExtBlkRef;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/KeyMaxLt : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/KeyMaxLt$Companion; + public synthetic fun (ZJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Z + public final fun component2-s-VKNKU ()J + public final fun copy-2TYgG_w (ZJ)Lorg/ton/block/KeyMaxLt; + public static synthetic fun copy-2TYgG_w$default (Lorg/ton/block/KeyMaxLt;ZJILjava/lang/Object;)Lorg/ton/block/KeyMaxLt; + public fun equals (Ljava/lang/Object;)Z + public final fun getKey ()Z + public final fun getMaxEndLt-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/KeyMaxLt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/KeyMaxLt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/KeyMaxLt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/KeyMaxLt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/KeyMaxLt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/LibDescr { + public static final field Companion Lorg/ton/block/LibDescr$Companion; + public fun (Lorg/ton/cell/Cell;Lorg/ton/hashmap/HmEdge;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun component2 ()Lorg/ton/hashmap/HmEdge; + public final fun copy (Lorg/ton/cell/Cell;Lorg/ton/hashmap/HmEdge;)Lorg/ton/block/LibDescr; + public static synthetic fun copy$default (Lorg/ton/block/LibDescr;Lorg/ton/cell/Cell;Lorg/ton/hashmap/HmEdge;ILjava/lang/Object;)Lorg/ton/block/LibDescr; + public fun equals (Ljava/lang/Object;)Z + public final fun getLib ()Lorg/ton/cell/Cell; + public final fun getPublishers ()Lorg/ton/hashmap/HmEdge; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/LibDescr$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/LibDescr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/LibDescr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/LibDescr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/LibDescr;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/LibRef { +} + +public final class org/ton/block/LibRefHash : org/ton/block/LibRef { + public fun (Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/bitstring/BitString;)Lorg/ton/block/LibRefHash; + public static synthetic fun copy$default (Lorg/ton/block/LibRefHash;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/LibRefHash; + public fun equals (Ljava/lang/Object;)Z + public final fun getLib_hash ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/LibRefRef : org/ton/block/LibRef { + public fun (Lorg/ton/cell/Cell;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun copy (Lorg/ton/cell/Cell;)Lorg/ton/block/LibRefRef; + public static synthetic fun copy$default (Lorg/ton/block/LibRefRef;Lorg/ton/cell/Cell;ILjava/lang/Object;)Lorg/ton/block/LibRefRef; + public fun equals (Ljava/lang/Object;)Z + public final fun getLibrary ()Lorg/ton/cell/Cell; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/block/Maybe : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Maybe$Companion; + public fun get ()Ljava/lang/Object; + public abstract fun getValue ()Ljava/lang/Object; + public static fun of (Ljava/lang/Object;)Lorg/ton/block/Maybe; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/Maybe$Companion { + public final fun invoke (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public final fun of (Ljava/lang/Object;)Lorg/ton/block/Maybe; + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/MaybeKt { + public static final fun toMaybe (Ljava/lang/Object;)Lorg/ton/block/Maybe; +} + +public final class org/ton/block/McBlockExtra : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/McBlockExtra$Companion; + public fun (ZLorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashmapAugE;Lorg/ton/tlb/CellRef;Lorg/ton/block/ConfigParams;)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/hashmap/HashMapE; + public final fun component3 ()Lorg/ton/hashmap/HashmapAugE; + public final fun component4 ()Lorg/ton/tlb/CellRef; + public final fun component5 ()Lorg/ton/block/ConfigParams; + public final fun copy (ZLorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashmapAugE;Lorg/ton/tlb/CellRef;Lorg/ton/block/ConfigParams;)Lorg/ton/block/McBlockExtra; + public static synthetic fun copy$default (Lorg/ton/block/McBlockExtra;ZLorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashmapAugE;Lorg/ton/tlb/CellRef;Lorg/ton/block/ConfigParams;ILjava/lang/Object;)Lorg/ton/block/McBlockExtra; + public fun equals (Ljava/lang/Object;)Z + public final fun getConfig ()Lorg/ton/block/ConfigParams; + public final fun getKeyBlock ()Z + public final fun getR1 ()Lorg/ton/tlb/CellRef; + public final fun getShardFees ()Lorg/ton/hashmap/HashmapAugE; + public final fun getShardHashes ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/McBlockExtra$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/McBlockExtra;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/McBlockExtra; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/McBlockExtra; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/McBlockExtra;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/McBlockExtraAux : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/McBlockExtraAux$Companion; + public fun (Lorg/ton/hashmap/HashMapE;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/Maybe; + public final fun copy (Lorg/ton/hashmap/HashMapE;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;)Lorg/ton/block/McBlockExtraAux; + public static synthetic fun copy$default (Lorg/ton/block/McBlockExtraAux;Lorg/ton/hashmap/HashMapE;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;ILjava/lang/Object;)Lorg/ton/block/McBlockExtraAux; + public fun equals (Ljava/lang/Object;)Z + public final fun getMintMsg ()Lorg/ton/block/Maybe; + public final fun getPrevBlkSignatures ()Lorg/ton/hashmap/HashMapE; + public final fun getRecoverCreateMsg ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/McBlockExtraAux$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/McBlockExtraAux;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/McBlockExtraAux; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/McBlockExtraAux; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/McBlockExtraAux;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/McStateExtra : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/McStateExtra$Companion; + public synthetic fun (Lorg/ton/hashmap/HashMapE;Lorg/ton/block/ConfigParams;Lorg/ton/tlb/CellRef;Lorg/ton/block/CurrencyCollection;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-78z5ENA ()Lorg/ton/hashmap/HashMapE; + public final fun component2 ()Lorg/ton/block/ConfigParams; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun component4 ()Lorg/ton/block/CurrencyCollection; + public final fun copy-ccMQ-Ww (Lorg/ton/hashmap/HashMapE;Lorg/ton/block/ConfigParams;Lorg/ton/tlb/CellRef;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/McStateExtra; + public static synthetic fun copy-ccMQ-Ww$default (Lorg/ton/block/McStateExtra;Lorg/ton/hashmap/HashMapE;Lorg/ton/block/ConfigParams;Lorg/ton/tlb/CellRef;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/McStateExtra; + public fun equals (Ljava/lang/Object;)Z + public final fun getConfig ()Lorg/ton/block/ConfigParams; + public final fun getGlobalBalance ()Lorg/ton/block/CurrencyCollection; + public final fun getR1 ()Lorg/ton/tlb/CellRef; + public final fun getShardHashes-78z5ENA ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/McStateExtra$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/McStateExtra;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/McStateExtra; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/McStateExtra; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/McStateExtra;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/McStateExtraAux : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/McStateExtraAux$Companion; + public synthetic fun (ILorg/ton/block/ValidatorInfo;Lorg/ton/hashmap/HashmapAugE;ZLorg/ton/block/Maybe;Lorg/ton/block/BlockCreateStats;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/block/ValidatorInfo; + public final fun component3-D6f0ERk ()Lorg/ton/hashmap/HashmapAugE; + public final fun component4 ()Z + public final fun component5 ()Lorg/ton/block/Maybe; + public final fun component6 ()Lorg/ton/block/BlockCreateStats; + public final fun copy-6iHvk8M (ILorg/ton/block/ValidatorInfo;Lorg/ton/hashmap/HashmapAugE;ZLorg/ton/block/Maybe;Lorg/ton/block/BlockCreateStats;)Lorg/ton/block/McStateExtraAux; + public static synthetic fun copy-6iHvk8M$default (Lorg/ton/block/McStateExtraAux;ILorg/ton/block/ValidatorInfo;Lorg/ton/hashmap/HashmapAugE;ZLorg/ton/block/Maybe;Lorg/ton/block/BlockCreateStats;ILjava/lang/Object;)Lorg/ton/block/McStateExtraAux; + public fun equals (Ljava/lang/Object;)Z + public final fun getAfterKeyBlock ()Z + public final fun getBlockCreateStats ()Lorg/ton/block/BlockCreateStats; + public final fun getFlags ()I + public final fun getLastKeyBlock ()Lorg/ton/block/Maybe; + public final fun getPrevBlocks-D6f0ERk ()Lorg/ton/hashmap/HashmapAugE; + public final fun getValidatorInfo ()Lorg/ton/block/ValidatorInfo; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/McStateExtraAux$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/McStateExtraAux;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/McStateExtraAux; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/McStateExtraAux; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/McStateExtraAux;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MerkleProof { + public static final field Companion Lorg/ton/block/MerkleProof$Companion; + public fun (Lorg/ton/bitstring/BitString;ILorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()I + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/bitstring/BitString;ILorg/ton/tlb/CellRef;)Lorg/ton/block/MerkleProof; + public static synthetic fun copy$default (Lorg/ton/block/MerkleProof;Lorg/ton/bitstring/BitString;ILorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MerkleProof; + public fun equals (Ljava/lang/Object;)Z + public final fun getDepth ()I + public final fun getVirtualHash ()Lorg/ton/bitstring/BitString; + public final fun getVirtualRoot ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MerkleProof$Companion { + public final fun virtualize (Lorg/ton/cell/Cell;I)Lorg/ton/cell/Cell; + public static synthetic fun virtualize$default (Lorg/ton/block/MerkleProof$Companion;Lorg/ton/cell/Cell;IILjava/lang/Object;)Lorg/ton/cell/Cell; +} + +public final class org/ton/block/MerkleUpdate : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/MerkleUpdate$Companion; + public synthetic fun (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;SSLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun component3-Mh2AYeg ()S + public final fun component4-Mh2AYeg ()S + public final fun component5 ()Lorg/ton/tlb/CellRef; + public final fun component6 ()Lorg/ton/tlb/CellRef; + public final fun copy-oSehluM (Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;SSLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MerkleUpdate; + public static synthetic fun copy-oSehluM$default (Lorg/ton/block/MerkleUpdate;Lorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;SSLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MerkleUpdate; + public fun equals (Ljava/lang/Object;)Z + public final fun getNew ()Lorg/ton/tlb/CellRef; + public final fun getNewDepth-Mh2AYeg ()S + public final fun getNewHash ()Lorg/ton/bitstring/BitString; + public final fun getOld ()Lorg/ton/tlb/CellRef; + public final fun getOldDepth-Mh2AYeg ()S + public final fun getOldHash ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MerkleUpdate$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/Message : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Message$Companion; + public fun (Lorg/ton/block/CommonMsgInfo;Lorg/ton/block/Maybe;Lorg/ton/block/Either;)V + public final fun component1 ()Lorg/ton/block/CommonMsgInfo; + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/Either; + public final fun copy (Lorg/ton/block/CommonMsgInfo;Lorg/ton/block/Maybe;Lorg/ton/block/Either;)Lorg/ton/block/Message; + public static synthetic fun copy$default (Lorg/ton/block/Message;Lorg/ton/block/CommonMsgInfo;Lorg/ton/block/Maybe;Lorg/ton/block/Either;ILjava/lang/Object;)Lorg/ton/block/Message; + public fun equals (Ljava/lang/Object;)Z + public final fun getBody ()Lorg/ton/block/Either; + public final fun getInfo ()Lorg/ton/block/CommonMsgInfo; + public final fun getInit ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Message$Companion { + public final fun getAny ()Lorg/ton/tlb/TlbConstructor; + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MessageKt { + public static final fun invoke (Lorg/ton/block/Message$Companion;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MessageRelaxed : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/MessageRelaxed$Companion; + public fun (Lorg/ton/block/CommonMsgInfoRelaxed;Lorg/ton/block/Maybe;Lorg/ton/block/Either;)V + public final fun component1 ()Lorg/ton/block/CommonMsgInfoRelaxed; + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/Either; + public final fun copy (Lorg/ton/block/CommonMsgInfoRelaxed;Lorg/ton/block/Maybe;Lorg/ton/block/Either;)Lorg/ton/block/MessageRelaxed; + public static synthetic fun copy$default (Lorg/ton/block/MessageRelaxed;Lorg/ton/block/CommonMsgInfoRelaxed;Lorg/ton/block/Maybe;Lorg/ton/block/Either;ILjava/lang/Object;)Lorg/ton/block/MessageRelaxed; + public fun equals (Ljava/lang/Object;)Z + public final fun getBody ()Lorg/ton/block/Either; + public final fun getInfo ()Lorg/ton/block/CommonMsgInfoRelaxed; + public final fun getInit ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MessageRelaxed$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/MsgAddress : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/MsgAddress$Companion; +} + +public final class org/ton/block/MsgAddress$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgAddress;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgAddress; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgAddress; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgAddress;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/block/MsgAddressExt : org/ton/block/MsgAddress { + public static final field Companion Lorg/ton/block/MsgAddressExt$Companion; + public static fun of (Lorg/ton/bitstring/BitString;)Lorg/ton/block/MsgAddressExt; + public static fun of ([B)Lorg/ton/block/MsgAddressExt; + public static fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/MsgAddressExt$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgAddressExt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgAddressExt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgAddressExt; + public final fun of (Lorg/ton/bitstring/BitString;)Lorg/ton/block/MsgAddressExt; + public final fun of ([B)Lorg/ton/block/MsgAddressExt; + public static synthetic fun of$default (Lorg/ton/block/MsgAddressExt$Companion;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/MsgAddressExt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgAddressExt;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/MsgAddressExtKt { + public static final fun MsgAddressExt (Lorg/ton/bitstring/BitString;)Lorg/ton/block/MsgAddressExt; + public static final fun MsgAddressExt ([B)Lorg/ton/block/MsgAddressExt; + public static synthetic fun MsgAddressExt$default (Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/MsgAddressExt; +} + +public abstract interface class org/ton/block/MsgAddressInt : org/ton/block/MsgAddress { + public static final field Companion Lorg/ton/block/MsgAddressInt$Companion; + public abstract fun getAddress ()Lorg/ton/bitstring/BitString; + public abstract fun getWorkchainId ()I + public static fun parse (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; + public static fun parseRaw (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; + public static fun parseUserFriendly (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; + public static fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; + public static fun toString (Lorg/ton/block/MsgAddressInt;ZZZZ)Ljava/lang/String; +} + +public final class org/ton/block/MsgAddressInt$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgAddressInt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgAddressInt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgAddressInt; + public final fun parse (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; + public final fun parseRaw (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; + public final fun parseUserFriendly (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgAddressInt;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbCombinator; + public final fun toString (Lorg/ton/block/MsgAddressInt;ZZZZ)Ljava/lang/String; + public static synthetic fun toString$default (Lorg/ton/block/MsgAddressInt$Companion;Lorg/ton/block/MsgAddressInt;ZZZZILjava/lang/Object;)Ljava/lang/String; +} + +public final class org/ton/block/MsgAddressIntKt { + public static final fun MsgAddressInt (Ljava/lang/String;)Lorg/ton/block/MsgAddressInt; +} + +public final class org/ton/block/MsgDiscardFin : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgDiscardFin$Companion; + public synthetic fun (Lorg/ton/tlb/CellRef;JLorg/ton/block/Coins;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2-s-VKNKU ()J + public final fun component3 ()Lorg/ton/block/Coins; + public final fun copy-z13BHRw (Lorg/ton/tlb/CellRef;JLorg/ton/block/Coins;)Lorg/ton/block/MsgDiscardFin; + public static synthetic fun copy-z13BHRw$default (Lorg/ton/block/MsgDiscardFin;Lorg/ton/tlb/CellRef;JLorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/MsgDiscardFin; + public fun equals (Ljava/lang/Object;)Z + public final fun getFwdFee ()Lorg/ton/block/Coins; + public final fun getInMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransactionId-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgDiscardFin$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgDiscardFin;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgDiscardFin; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgDiscardFin; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgDiscardFin;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgDiscardTr : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgDiscardTr$Companion; + public synthetic fun (Lorg/ton/tlb/CellRef;JLorg/ton/block/Coins;Lorg/ton/cell/Cell;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2-s-VKNKU ()J + public final fun component3 ()Lorg/ton/block/Coins; + public final fun component4 ()Lorg/ton/cell/Cell; + public final fun copy-32etgaw (Lorg/ton/tlb/CellRef;JLorg/ton/block/Coins;Lorg/ton/cell/Cell;)Lorg/ton/block/MsgDiscardTr; + public static synthetic fun copy-32etgaw$default (Lorg/ton/block/MsgDiscardTr;Lorg/ton/tlb/CellRef;JLorg/ton/block/Coins;Lorg/ton/cell/Cell;ILjava/lang/Object;)Lorg/ton/block/MsgDiscardTr; + public fun equals (Ljava/lang/Object;)Z + public final fun getFwdFee ()Lorg/ton/block/Coins; + public final fun getInMsg ()Lorg/ton/tlb/CellRef; + public final fun getProofDelivered ()Lorg/ton/cell/Cell; + public final fun getTransactionId-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgDiscardTr$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgDiscardTr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgDiscardTr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgDiscardTr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgDiscardTr;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgEnvelope : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/MsgEnvelope$Companion; + public fun (Lorg/ton/block/IntermediateAddress;Lorg/ton/block/IntermediateAddress;Lorg/ton/block/Coins;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/block/IntermediateAddress; + public final fun component2 ()Lorg/ton/block/IntermediateAddress; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun component4 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/block/IntermediateAddress;Lorg/ton/block/IntermediateAddress;Lorg/ton/block/Coins;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgEnvelope; + public static synthetic fun copy$default (Lorg/ton/block/MsgEnvelope;Lorg/ton/block/IntermediateAddress;Lorg/ton/block/IntermediateAddress;Lorg/ton/block/Coins;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgEnvelope; + public fun equals (Ljava/lang/Object;)Z + public final fun getCurAddr ()Lorg/ton/block/IntermediateAddress; + public final fun getFwdFeeRemaining ()Lorg/ton/block/Coins; + public final fun getMsg ()Lorg/ton/tlb/CellRef; + public final fun getNextAddr ()Lorg/ton/block/IntermediateAddress; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgEnvelope$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgEnvelope;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgEnvelope; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgEnvelope; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgEnvelope;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/MsgExportDeq : org/ton/block/OutMsg { + public static final field Companion Lorg/ton/block/MsgExportDeq$Companion; + public synthetic fun (Lorg/ton/tlb/CellRef;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2-s-VKNKU ()J + public final fun copy-2TYgG_w (Lorg/ton/tlb/CellRef;J)Lorg/ton/block/MsgExportDeq; + public static synthetic fun copy-2TYgG_w$default (Lorg/ton/block/MsgExportDeq;Lorg/ton/tlb/CellRef;JILjava/lang/Object;)Lorg/ton/block/MsgExportDeq; + public fun equals (Ljava/lang/Object;)Z + public final fun getImportBlockLt-s-VKNKU ()J + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportDeq$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportDeq;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportDeq; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportDeq; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportDeq;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportDeqImm : org/ton/block/OutMsg { + public static final field Companion Lorg/ton/block/MsgExportDeqImm$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgExportDeqImm; + public static synthetic fun copy$default (Lorg/ton/block/MsgExportDeqImm;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgExportDeqImm; + public fun equals (Ljava/lang/Object;)Z + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public final fun getReimport ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportDeqImm$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportDeqImm;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportDeqImm; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportDeqImm; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportDeqImm;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportDeqShort : org/ton/block/OutMsg { + public static final field Companion Lorg/ton/block/MsgExportDeqShort$Companion; + public synthetic fun (Lorg/ton/bitstring/BitString;IJJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()I + public final fun component3-s-VKNKU ()J + public final fun component4-s-VKNKU ()J + public final fun copy-RQJlUXk (Lorg/ton/bitstring/BitString;IJJ)Lorg/ton/block/MsgExportDeqShort; + public static synthetic fun copy-RQJlUXk$default (Lorg/ton/block/MsgExportDeqShort;Lorg/ton/bitstring/BitString;IJJILjava/lang/Object;)Lorg/ton/block/MsgExportDeqShort; + public fun equals (Ljava/lang/Object;)Z + public final fun getImportBlockLt-s-VKNKU ()J + public final fun getMsgEnvHash ()Lorg/ton/bitstring/BitString; + public final fun getNextAddrPfx-s-VKNKU ()J + public final fun getNextWorkchain ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportDeqShort$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportDeqShort;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportDeqShort; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportDeqShort; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportDeqShort;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportExt : org/ton/block/OutMsg { + public static final field Companion Lorg/ton/block/MsgExportExt$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgExportExt; + public static synthetic fun copy$default (Lorg/ton/block/MsgExportExt;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgExportExt; + public fun equals (Ljava/lang/Object;)Z + public final fun getMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportExt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportExt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportExt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportExt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportExt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportImm : org/ton/block/OutMsg, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/MsgExportImm$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgExportImm; + public static synthetic fun copy$default (Lorg/ton/block/MsgExportImm;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgExportImm; + public fun equals (Ljava/lang/Object;)Z + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public final fun getReimport ()Lorg/ton/tlb/CellRef; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportImm$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportImm;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportImm; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportImm; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportImm;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportNew : org/ton/block/OutMsg, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/MsgExportNew$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgExportNew; + public static synthetic fun copy$default (Lorg/ton/block/MsgExportNew;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgExportNew; + public fun equals (Ljava/lang/Object;)Z + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportNew$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportNew;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportNew; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportNew; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportNew;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportTr : org/ton/block/OutMsg { + public static final field Companion Lorg/ton/block/MsgExportTr$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgExportTr; + public static synthetic fun copy$default (Lorg/ton/block/MsgExportTr;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgExportTr; + public fun equals (Ljava/lang/Object;)Z + public final fun getImported ()Lorg/ton/tlb/CellRef; + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportTr$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportTr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportTr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportTr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportTr;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgExportTrReq : org/ton/block/OutMsg { + public static final field Companion Lorg/ton/block/MsgExportTrReq$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgExportTrReq; + public static synthetic fun copy$default (Lorg/ton/block/MsgExportTrReq;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgExportTrReq; + public fun equals (Ljava/lang/Object;)Z + public final fun getImported ()Lorg/ton/tlb/CellRef; + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgExportTrReq$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgExportTrReq;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgExportTrReq; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgExportTrReq; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgExportTrReq;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgImportExt : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgImportExt$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/MsgImportExt; + public static synthetic fun copy$default (Lorg/ton/block/MsgImportExt;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/MsgImportExt; + public fun equals (Ljava/lang/Object;)Z + public final fun getMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgImportExt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgImportExt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgImportExt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgImportExt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgImportExt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgImportFin : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgImportFin$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;)Lorg/ton/block/MsgImportFin; + public static synthetic fun copy$default (Lorg/ton/block/MsgImportFin;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/MsgImportFin; + public fun equals (Ljava/lang/Object;)Z + public final fun getFwdFee ()Lorg/ton/block/Coins; + public final fun getInMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgImportFin$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgImportFin;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgImportFin; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgImportFin; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgImportFin;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgImportIhr : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgImportIhr$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;Lorg/ton/cell/Cell;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun component4 ()Lorg/ton/cell/Cell; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;Lorg/ton/cell/Cell;)Lorg/ton/block/MsgImportIhr; + public static synthetic fun copy$default (Lorg/ton/block/MsgImportIhr;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;Lorg/ton/cell/Cell;ILjava/lang/Object;)Lorg/ton/block/MsgImportIhr; + public fun equals (Ljava/lang/Object;)Z + public final fun getIhrFee ()Lorg/ton/block/Coins; + public final fun getMsg ()Lorg/ton/tlb/CellRef; + public final fun getProofCreated ()Lorg/ton/cell/Cell; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgImportIhr$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgImportIhr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgImportIhr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgImportIhr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgImportIhr;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgImportImm : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgImportImm$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;)Lorg/ton/block/MsgImportImm; + public static synthetic fun copy$default (Lorg/ton/block/MsgImportImm;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/MsgImportImm; + public fun equals (Ljava/lang/Object;)Z + public final fun getFwdFee ()Lorg/ton/block/Coins; + public final fun getInMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransaction ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgImportImm$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgImportImm;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgImportImm; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgImportImm; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgImportImm;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/MsgImportTr : org/ton/block/InMsg { + public static final field Companion Lorg/ton/block/MsgImportTr$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;)Lorg/ton/block/MsgImportTr; + public static synthetic fun copy$default (Lorg/ton/block/MsgImportTr;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/MsgImportTr; + public fun equals (Ljava/lang/Object;)Z + public final fun getInMsg ()Lorg/ton/tlb/CellRef; + public final fun getOutMsg ()Lorg/ton/tlb/CellRef; + public final fun getTransitFee ()Lorg/ton/block/Coins; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/MsgImportTr$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/MsgImportTr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/MsgImportTr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/MsgImportTr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/MsgImportTr;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/MutableVmStack : org/ton/block/VmStack { + public fun interchange (I)V + public abstract fun interchange (II)V + public abstract fun pop ()Lorg/ton/block/VmStackValue; + public fun popBool ()Z + public fun popBuilder ()Lorg/ton/cell/CellBuilder; + public fun popCell ()Lorg/ton/cell/Cell; + public fun popCont ()Lorg/ton/block/VmCont; + public fun popInt ()Ljava/math/BigInteger; + public fun popNull ()Lorg/ton/block/VmStackNull; + public fun popNumber ()Lorg/ton/block/VmStackNumber; + public fun popSlice ()Lorg/ton/cell/CellSlice; + public fun popTinyInt ()J + public fun popTuple ()Lorg/ton/block/VmTuple; + public abstract fun push (Lorg/ton/block/VmStackValue;)V + public fun pushBool (Z)V + public fun pushBuilder (Lorg/ton/cell/CellBuilder;)V + public fun pushCell (Lorg/ton/cell/Cell;)V + public fun pushCont (Lorg/ton/block/VmCont;)V + public fun pushInt (Ljava/math/BigInteger;)V + public fun pushNan ()V + public fun pushNull ()V + public fun pushSlice (Lorg/ton/cell/CellSlice;)V + public fun pushTinyInt (I)V + public fun pushTinyInt (J)V + public fun pushTinyInt (Z)V + public fun pushTuple (Lorg/ton/block/VmTuple;)V + public fun swap ()V +} + +public final class org/ton/block/MutableVmStackImpl : org/ton/block/MutableVmStack { + public fun ()V + public fun (Ljava/lang/Iterable;)V + public synthetic fun (Ljava/lang/Iterable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun add (Ljava/lang/Object;)Z + public fun add (Lorg/ton/block/VmStackValue;)Z + public fun addAll (Ljava/util/Collection;)Z + public fun clear ()V + public fun get (I)Lorg/ton/block/VmStackValue; + public fun getDepth ()I + public fun getStack ()Lorg/ton/block/VmStackList; + public fun interchange (II)V + public fun pop ()Lorg/ton/block/VmStackValue; + public fun push (Lorg/ton/block/VmStackValue;)V + public fun remove (Ljava/lang/Object;)Z + public fun removeAll (Ljava/util/Collection;)Z + public fun removeIf (Ljava/util/function/Predicate;)Z + public fun retainAll (Ljava/util/Collection;)Z + public fun toArray ()[Ljava/lang/Object; + public fun toArray ([Ljava/lang/Object;)[Ljava/lang/Object; + public fun toMutableVmStack ()Lorg/ton/block/MutableVmStack; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Nothing : org/ton/block/Maybe { + public fun ()V + public fun equals (Ljava/lang/Object;)Z + public fun getValue ()Ljava/lang/Object; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/OldMcBlocksInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/OldMcBlocksInfo$Companion; + public static final synthetic fun box-impl (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/block/OldMcBlocksInfo; + public static fun constructor-impl (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/hashmap/HashmapAugE; + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (Lorg/ton/hashmap/HashmapAugE;Ljava/lang/Object;)Z + public static final fun equals-impl0 (Lorg/ton/hashmap/HashmapAugE;Lorg/ton/hashmap/HashmapAugE;)Z + public final fun getValue ()Lorg/ton/hashmap/HashmapAugE; + public fun hashCode ()I + public static fun hashCode-impl (Lorg/ton/hashmap/HashmapAugE;)I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun print-impl (Lorg/ton/hashmap/HashmapAugE;Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; + public static fun toString-impl (Lorg/ton/hashmap/HashmapAugE;)Ljava/lang/String; + public final synthetic fun unbox-impl ()Lorg/ton/hashmap/HashmapAugE; +} + +public final class org/ton/block/OldMcBlocksInfo$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell-MwrS0cY (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb-a38pvyo (Lorg/ton/cell/Cell;)Lorg/ton/hashmap/HashmapAugE; + public fun loadTlb-a38pvyo (Lorg/ton/cell/CellSlice;)Lorg/ton/hashmap/HashmapAugE; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb-t0Hynxs (Lorg/ton/cell/CellBuilder;Lorg/ton/hashmap/HashmapAugE;)V +} + +public abstract interface class org/ton/block/OutAction { +} + +public abstract interface class org/ton/block/OutList { +} + +public final class org/ton/block/OutListEmpty : org/ton/block/OutList { + public static final field INSTANCE Lorg/ton/block/OutListEmpty; +} + +public final class org/ton/block/OutListLink : org/ton/block/OutList { + public fun (Lorg/ton/block/OutList;Lorg/ton/block/OutAction;)V + public final fun component1 ()Lorg/ton/block/OutList; + public final fun component2 ()Lorg/ton/block/OutAction; + public final fun copy (Lorg/ton/block/OutList;Lorg/ton/block/OutAction;)Lorg/ton/block/OutListLink; + public static synthetic fun copy$default (Lorg/ton/block/OutListLink;Lorg/ton/block/OutList;Lorg/ton/block/OutAction;ILjava/lang/Object;)Lorg/ton/block/OutListLink; + public fun equals (Ljava/lang/Object;)Z + public final fun getAction ()Lorg/ton/block/OutAction; + public final fun getPrev ()Lorg/ton/block/OutList; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/OutListNode { + public fun (Lorg/ton/cell/Cell;Lorg/ton/block/OutAction;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun component2 ()Lorg/ton/block/OutAction; + public final fun copy (Lorg/ton/cell/Cell;Lorg/ton/block/OutAction;)Lorg/ton/block/OutListNode; + public static synthetic fun copy$default (Lorg/ton/block/OutListNode;Lorg/ton/cell/Cell;Lorg/ton/block/OutAction;ILjava/lang/Object;)Lorg/ton/block/OutListNode; + public fun equals (Ljava/lang/Object;)Z + public final fun getAction ()Lorg/ton/block/OutAction; + public final fun getPrev ()Lorg/ton/cell/Cell; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/block/OutMsg : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/OutMsg$Companion; +} + +public final class org/ton/block/OutMsg$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/OutMsg;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/OutMsg; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/OutMsg; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/OutMsg;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/OutMsgQueueInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/OutMsgQueueInfo$Companion; + public fun (Lorg/ton/hashmap/HashmapAugE;Lorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/hashmap/HashmapAugE; + public final fun component2 ()Lorg/ton/hashmap/HashMapE; + public final fun component3 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashmapAugE;Lorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/OutMsgQueueInfo; + public static synthetic fun copy$default (Lorg/ton/block/OutMsgQueueInfo;Lorg/ton/hashmap/HashmapAugE;Lorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/OutMsgQueueInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getIhrPending ()Lorg/ton/hashmap/HashMapE; + public final fun getOutQueue ()Lorg/ton/hashmap/HashmapAugE; + public final fun getProcInfo ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/OutMsgQueueInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/OutMsgQueueInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/OutMsgQueueInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/OutMsgQueueInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/OutMsgQueueInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/PrevBlkInfo : org/ton/block/BlkPrevInfo { + public static final field Companion Lorg/ton/block/PrevBlkInfo$Companion; + public fun (Lorg/ton/block/ExtBlkRef;)V + public final fun component1 ()Lorg/ton/block/ExtBlkRef; + public final fun copy (Lorg/ton/block/ExtBlkRef;)Lorg/ton/block/PrevBlkInfo; + public static synthetic fun copy$default (Lorg/ton/block/PrevBlkInfo;Lorg/ton/block/ExtBlkRef;ILjava/lang/Object;)Lorg/ton/block/PrevBlkInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getPrev ()Lorg/ton/block/ExtBlkRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/PrevBlkInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/PrevBlkInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/PrevBlkInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/PrevBlkInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/PrevBlkInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/PrevBlksInfo : org/ton/block/BlkPrevInfo { + public static final field Companion Lorg/ton/block/PrevBlksInfo$Companion; + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/PrevBlksInfo; + public static synthetic fun copy$default (Lorg/ton/block/PrevBlksInfo;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/PrevBlksInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getPrev1 ()Lorg/ton/tlb/CellRef; + public final fun getPrev2 ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/PrevBlksInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/PrevBlksInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/PrevBlksInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/PrevBlksInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/PrevBlksInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ProcessedUpto : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ProcessedUpto$Companion; + public synthetic fun (JLorg/ton/bitstring/BitString;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-s-VKNKU ()J + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy-4PLdz1A (JLorg/ton/bitstring/BitString;)Lorg/ton/block/ProcessedUpto; + public static synthetic fun copy-4PLdz1A$default (Lorg/ton/block/ProcessedUpto;JLorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/ProcessedUpto; + public fun equals (Ljava/lang/Object;)Z + public final fun getLastMsgHash ()Lorg/ton/bitstring/BitString; + public final fun getLastMsgLt-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ProcessedUpto$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ProcessedUpto;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ProcessedUpto; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ProcessedUpto; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ProcessedUpto;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ProtoHttp : org/ton/block/Protocol, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/ProtoHttp; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ProtoHttp;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ProtoHttp; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ProtoHttp; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ProtoHttp;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/ProtoList : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { + public static final field Companion Lorg/ton/block/ProtoList$Companion; +} + +public final class org/ton/block/ProtoList$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ProtoList;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ProtoList; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ProtoList; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ProtoList;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/ProtoListNext : org/ton/block/ProtoList { + public static final field Companion Lorg/ton/block/ProtoListNext$Companion; + public fun (Lorg/ton/block/Protocol;Lorg/ton/block/ProtoList;)V + public final fun component1 ()Lorg/ton/block/Protocol; + public final fun component2 ()Lorg/ton/block/ProtoList; + public final fun copy (Lorg/ton/block/Protocol;Lorg/ton/block/ProtoList;)Lorg/ton/block/ProtoListNext; + public static synthetic fun copy$default (Lorg/ton/block/ProtoListNext;Lorg/ton/block/Protocol;Lorg/ton/block/ProtoList;ILjava/lang/Object;)Lorg/ton/block/ProtoListNext; + public fun equals (Ljava/lang/Object;)Z + public final fun getHead ()Lorg/ton/block/Protocol; + public final fun getTail ()Lorg/ton/block/ProtoList; + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ProtoListNext$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ProtoListNext;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ProtoListNext; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ProtoListNext; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ProtoListNext;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ProtoListNil : org/ton/block/ProtoList, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/ProtoListNil; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ProtoListNil;)Lorg/ton/cell/Cell; + public fun iterator ()Ljava/util/Iterator; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ProtoListNil; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ProtoListNil; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ProtoListNil;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/Protocol { + public static final field Companion Lorg/ton/block/Protocol$Companion; +} + +public final class org/ton/block/Protocol$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Protocol;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Protocol; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Protocol; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Protocol;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/ShardAccount : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardAccount$Companion; + public synthetic fun (Lorg/ton/tlb/CellRef;Lorg/ton/bitstring/BitString;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun component3-s-VKNKU ()J + public final fun copy-aPcrCvc (Lorg/ton/tlb/CellRef;Lorg/ton/bitstring/BitString;J)Lorg/ton/block/ShardAccount; + public static synthetic fun copy-aPcrCvc$default (Lorg/ton/block/ShardAccount;Lorg/ton/tlb/CellRef;Lorg/ton/bitstring/BitString;JILjava/lang/Object;)Lorg/ton/block/ShardAccount; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccount ()Lorg/ton/tlb/CellRef; + public final fun getLastTransHash ()Lorg/ton/bitstring/BitString; + public final fun getLastTransLt-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardAccount$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardAccount;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardAccount; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardAccount; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardAccount;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ShardAccounts : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardAccounts$Companion; + public static final synthetic fun box-impl (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/block/ShardAccounts; + public static fun constructor-impl (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/hashmap/HashmapAugE; + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (Lorg/ton/hashmap/HashmapAugE;Ljava/lang/Object;)Z + public static final fun equals-impl0 (Lorg/ton/hashmap/HashmapAugE;Lorg/ton/hashmap/HashmapAugE;)Z + public final fun getX ()Lorg/ton/hashmap/HashmapAugE; + public fun hashCode ()I + public static fun hashCode-impl (Lorg/ton/hashmap/HashmapAugE;)I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun print-impl (Lorg/ton/hashmap/HashmapAugE;Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; + public static fun toString-impl (Lorg/ton/hashmap/HashmapAugE;)Ljava/lang/String; + public final synthetic fun unbox-impl ()Lorg/ton/hashmap/HashmapAugE; +} + +public final class org/ton/block/ShardAccounts$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell-RsXaawE (Lorg/ton/hashmap/HashmapAugE;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb-63rkgx0 (Lorg/ton/cell/Cell;)Lorg/ton/hashmap/HashmapAugE; + public fun loadTlb-63rkgx0 (Lorg/ton/cell/CellSlice;)Lorg/ton/hashmap/HashmapAugE; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb-o4VblW0 (Lorg/ton/cell/CellBuilder;Lorg/ton/hashmap/HashmapAugE;)V +} + +public abstract interface class org/ton/block/ShardDescr : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardDescr$Companion; +} + +public final class org/ton/block/ShardDescr$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardDescr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardDescr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardDescr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardDescr;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/ShardDescrAux : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardDescrAux$Companion; + public fun (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)V + public final fun component1 ()Lorg/ton/block/CurrencyCollection; + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/ShardDescrAux; + public static synthetic fun copy$default (Lorg/ton/block/ShardDescrAux;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/ShardDescrAux; + public fun equals (Ljava/lang/Object;)Z + public final fun getFeesCollected ()Lorg/ton/block/CurrencyCollection; + public final fun getFundsCreated ()Lorg/ton/block/CurrencyCollection; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardDescrAux$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardDescrAux;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardDescrAux; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardDescrAux; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardDescrAux;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ShardDescrNew : org/ton/block/ShardDescr { + public static final field Companion Lorg/ton/block/ShardDescrNew$Companion; + public synthetic fun (IIJJLorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ZZZZZIIJIILorg/ton/block/FutureSplitMerge;Lorg/ton/tlb/CellRef;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component10 ()Z + public final fun component11 ()Z + public final fun component12 ()I + public final fun component13-pVg5ArA ()I + public final fun component14-s-VKNKU ()J + public final fun component15-pVg5ArA ()I + public final fun component16-pVg5ArA ()I + public final fun component17 ()Lorg/ton/block/FutureSplitMerge; + public final fun component18 ()Lorg/ton/tlb/CellRef; + public final fun component2-pVg5ArA ()I + public final fun component3-s-VKNKU ()J + public final fun component4-s-VKNKU ()J + public final fun component5 ()Lorg/ton/bitstring/BitString; + public final fun component6 ()Lorg/ton/bitstring/BitString; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-v6q7WzU (IIJJLorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ZZZZZIIJIILorg/ton/block/FutureSplitMerge;Lorg/ton/tlb/CellRef;)Lorg/ton/block/ShardDescrNew; + public static synthetic fun copy-v6q7WzU$default (Lorg/ton/block/ShardDescrNew;IIJJLorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ZZZZZIIJIILorg/ton/block/FutureSplitMerge;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/ShardDescrNew; + public fun equals (Ljava/lang/Object;)Z + public final fun getBeforeMerge ()Z + public final fun getBeforeSplit ()Z + public final fun getEndLt-s-VKNKU ()J + public final fun getFileHash ()Lorg/ton/bitstring/BitString; + public final fun getFlags ()I + public final fun getGenUtime-pVg5ArA ()I + public final fun getMinRefMcSeqno-pVg5ArA ()I + public final fun getNextCatchainSeqno-pVg5ArA ()I + public final fun getNextValidatorShard-s-VKNKU ()J + public final fun getNxCcUpdated ()Z + public final fun getR1 ()Lorg/ton/tlb/CellRef; + public final fun getRegMcSeqno-pVg5ArA ()I + public final fun getRootHash ()Lorg/ton/bitstring/BitString; + public final fun getSeqNo-pVg5ArA ()I + public final fun getSplitMergeAt ()Lorg/ton/block/FutureSplitMerge; + public final fun getStartLt-s-VKNKU ()J + public final fun getWantMerge ()Z + public final fun getWantSplit ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardDescrNew$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardDescrNew;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardDescrNew; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardDescrNew; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardDescrNew;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ShardDescrOld : org/ton/block/ShardDescr { + public static final field Companion Lorg/ton/block/ShardDescrOld$Companion; + public synthetic fun (IIJJLorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ZZZZZIIJIILorg/ton/block/FutureSplitMerge;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component10 ()Z + public final fun component11 ()Z + public final fun component12 ()I + public final fun component13-pVg5ArA ()I + public final fun component14-s-VKNKU ()J + public final fun component15-pVg5ArA ()I + public final fun component16-pVg5ArA ()I + public final fun component17 ()Lorg/ton/block/FutureSplitMerge; + public final fun component18 ()Lorg/ton/block/CurrencyCollection; + public final fun component19 ()Lorg/ton/block/CurrencyCollection; + public final fun component2-pVg5ArA ()I + public final fun component3-s-VKNKU ()J + public final fun component4-s-VKNKU ()J + public final fun component5 ()Lorg/ton/bitstring/BitString; + public final fun component6 ()Lorg/ton/bitstring/BitString; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-XmVAyi0 (IIJJLorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ZZZZZIIJIILorg/ton/block/FutureSplitMerge;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/ShardDescrOld; + public static synthetic fun copy-XmVAyi0$default (Lorg/ton/block/ShardDescrOld;IIJJLorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ZZZZZIIJIILorg/ton/block/FutureSplitMerge;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/ShardDescrOld; + public fun equals (Ljava/lang/Object;)Z + public final fun getBeforeMerge ()Z + public final fun getBeforeSplit ()Z + public final fun getEndLt-s-VKNKU ()J + public final fun getFeesCollected ()Lorg/ton/block/CurrencyCollection; + public final fun getFileHash ()Lorg/ton/bitstring/BitString; + public final fun getFlags ()I + public final fun getFundsCreated ()Lorg/ton/block/CurrencyCollection; + public final fun getGenUtime-pVg5ArA ()I + public final fun getMinRefMcSeqno-pVg5ArA ()I + public final fun getNextCatchainSeqno-pVg5ArA ()I + public final fun getNextValidatorShard-s-VKNKU ()J + public final fun getNxCcUpdated ()Z + public final fun getRegMcSeqno-pVg5ArA ()I + public final fun getRootHash ()Lorg/ton/bitstring/BitString; + public final fun getSeqNo-pVg5ArA ()I + public final fun getSplitMergeAt ()Lorg/ton/block/FutureSplitMerge; + public final fun getStartLt-s-VKNKU ()J + public final fun getWantMerge ()Z + public final fun getWantSplit ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardDescrOld$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardDescrOld;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardDescrOld; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardDescrOld; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardDescrOld;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ShardFeeCreated : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardFeeCreated$Companion; + public fun (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)V + public final fun component1 ()Lorg/ton/block/CurrencyCollection; + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/ShardFeeCreated; + public static synthetic fun copy$default (Lorg/ton/block/ShardFeeCreated;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/ShardFeeCreated; + public fun equals (Ljava/lang/Object;)Z + public final fun getCreate ()Lorg/ton/block/CurrencyCollection; + public final fun getFees ()Lorg/ton/block/CurrencyCollection; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardFeeCreated$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardFeeCreated;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardFeeCreated; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardFeeCreated; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardFeeCreated;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ShardHashes : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardHashes$Companion; + public static final synthetic fun box-impl (Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/ShardHashes; + public static fun constructor-impl (Lorg/ton/hashmap/HashMapE;)Lorg/ton/hashmap/HashMapE; + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (Lorg/ton/hashmap/HashMapE;Ljava/lang/Object;)Z + public static final fun equals-impl0 (Lorg/ton/hashmap/HashMapE;Lorg/ton/hashmap/HashMapE;)Z + public final fun getValue ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public static fun hashCode-impl (Lorg/ton/hashmap/HashMapE;)I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun print-impl (Lorg/ton/hashmap/HashMapE;Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; + public static fun toString-impl (Lorg/ton/hashmap/HashMapE;)Ljava/lang/String; + public final synthetic fun unbox-impl ()Lorg/ton/hashmap/HashMapE; +} + +public final class org/ton/block/ShardHashes$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell-CBAOBPY (Lorg/ton/hashmap/HashMapE;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb-nCYawEE (Lorg/ton/cell/Cell;)Lorg/ton/hashmap/HashMapE; + public fun loadTlb-nCYawEE (Lorg/ton/cell/CellSlice;)Lorg/ton/hashmap/HashMapE; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb-ZFAh1YI (Lorg/ton/cell/CellBuilder;Lorg/ton/hashmap/HashMapE;)V +} + +public final class org/ton/block/ShardIdent : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardIdent$Companion; + public synthetic fun (IIJLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3-s-VKNKU ()J + public final fun copy-aPcrCvc (IIJ)Lorg/ton/block/ShardIdent; + public static synthetic fun copy-aPcrCvc$default (Lorg/ton/block/ShardIdent;IIJILjava/lang/Object;)Lorg/ton/block/ShardIdent; + public fun equals (Ljava/lang/Object;)Z + public final fun getShardPfxBits ()I + public final fun getShardPrefix-s-VKNKU ()J + public final fun getWorkchainId ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardIdent$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardIdent;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardIdent; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardIdent; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardIdent;)V +} + +public abstract interface class org/ton/block/ShardState : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardState$Companion; +} + +public final class org/ton/block/ShardState$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardState;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardState; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardState; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardState;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/ShardStateUnsplit : org/ton/block/ShardState { + public static final field Companion Lorg/ton/block/ShardStateUnsplit$Companion; + public synthetic fun (ILorg/ton/block/ShardIdent;IIIJILorg/ton/tlb/CellRef;ZLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Maybe;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()I + public final fun component10 ()Lorg/ton/tlb/CellRef; + public final fun component11 ()Lorg/ton/tlb/CellRef; + public final fun component12 ()Lorg/ton/block/Maybe; + public final fun component2 ()Lorg/ton/block/ShardIdent; + public final fun component3-pVg5ArA ()I + public final fun component4 ()I + public final fun component5-pVg5ArA ()I + public final fun component6-s-VKNKU ()J + public final fun component7-pVg5ArA ()I + public final fun component8 ()Lorg/ton/tlb/CellRef; + public final fun component9 ()Z + public final fun copy-bAEPouI (ILorg/ton/block/ShardIdent;IIIJILorg/ton/tlb/CellRef;ZLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Maybe;)Lorg/ton/block/ShardStateUnsplit; + public static synthetic fun copy-bAEPouI$default (Lorg/ton/block/ShardStateUnsplit;ILorg/ton/block/ShardIdent;IIIJILorg/ton/tlb/CellRef;ZLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/block/Maybe;ILjava/lang/Object;)Lorg/ton/block/ShardStateUnsplit; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccounts ()Lorg/ton/tlb/CellRef; + public final fun getBeforeSplit ()Z + public final fun getCustom ()Lorg/ton/block/Maybe; + public final fun getGenLt-s-VKNKU ()J + public final fun getGenUtime-pVg5ArA ()I + public final fun getGlobalId ()I + public final fun getMinRefMcSeqno-pVg5ArA ()I + public final fun getOutMsgQueueInfo ()Lorg/ton/tlb/CellRef; + public final fun getR1 ()Lorg/ton/tlb/CellRef; + public final fun getSeqNo-pVg5ArA ()I + public final fun getShardId ()Lorg/ton/block/ShardIdent; + public final fun getVertSeqNo ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardStateUnsplit$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardStateUnsplit;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardStateUnsplit; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardStateUnsplit; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardStateUnsplit;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ShardStateUnsplitAux : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ShardStateUnsplitAux$Companion; + public synthetic fun (JJLorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/hashmap/HashMapE;Lorg/ton/block/Maybe;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-s-VKNKU ()J + public final fun component2-s-VKNKU ()J + public final fun component3 ()Lorg/ton/block/CurrencyCollection; + public final fun component4 ()Lorg/ton/block/CurrencyCollection; + public final fun component5 ()Lorg/ton/hashmap/HashMapE; + public final fun component6 ()Lorg/ton/block/Maybe; + public final fun copy-cRdTEIk (JJLorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/hashmap/HashMapE;Lorg/ton/block/Maybe;)Lorg/ton/block/ShardStateUnsplitAux; + public static synthetic fun copy-cRdTEIk$default (Lorg/ton/block/ShardStateUnsplitAux;JJLorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/hashmap/HashMapE;Lorg/ton/block/Maybe;ILjava/lang/Object;)Lorg/ton/block/ShardStateUnsplitAux; + public fun equals (Ljava/lang/Object;)Z + public final fun getLibraries ()Lorg/ton/hashmap/HashMapE; + public final fun getMasterRef ()Lorg/ton/block/Maybe; + public final fun getOverloadHistory-s-VKNKU ()J + public final fun getTotalBalance ()Lorg/ton/block/CurrencyCollection; + public final fun getTotalValidatorFees ()Lorg/ton/block/CurrencyCollection; + public final fun getUnderloadHistory-s-VKNKU ()J + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ShardStateUnsplitAux$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ShardStateUnsplitAux;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ShardStateUnsplitAux; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ShardStateUnsplitAux; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ShardStateUnsplitAux;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SigPubKey { + public static final field Companion Lorg/ton/block/SigPubKey$Companion; + public fun (Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/bitstring/BitString;)Lorg/ton/block/SigPubKey; + public static synthetic fun copy$default (Lorg/ton/block/SigPubKey;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/SigPubKey; + public fun equals (Ljava/lang/Object;)Z + public final fun getPubkey ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SigPubKey$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SigPubKey;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SigPubKey; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SigPubKey; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SigPubKey;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SignedCertificate { + public static final field Companion Lorg/ton/block/SignedCertificate$Companion; + public fun (Lorg/ton/block/Certificate;Lorg/ton/block/CryptoSignature;)V + public final fun component1 ()Lorg/ton/block/Certificate; + public final fun component2 ()Lorg/ton/block/CryptoSignature; + public final fun copy (Lorg/ton/block/Certificate;Lorg/ton/block/CryptoSignature;)Lorg/ton/block/SignedCertificate; + public static synthetic fun copy$default (Lorg/ton/block/SignedCertificate;Lorg/ton/block/Certificate;Lorg/ton/block/CryptoSignature;ILjava/lang/Object;)Lorg/ton/block/SignedCertificate; + public fun equals (Ljava/lang/Object;)Z + public final fun getCertificate ()Lorg/ton/block/Certificate; + public final fun getCertificate_signature ()Lorg/ton/block/CryptoSignature; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SignedCertificate$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SignedCertificate;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SignedCertificate; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SignedCertificate; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SignedCertificate;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SimpleLib : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/SimpleLib$Companion; + public fun (ZLorg/ton/cell/Cell;)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/cell/Cell; + public final fun copy (ZLorg/ton/cell/Cell;)Lorg/ton/block/SimpleLib; + public static synthetic fun copy$default (Lorg/ton/block/SimpleLib;ZLorg/ton/cell/Cell;ILjava/lang/Object;)Lorg/ton/block/SimpleLib; + public fun equals (Ljava/lang/Object;)Z + public final fun getPublic ()Z + public final fun getRoot ()Lorg/ton/cell/Cell; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SimpleLib$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SimpleLib;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SimpleLib; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SimpleLib; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SimpleLib;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SmartContractInfo { + public fun (IIJJJLorg/ton/bitstring/BitString;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/MsgAddressInt;)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()J + public final fun component4 ()J + public final fun component5 ()J + public final fun component6 ()Lorg/ton/bitstring/BitString; + public final fun component7 ()Lorg/ton/block/CurrencyCollection; + public final fun component8 ()Lorg/ton/block/MsgAddressInt; + public final fun copy (IIJJJLorg/ton/bitstring/BitString;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/MsgAddressInt;)Lorg/ton/block/SmartContractInfo; + public static synthetic fun copy$default (Lorg/ton/block/SmartContractInfo;IIJJJLorg/ton/bitstring/BitString;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/MsgAddressInt;ILjava/lang/Object;)Lorg/ton/block/SmartContractInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getActions ()I + public final fun getBalance_remaining ()Lorg/ton/block/CurrencyCollection; + public final fun getBlock_lt ()J + public final fun getMsgs_sent ()I + public final fun getMyself ()Lorg/ton/block/MsgAddressInt; + public final fun getRand_seed ()Lorg/ton/bitstring/BitString; + public final fun getTrans_lt ()J + public final fun getUnixtime ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/block/SmcCapList : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { + public static final field Companion Lorg/ton/block/SmcCapList$Companion; + public static fun of (Ljava/lang/Iterable;)Lorg/ton/block/SmcCapList; + public static fun of ([Lorg/ton/block/SmcCapability;)Lorg/ton/block/SmcCapList; +} + +public final class org/ton/block/SmcCapList$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SmcCapList;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SmcCapList; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SmcCapList; + public final fun of (Ljava/lang/Iterable;)Lorg/ton/block/SmcCapList; + public final fun of ([Lorg/ton/block/SmcCapability;)Lorg/ton/block/SmcCapList; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SmcCapList;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/SmcCapList$Next : org/ton/block/SmcCapList { + public fun (Lorg/ton/block/SmcCapability;Lorg/ton/block/SmcCapList;)V + public final fun component1 ()Lorg/ton/block/SmcCapability; + public final fun component2 ()Lorg/ton/block/SmcCapList; + public final fun copy (Lorg/ton/block/SmcCapability;Lorg/ton/block/SmcCapList;)Lorg/ton/block/SmcCapList$Next; + public static synthetic fun copy$default (Lorg/ton/block/SmcCapList$Next;Lorg/ton/block/SmcCapability;Lorg/ton/block/SmcCapList;ILjava/lang/Object;)Lorg/ton/block/SmcCapList$Next; + public fun equals (Ljava/lang/Object;)Z + public final fun getHead ()Lorg/ton/block/SmcCapability; + public final fun getTail ()Lorg/ton/block/SmcCapList; + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SmcCapList$Nil : org/ton/block/SmcCapList { + public static final field INSTANCE Lorg/ton/block/SmcCapList$Nil; + public fun iterator ()Ljava/util/Iterator; +} + +public final class org/ton/block/SmcCapListKt { + public static final fun SmcCapList (Ljava/lang/Iterable;)Lorg/ton/block/SmcCapList; + public static final fun SmcCapList ([Lorg/ton/block/SmcCapability;)Lorg/ton/block/SmcCapList; + public static final fun toSmcCapList (Ljava/lang/Iterable;)Lorg/ton/block/SmcCapList; + public static final fun toSmcCapList ([Lorg/ton/block/SmcCapability;)Lorg/ton/block/SmcCapList; +} + +public abstract interface class org/ton/block/SmcCapability { + public static final field Companion Lorg/ton/block/SmcCapability$Companion; +} + +public final class org/ton/block/SmcCapability$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SmcCapability;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SmcCapability; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SmcCapability; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SmcCapability;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/SmcCapability$IsWallet : org/ton/block/SmcCapability, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/SmcCapability$IsWallet; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SmcCapability$IsWallet;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SmcCapability$IsWallet; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SmcCapability$IsWallet; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SmcCapability$IsWallet;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SmcCapability$MethodPubKey : org/ton/block/SmcCapability, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/SmcCapability$MethodPubKey; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SmcCapability$MethodPubKey;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SmcCapability$MethodPubKey; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SmcCapability$MethodPubKey; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SmcCapability$MethodPubKey;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SmcCapability$MethodSeqno : org/ton/block/SmcCapability, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/SmcCapability$MethodSeqno; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SmcCapability$MethodSeqno;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SmcCapability$MethodSeqno; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SmcCapability$MethodSeqno; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SmcCapability$MethodSeqno;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SmcCapability$Name : org/ton/block/SmcCapability { + public static final field Companion Lorg/ton/block/SmcCapability$Name$Companion; + public fun (Lorg/ton/block/Text;)V + public final fun component1 ()Lorg/ton/block/Text; + public final fun copy (Lorg/ton/block/Text;)Lorg/ton/block/SmcCapability$Name; + public static synthetic fun copy$default (Lorg/ton/block/SmcCapability$Name;Lorg/ton/block/Text;ILjava/lang/Object;)Lorg/ton/block/SmcCapability$Name; + public fun equals (Ljava/lang/Object;)Z + public final fun getName ()Lorg/ton/block/Text; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SmcCapability$Name$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SmcCapability$Name;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SmcCapability$Name; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SmcCapability$Name; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SmcCapability$Name;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/SplitMergeInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/SplitMergeInfo$Companion; + public fun (IILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()Lorg/ton/bitstring/BitString; + public final fun component4 ()Lorg/ton/bitstring/BitString; + public final fun copy (IILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)Lorg/ton/block/SplitMergeInfo; + public static synthetic fun copy$default (Lorg/ton/block/SplitMergeInfo;IILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/SplitMergeInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccSplitDepth ()I + public final fun getCurShardPfxLen ()I + public final fun getSiblingAddr ()Lorg/ton/bitstring/BitString; + public final fun getThisAddr ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SplitMergeInfo$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SplitMergeInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SplitMergeInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SplitMergeInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SplitMergeInfo;)V +} + +public final class org/ton/block/SplitState : org/ton/block/ShardState { + public static final field Companion Lorg/ton/block/SplitState$Companion; + public fun (Lorg/ton/block/ShardStateUnsplit;Lorg/ton/block/ShardStateUnsplit;)V + public final fun component1 ()Lorg/ton/block/ShardStateUnsplit; + public final fun component2 ()Lorg/ton/block/ShardStateUnsplit; + public final fun copy (Lorg/ton/block/ShardStateUnsplit;Lorg/ton/block/ShardStateUnsplit;)Lorg/ton/block/SplitState; + public static synthetic fun copy$default (Lorg/ton/block/SplitState;Lorg/ton/block/ShardStateUnsplit;Lorg/ton/block/ShardStateUnsplit;ILjava/lang/Object;)Lorg/ton/block/SplitState; + public fun equals (Ljava/lang/Object;)Z + public final fun getLeft ()Lorg/ton/block/ShardStateUnsplit; + public final fun getRight ()Lorg/ton/block/ShardStateUnsplit; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/SplitState$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/SplitState;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/SplitState; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/SplitState; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/SplitState;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/StateInit : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/StateInit$Companion; + public fun (Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/hashmap/HashMapE;)V + public synthetic fun (Lorg/ton/cell/Cell;Lorg/ton/cell/Cell;Lorg/ton/hashmap/HashMapE;Lkotlin/UInt;Lorg/ton/block/TickTock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Lorg/ton/cell/Cell;Lorg/ton/cell/Cell;Lorg/ton/hashmap/HashMapE;Lkotlin/UInt;Lorg/ton/block/TickTock;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun code ()Lorg/ton/block/Maybe; + public final fun component1 ()Lorg/ton/block/Maybe; + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/Maybe; + public final fun component4 ()Lorg/ton/block/Maybe; + public final fun component5 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/StateInit; + public static synthetic fun copy$default (Lorg/ton/block/StateInit;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/StateInit; + public final fun data ()Lorg/ton/block/Maybe; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun library ()Lorg/ton/hashmap/HashMapE; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun special ()Lorg/ton/block/Maybe; + public final fun splitDepth ()Lorg/ton/block/Maybe; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/StateInit$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/StateInit;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/StateInit; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/StateInit; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/StateInit;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/StorageInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/StorageInfo$Companion; + public synthetic fun (Lorg/ton/block/StorageUsed;ILorg/ton/block/Coins;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Lorg/ton/block/StorageUsed;ILorg/ton/block/Coins;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Lorg/ton/block/StorageUsed;ILorg/ton/block/Maybe;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/block/StorageUsed; + public final fun component2-pVg5ArA ()I + public final fun component3 ()Lorg/ton/block/Maybe; + public final fun copy-OsBMiQA (Lorg/ton/block/StorageUsed;ILorg/ton/block/Maybe;)Lorg/ton/block/StorageInfo; + public static synthetic fun copy-OsBMiQA$default (Lorg/ton/block/StorageInfo;Lorg/ton/block/StorageUsed;ILorg/ton/block/Maybe;ILjava/lang/Object;)Lorg/ton/block/StorageInfo; + public final fun duePayment ()Lorg/ton/block/Maybe; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun lastPaid ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; + public final fun used ()Lorg/ton/block/StorageUsed; +} + +public final class org/ton/block/StorageInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/StorageInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/StorageInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/StorageInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/StorageInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/StorageUsed : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/StorageUsed$Companion; + public fun (Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;)V + public final fun component1 ()Lorg/ton/block/VarUInteger; + public final fun component2 ()Lorg/ton/block/VarUInteger; + public final fun component3 ()Lorg/ton/block/VarUInteger; + public final fun copy (Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;)Lorg/ton/block/StorageUsed; + public static synthetic fun copy$default (Lorg/ton/block/StorageUsed;Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;ILjava/lang/Object;)Lorg/ton/block/StorageUsed; + public fun equals (Ljava/lang/Object;)Z + public final fun getBits ()Lorg/ton/block/VarUInteger; + public final fun getCells ()Lorg/ton/block/VarUInteger; + public final fun getPublicCells ()Lorg/ton/block/VarUInteger; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/StorageUsed$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/StorageUsed;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/StorageUsed; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/StorageUsed; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/StorageUsed;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/StorageUsedShort : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/StorageUsedShort$Companion; + public fun (Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;)V + public final fun component1 ()Lorg/ton/block/VarUInteger; + public final fun component2 ()Lorg/ton/block/VarUInteger; + public final fun copy (Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;)Lorg/ton/block/StorageUsedShort; + public static synthetic fun copy$default (Lorg/ton/block/StorageUsedShort;Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;ILjava/lang/Object;)Lorg/ton/block/StorageUsedShort; + public fun equals (Ljava/lang/Object;)Z + public final fun getBits ()Lorg/ton/block/VarUInteger; + public final fun getCells ()Lorg/ton/block/VarUInteger; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/StorageUsedShort$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/StorageUsedShort;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/StorageUsedShort; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/StorageUsedShort; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/StorageUsedShort;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/Text { + public static final field Companion Lorg/ton/block/Text$Companion; + public synthetic fun (BLorg/ton/block/TextChunks;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-w2LRezQ ()B + public final fun component2 ()Lorg/ton/block/TextChunks; + public final fun copy-0ky7B_Q (BLorg/ton/block/TextChunks;)Lorg/ton/block/Text; + public static synthetic fun copy-0ky7B_Q$default (Lorg/ton/block/Text;BLorg/ton/block/TextChunks;ILjava/lang/Object;)Lorg/ton/block/Text; + public fun equals (Ljava/lang/Object;)Z + public final fun getChunks-w2LRezQ ()B + public final fun getRest ()Lorg/ton/block/TextChunks; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/Text$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Text;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Text; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Text; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Text;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TextChunk : org/ton/block/TextChunks { + public static final field Companion Lorg/ton/block/TextChunk$Companion; + public synthetic fun (BLorg/ton/bitstring/BitString;Lorg/ton/block/TextChunkRef;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getData ()Lorg/ton/bitstring/BitString; + public final fun getLen-w2LRezQ ()B + public final fun getNext ()Lorg/ton/block/TextChunkRef; +} + +public final class org/ton/block/TextChunk$Companion { + public final fun tlbConstructor (I)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TextChunkEmpty : org/ton/block/TextChunks, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/TextChunkEmpty; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TextChunkEmpty;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TextChunkEmpty; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TextChunkEmpty; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TextChunkEmpty;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/TextChunkRef { + public static final field Companion Lorg/ton/block/TextChunkRef$Companion; +} + +public final class org/ton/block/TextChunkRef$Companion { + public final fun tlbCombinator (I)Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/block/TextChunks { + public static final field Companion Lorg/ton/block/TextChunks$Companion; +} + +public final class org/ton/block/TextChunks$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/TickTock : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TickTock$Companion; + public fun (ZZ)V + public final fun component1 ()Z + public final fun component2 ()Z + public final fun copy (ZZ)Lorg/ton/block/TickTock; + public static synthetic fun copy$default (Lorg/ton/block/TickTock;ZZILjava/lang/Object;)Lorg/ton/block/TickTock; + public fun equals (Ljava/lang/Object;)Z + public final fun getTick ()Z + public final fun getTock ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun toPair ()Lkotlin/Pair; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TickTock$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TickTock;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TickTock; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TickTock; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TickTock;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TickTockKt { + public static final fun toTickTock (Lkotlin/Pair;)Lorg/ton/block/TickTock; +} + +public final class org/ton/block/TrActionPhase : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TrActionPhase$Companion; + public fun (ZZZLorg/ton/block/AccStatusChange;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;ILorg/ton/block/Maybe;IIIILorg/ton/bitstring/BitString;Lorg/ton/block/StorageUsedShort;)V + public final fun component1 ()Z + public final fun component10 ()I + public final fun component11 ()I + public final fun component12 ()I + public final fun component13 ()Lorg/ton/bitstring/BitString; + public final fun component14 ()Lorg/ton/block/StorageUsedShort; + public final fun component2 ()Z + public final fun component3 ()Z + public final fun component4 ()Lorg/ton/block/AccStatusChange; + public final fun component5 ()Lorg/ton/block/Maybe; + public final fun component6 ()Lorg/ton/block/Maybe; + public final fun component7 ()I + public final fun component8 ()Lorg/ton/block/Maybe; + public final fun component9 ()I + public final fun copy (ZZZLorg/ton/block/AccStatusChange;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;ILorg/ton/block/Maybe;IIIILorg/ton/bitstring/BitString;Lorg/ton/block/StorageUsedShort;)Lorg/ton/block/TrActionPhase; + public static synthetic fun copy$default (Lorg/ton/block/TrActionPhase;ZZZLorg/ton/block/AccStatusChange;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;ILorg/ton/block/Maybe;IIIILorg/ton/bitstring/BitString;Lorg/ton/block/StorageUsedShort;ILjava/lang/Object;)Lorg/ton/block/TrActionPhase; + public fun equals (Ljava/lang/Object;)Z + public final fun getActionListHash ()Lorg/ton/bitstring/BitString; + public final fun getMsgsCreated ()I + public final fun getNoFunds ()Z + public final fun getResultArg ()Lorg/ton/block/Maybe; + public final fun getResultCode ()I + public final fun getSkippedActions ()I + public final fun getSpecActions ()I + public final fun getStatusChange ()Lorg/ton/block/AccStatusChange; + public final fun getSuccess ()Z + public final fun getTotActions ()I + public final fun getTotMsgSize ()Lorg/ton/block/StorageUsedShort; + public final fun getTotalActionFees ()Lorg/ton/block/Maybe; + public final fun getTotalFwdFees ()Lorg/ton/block/Maybe; + public final fun getValid ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrActionPhase$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrActionPhase;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrActionPhase; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrActionPhase; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrActionPhase;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/TrBouncePhase : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TrBouncePhase$Companion; +} + +public final class org/ton/block/TrBouncePhase$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrBouncePhase;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrBouncePhase; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrBouncePhase; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrBouncePhase;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/block/TrComputePhase : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TrComputePhase$Companion; +} + +public final class org/ton/block/TrComputePhase$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrComputePhase;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrComputePhase; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrComputePhase; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrComputePhase;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/TrComputePhaseAux : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TrComputePhaseAux$Companion; + public synthetic fun (Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;Lorg/ton/block/Maybe;IILorg/ton/block/Maybe;ILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/block/VarUInteger; + public final fun component2 ()Lorg/ton/block/VarUInteger; + public final fun component3 ()Lorg/ton/block/Maybe; + public final fun component4 ()I + public final fun component5 ()I + public final fun component6 ()Lorg/ton/block/Maybe; + public final fun component7-pVg5ArA ()I + public final fun component8 ()Lorg/ton/bitstring/BitString; + public final fun component9 ()Lorg/ton/bitstring/BitString; + public final fun copy-dBG4VAU (Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;Lorg/ton/block/Maybe;IILorg/ton/block/Maybe;ILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;)Lorg/ton/block/TrComputePhaseAux; + public static synthetic fun copy-dBG4VAU$default (Lorg/ton/block/TrComputePhaseAux;Lorg/ton/block/VarUInteger;Lorg/ton/block/VarUInteger;Lorg/ton/block/Maybe;IILorg/ton/block/Maybe;ILorg/ton/bitstring/BitString;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/block/TrComputePhaseAux; + public fun equals (Ljava/lang/Object;)Z + public final fun getExitArg ()Lorg/ton/block/Maybe; + public final fun getExitCode ()I + public final fun getGasCredit ()Lorg/ton/block/Maybe; + public final fun getGasLimit ()Lorg/ton/block/VarUInteger; + public final fun getGasUsed ()Lorg/ton/block/VarUInteger; + public final fun getMode ()I + public final fun getVmFinalStateHash ()Lorg/ton/bitstring/BitString; + public final fun getVmInitStateHash ()Lorg/ton/bitstring/BitString; + public final fun getVmSteps-pVg5ArA ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrComputePhaseAux$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrComputePhaseAux;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrComputePhaseAux; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrComputePhaseAux; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrComputePhaseAux;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TrCreditPhase : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TrCreditPhase$Companion; + public fun (Lorg/ton/block/Maybe;Lorg/ton/block/CurrencyCollection;)V + public final fun component1 ()Lorg/ton/block/Maybe; + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (Lorg/ton/block/Maybe;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/TrCreditPhase; + public static synthetic fun copy$default (Lorg/ton/block/TrCreditPhase;Lorg/ton/block/Maybe;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/TrCreditPhase; + public fun equals (Ljava/lang/Object;)Z + public final fun getCredit ()Lorg/ton/block/CurrencyCollection; + public final fun getDueFeesCollected ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrCreditPhase$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrCreditPhase;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrCreditPhase; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrCreditPhase; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrCreditPhase;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TrPhaseBounceNegFunds : org/ton/block/TrBouncePhase, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/TrPhaseBounceNegFunds; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrPhaseBounceNegFunds;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrPhaseBounceNegFunds; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrPhaseBounceNegFunds; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrPhaseBounceNegFunds;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrPhaseBounceNoFunds : org/ton/block/TrBouncePhase { + public static final field Companion Lorg/ton/block/TrPhaseBounceNoFunds$Companion; + public fun (Lorg/ton/block/StorageUsedShort;Lorg/ton/block/Coins;)V + public final fun component1 ()Lorg/ton/block/StorageUsedShort; + public final fun component2 ()Lorg/ton/block/Coins; + public final fun copy (Lorg/ton/block/StorageUsedShort;Lorg/ton/block/Coins;)Lorg/ton/block/TrPhaseBounceNoFunds; + public static synthetic fun copy$default (Lorg/ton/block/TrPhaseBounceNoFunds;Lorg/ton/block/StorageUsedShort;Lorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/TrPhaseBounceNoFunds; + public fun equals (Ljava/lang/Object;)Z + public final fun getMsgSize ()Lorg/ton/block/StorageUsedShort; + public final fun getReqFwdFees ()Lorg/ton/block/Coins; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrPhaseBounceNoFunds$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrPhaseBounceNoFunds;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrPhaseBounceNoFunds; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrPhaseBounceNoFunds; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrPhaseBounceNoFunds;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TrPhaseBounceOk : org/ton/block/TrBouncePhase { + public static final field Companion Lorg/ton/block/TrPhaseBounceOk$Companion; + public fun (Lorg/ton/block/StorageUsedShort;Lorg/ton/block/Coins;Lorg/ton/block/Coins;)V + public final fun component1 ()Lorg/ton/block/StorageUsedShort; + public final fun component2 ()Lorg/ton/block/Coins; + public final fun component3 ()Lorg/ton/block/Coins; + public final fun copy (Lorg/ton/block/StorageUsedShort;Lorg/ton/block/Coins;Lorg/ton/block/Coins;)Lorg/ton/block/TrPhaseBounceOk; + public static synthetic fun copy$default (Lorg/ton/block/TrPhaseBounceOk;Lorg/ton/block/StorageUsedShort;Lorg/ton/block/Coins;Lorg/ton/block/Coins;ILjava/lang/Object;)Lorg/ton/block/TrPhaseBounceOk; + public fun equals (Ljava/lang/Object;)Z + public final fun getFwdFees ()Lorg/ton/block/Coins; + public final fun getMsgFees ()Lorg/ton/block/Coins; + public final fun getMsgSize ()Lorg/ton/block/StorageUsedShort; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrPhaseBounceOk$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrPhaseBounceOk;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrPhaseBounceOk; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrPhaseBounceOk; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrPhaseBounceOk;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TrPhaseComputeSkipped : org/ton/block/TrComputePhase { + public static final field Companion Lorg/ton/block/TrPhaseComputeSkipped$Companion; + public fun (Lorg/ton/block/ComputeSkipReason;)V + public final fun component1 ()Lorg/ton/block/ComputeSkipReason; + public final fun copy (Lorg/ton/block/ComputeSkipReason;)Lorg/ton/block/TrPhaseComputeSkipped; + public static synthetic fun copy$default (Lorg/ton/block/TrPhaseComputeSkipped;Lorg/ton/block/ComputeSkipReason;ILjava/lang/Object;)Lorg/ton/block/TrPhaseComputeSkipped; + public fun equals (Ljava/lang/Object;)Z + public final fun getReason ()Lorg/ton/block/ComputeSkipReason; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrPhaseComputeSkipped$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrPhaseComputeSkipped;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrPhaseComputeSkipped; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrPhaseComputeSkipped; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrPhaseComputeSkipped;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TrPhaseComputeVm : org/ton/block/TrComputePhase { + public static final field Companion Lorg/ton/block/TrPhaseComputeVm$Companion; + public fun (ZZZLorg/ton/block/Coins;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Z + public final fun component2 ()Z + public final fun component3 ()Z + public final fun component4 ()Lorg/ton/block/Coins; + public final fun component5 ()Lorg/ton/tlb/CellRef; + public final fun copy (ZZZLorg/ton/block/Coins;Lorg/ton/tlb/CellRef;)Lorg/ton/block/TrPhaseComputeVm; + public static synthetic fun copy$default (Lorg/ton/block/TrPhaseComputeVm;ZZZLorg/ton/block/Coins;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/TrPhaseComputeVm; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccountActivated ()Z + public final fun getGasFees ()Lorg/ton/block/Coins; + public final fun getMsgStateUsed ()Z + public final fun getR1 ()Lorg/ton/tlb/CellRef; + public final fun getSuccess ()Z + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrPhaseComputeVm$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrPhaseComputeVm;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrPhaseComputeVm; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrPhaseComputeVm; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrPhaseComputeVm;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TrPhaseComputeVmTlbConstructor : org/ton/tlb/TlbConstructor { + public static final field INSTANCE Lorg/ton/block/TrPhaseComputeVmTlbConstructor; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrPhaseComputeVm; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrPhaseComputeVm;)V +} + +public final class org/ton/block/TrStoragePhase : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TrStoragePhase$Companion; + public fun (Lorg/ton/block/Coins;Lorg/ton/block/Maybe;Lorg/ton/block/AccStatusChange;)V + public final fun component1 ()Lorg/ton/block/Coins; + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/AccStatusChange; + public final fun copy (Lorg/ton/block/Coins;Lorg/ton/block/Maybe;Lorg/ton/block/AccStatusChange;)Lorg/ton/block/TrStoragePhase; + public static synthetic fun copy$default (Lorg/ton/block/TrStoragePhase;Lorg/ton/block/Coins;Lorg/ton/block/Maybe;Lorg/ton/block/AccStatusChange;ILjava/lang/Object;)Lorg/ton/block/TrStoragePhase; + public fun equals (Ljava/lang/Object;)Z + public final fun getStatusChange ()Lorg/ton/block/AccStatusChange; + public final fun getStorageFeesCollected ()Lorg/ton/block/Coins; + public final fun getStorageFeesDue ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TrStoragePhase$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TrStoragePhase;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TrStoragePhase; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TrStoragePhase; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TrStoragePhase;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransMergeInstall : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransMergeInstall$Companion; + public fun (Lorg/ton/block/SplitMergeInfo;Lorg/ton/tlb/CellRef;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZ)V + public final fun component1 ()Lorg/ton/block/SplitMergeInfo; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/block/Maybe; + public final fun component4 ()Lorg/ton/block/Maybe; + public final fun component5 ()Lorg/ton/block/TrComputePhase; + public final fun component6 ()Lorg/ton/block/Maybe; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun copy (Lorg/ton/block/SplitMergeInfo;Lorg/ton/tlb/CellRef;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZ)Lorg/ton/block/TransMergeInstall; + public static synthetic fun copy$default (Lorg/ton/block/TransMergeInstall;Lorg/ton/block/SplitMergeInfo;Lorg/ton/tlb/CellRef;Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZILjava/lang/Object;)Lorg/ton/block/TransMergeInstall; + public fun equals (Ljava/lang/Object;)Z + public final fun getAborted ()Z + public final fun getAction ()Lorg/ton/block/Maybe; + public final fun getComputePh ()Lorg/ton/block/TrComputePhase; + public final fun getCreditPh ()Lorg/ton/block/Maybe; + public final fun getDestroyed ()Z + public final fun getPrepareTransaction ()Lorg/ton/tlb/CellRef; + public final fun getSplitInfo ()Lorg/ton/block/SplitMergeInfo; + public final fun getStoragePh ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransMergeInstall$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransMergeInstall;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransMergeInstall; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransMergeInstall; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransMergeInstall;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransMergePrepare : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransMergePrepare$Companion; + public fun (Lorg/ton/block/SplitMergeInfo;Lorg/ton/block/TrStoragePhase;Z)V + public final fun component1 ()Lorg/ton/block/SplitMergeInfo; + public final fun component2 ()Lorg/ton/block/TrStoragePhase; + public final fun component3 ()Z + public final fun copy (Lorg/ton/block/SplitMergeInfo;Lorg/ton/block/TrStoragePhase;Z)Lorg/ton/block/TransMergePrepare; + public static synthetic fun copy$default (Lorg/ton/block/TransMergePrepare;Lorg/ton/block/SplitMergeInfo;Lorg/ton/block/TrStoragePhase;ZILjava/lang/Object;)Lorg/ton/block/TransMergePrepare; + public fun equals (Ljava/lang/Object;)Z + public final fun getAborted ()Z + public final fun getSplitInfo ()Lorg/ton/block/SplitMergeInfo; + public final fun getStoragePh ()Lorg/ton/block/TrStoragePhase; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransMergePrepare$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransMergePrepare;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransMergePrepare; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransMergePrepare; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransMergePrepare;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransOrd : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransOrd$Companion; + public fun (ZLorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZLorg/ton/block/Maybe;Z)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/Maybe; + public final fun component4 ()Lorg/ton/block/TrComputePhase; + public final fun component5 ()Lorg/ton/block/Maybe; + public final fun component6 ()Z + public final fun component7 ()Lorg/ton/block/Maybe; + public final fun component8 ()Z + public final fun copy (ZLorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZLorg/ton/block/Maybe;Z)Lorg/ton/block/TransOrd; + public static synthetic fun copy$default (Lorg/ton/block/TransOrd;ZLorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZLorg/ton/block/Maybe;ZILjava/lang/Object;)Lorg/ton/block/TransOrd; + public fun equals (Ljava/lang/Object;)Z + public final fun getAborted ()Z + public final fun getAction ()Lorg/ton/block/Maybe; + public final fun getBounce ()Lorg/ton/block/Maybe; + public final fun getComputePh ()Lorg/ton/block/TrComputePhase; + public final fun getCreditFirst ()Z + public final fun getCreditPh ()Lorg/ton/block/Maybe; + public final fun getDestroyed ()Z + public final fun getStoragePh ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransOrd$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransOrd;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransOrd; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransOrd; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransOrd;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransSplitInstall : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransSplitInstall$Companion; + public fun (Lorg/ton/block/SplitMergeInfo;Lorg/ton/tlb/CellRef;Z)V + public final fun component1 ()Lorg/ton/block/SplitMergeInfo; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Z + public final fun copy (Lorg/ton/block/SplitMergeInfo;Lorg/ton/tlb/CellRef;Z)Lorg/ton/block/TransSplitInstall; + public static synthetic fun copy$default (Lorg/ton/block/TransSplitInstall;Lorg/ton/block/SplitMergeInfo;Lorg/ton/tlb/CellRef;ZILjava/lang/Object;)Lorg/ton/block/TransSplitInstall; + public fun equals (Ljava/lang/Object;)Z + public final fun getInstalled ()Z + public final fun getPrepareTransaction ()Lorg/ton/tlb/CellRef; + public final fun getSplitInfo ()Lorg/ton/block/SplitMergeInfo; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransSplitInstall$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransSplitInstall;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransSplitInstall; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransSplitInstall; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransSplitInstall;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransSplitPrepare : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransSplitPrepare$Companion; + public fun (Lorg/ton/block/SplitMergeInfo;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZ)V + public final fun component1 ()Lorg/ton/block/SplitMergeInfo; + public final fun component2 ()Lorg/ton/block/Maybe; + public final fun component3 ()Lorg/ton/block/TrComputePhase; + public final fun component4 ()Lorg/ton/block/Maybe; + public final fun component5 ()Z + public final fun component6 ()Z + public final fun copy (Lorg/ton/block/SplitMergeInfo;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZ)Lorg/ton/block/TransSplitPrepare; + public static synthetic fun copy$default (Lorg/ton/block/TransSplitPrepare;Lorg/ton/block/SplitMergeInfo;Lorg/ton/block/Maybe;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZILjava/lang/Object;)Lorg/ton/block/TransSplitPrepare; + public fun equals (Ljava/lang/Object;)Z + public final fun getAborted ()Z + public final fun getAction ()Lorg/ton/block/Maybe; + public final fun getComputePh ()Lorg/ton/block/TrComputePhase; + public final fun getDestroyed ()Z + public final fun getSplitInfo ()Lorg/ton/block/SplitMergeInfo; + public final fun getStoragePh ()Lorg/ton/block/Maybe; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransSplitPrepare$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransSplitPrepare;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransSplitPrepare; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransSplitPrepare; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransSplitPrepare;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransStorage : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransStorage$Companion; + public fun (Lorg/ton/block/TrStoragePhase;)V + public final fun component1 ()Lorg/ton/block/TrStoragePhase; + public final fun copy (Lorg/ton/block/TrStoragePhase;)Lorg/ton/block/TransStorage; + public static synthetic fun copy$default (Lorg/ton/block/TransStorage;Lorg/ton/block/TrStoragePhase;ILjava/lang/Object;)Lorg/ton/block/TransStorage; + public fun equals (Ljava/lang/Object;)Z + public final fun getStoragePh ()Lorg/ton/block/TrStoragePhase; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransStorage$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransStorage;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransStorage; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransStorage; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransStorage;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/TransTickTock : org/ton/block/TransactionDescr { + public static final field Companion Lorg/ton/block/TransTickTock$Companion; + public fun (ZLorg/ton/block/TrStoragePhase;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZ)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/block/TrStoragePhase; + public final fun component3 ()Lorg/ton/block/TrComputePhase; + public final fun component4 ()Lorg/ton/block/Maybe; + public final fun component5 ()Z + public final fun component6 ()Z + public final fun copy (ZLorg/ton/block/TrStoragePhase;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZ)Lorg/ton/block/TransTickTock; + public static synthetic fun copy$default (Lorg/ton/block/TransTickTock;ZLorg/ton/block/TrStoragePhase;Lorg/ton/block/TrComputePhase;Lorg/ton/block/Maybe;ZZILjava/lang/Object;)Lorg/ton/block/TransTickTock; + public fun equals (Ljava/lang/Object;)Z + public final fun getAborted ()Z + public final fun getAction ()Lorg/ton/block/Maybe; + public final fun getComputePh ()Lorg/ton/block/TrComputePhase; + public final fun getDestroyed ()Z + public final fun getStoragePh ()Lorg/ton/block/TrStoragePhase; + public fun hashCode ()I + public final fun isTock ()Z + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransTickTock$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransTickTock;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransTickTock; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransTickTock; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransTickTock;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/Transaction : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/Transaction$Companion; + public synthetic fun (Lorg/ton/bitstring/BitString;JLorg/ton/bitstring/BitString;JIILorg/ton/block/AccountStatus;Lorg/ton/block/AccountStatus;Lorg/ton/tlb/CellRef;Lorg/ton/block/CurrencyCollection;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun accountAddr ()Lorg/ton/bitstring/BitString; + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component10 ()Lorg/ton/block/CurrencyCollection; + public final fun component11 ()Lorg/ton/tlb/CellRef; + public final fun component12 ()Lorg/ton/tlb/CellRef; + public final fun component2-s-VKNKU ()J + public final fun component3 ()Lorg/ton/bitstring/BitString; + public final fun component4-s-VKNKU ()J + public final fun component5-pVg5ArA ()I + public final fun component6 ()I + public final fun component7 ()Lorg/ton/block/AccountStatus; + public final fun component8 ()Lorg/ton/block/AccountStatus; + public final fun component9 ()Lorg/ton/tlb/CellRef; + public final fun copy-cKXN7Dc (Lorg/ton/bitstring/BitString;JLorg/ton/bitstring/BitString;JIILorg/ton/block/AccountStatus;Lorg/ton/block/AccountStatus;Lorg/ton/tlb/CellRef;Lorg/ton/block/CurrencyCollection;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/Transaction; + public static synthetic fun copy-cKXN7Dc$default (Lorg/ton/block/Transaction;Lorg/ton/bitstring/BitString;JLorg/ton/bitstring/BitString;JIILorg/ton/block/AccountStatus;Lorg/ton/block/AccountStatus;Lorg/ton/tlb/CellRef;Lorg/ton/block/CurrencyCollection;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/Transaction; + public final fun description ()Lorg/ton/tlb/CellRef; + public final fun endStatus ()Lorg/ton/block/AccountStatus; + public fun equals (Ljava/lang/Object;)Z + public final fun hash ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public final fun lt ()J + public final fun now ()I + public final fun origStatus ()Lorg/ton/block/AccountStatus; + public final fun outMsgCnt ()I + public final fun prevTransHash ()Lorg/ton/bitstring/BitString; + public final fun prevTransLt ()J + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun r1 ()Lorg/ton/tlb/CellRef; + public final fun stateUpdate ()Lorg/ton/tlb/CellRef; + public final fun toCell ()Lorg/ton/cell/Cell; + public fun toString ()Ljava/lang/String; + public final fun totalFees ()Lorg/ton/block/CurrencyCollection; +} + +public final class org/ton/block/Transaction$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/Transaction;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/Transaction; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/Transaction; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/Transaction;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/TransactionAux : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TransactionAux$Companion; + public fun (Lorg/ton/block/Maybe;Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/block/Maybe; + public final fun component2 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/block/Maybe;Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/TransactionAux; + public static synthetic fun copy$default (Lorg/ton/block/TransactionAux;Lorg/ton/block/Maybe;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/TransactionAux; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun inMsg ()Lorg/ton/block/Maybe; + public final fun outMsgs ()Lorg/ton/hashmap/HashMapE; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/TransactionAux$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransactionAux;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransactionAux; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransactionAux; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransactionAux;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/TransactionDescr : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/TransactionDescr$Companion; +} + +public final class org/ton/block/TransactionDescr$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/TransactionDescr;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/TransactionDescr; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/TransactionDescr; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/TransactionDescr;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/ValidatorBaseInfo { + public fun (JJ)V + public final fun component1 ()J + public final fun component2 ()J + public final fun copy (JJ)Lorg/ton/block/ValidatorBaseInfo; + public static synthetic fun copy$default (Lorg/ton/block/ValidatorBaseInfo;JJILjava/lang/Object;)Lorg/ton/block/ValidatorBaseInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getCatchain_seqno ()J + public final fun getValidator_list_hash_short ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ValidatorInfo : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ValidatorInfo$Companion; + public synthetic fun (IIZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-pVg5ArA ()I + public final fun component2-pVg5ArA ()I + public final fun component3 ()Z + public final fun copy-t3GQkyU (IIZ)Lorg/ton/block/ValidatorInfo; + public static synthetic fun copy-t3GQkyU$default (Lorg/ton/block/ValidatorInfo;IIZILjava/lang/Object;)Lorg/ton/block/ValidatorInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun getCatchainSeqno-pVg5ArA ()I + public final fun getNxCcUpdated ()Z + public final fun getValidatorListHashShort-pVg5ArA ()I + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ValidatorInfo$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ValidatorInfo;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ValidatorInfo; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ValidatorInfo; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ValidatorInfo;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/ValueFlow : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/ValueFlow$Companion; + public fun (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)V + public final fun component1 ()Lorg/ton/block/CurrencyCollection; + public final fun component2 ()Lorg/ton/block/CurrencyCollection; + public final fun component3 ()Lorg/ton/block/CurrencyCollection; + public final fun component4 ()Lorg/ton/block/CurrencyCollection; + public final fun component5 ()Lorg/ton/block/CurrencyCollection; + public final fun component6 ()Lorg/ton/block/CurrencyCollection; + public final fun component7 ()Lorg/ton/block/CurrencyCollection; + public final fun component8 ()Lorg/ton/block/CurrencyCollection; + public final fun component9 ()Lorg/ton/block/CurrencyCollection; + public final fun copy (Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;)Lorg/ton/block/ValueFlow; + public static synthetic fun copy$default (Lorg/ton/block/ValueFlow;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;Lorg/ton/block/CurrencyCollection;ILjava/lang/Object;)Lorg/ton/block/ValueFlow; + public fun equals (Ljava/lang/Object;)Z + public final fun getCreated ()Lorg/ton/block/CurrencyCollection; + public final fun getExported ()Lorg/ton/block/CurrencyCollection; + public final fun getFeesCollected ()Lorg/ton/block/CurrencyCollection; + public final fun getFeesImported ()Lorg/ton/block/CurrencyCollection; + public final fun getFromPrevBlk ()Lorg/ton/block/CurrencyCollection; + public final fun getImported ()Lorg/ton/block/CurrencyCollection; + public final fun getMinted ()Lorg/ton/block/CurrencyCollection; + public final fun getRecovered ()Lorg/ton/block/CurrencyCollection; + public final fun getToNextBlk ()Lorg/ton/block/CurrencyCollection; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/ValueFlow$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/ValueFlow;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/ValueFlow; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/ValueFlow; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/ValueFlow;)V +} + +public final class org/ton/block/VarInteger : java/lang/Number { + public static final field Companion Lorg/ton/block/VarInteger$Companion; + public fun (I)V + public fun (ILjava/math/BigInteger;)V + public fun (J)V + public fun (Ljava/math/BigInteger;)V + public final fun byteValue ()B + public final fun component1 ()I + public final fun component2 ()Ljava/math/BigInteger; + public final fun copy (ILjava/math/BigInteger;)Lorg/ton/block/VarInteger; + public static synthetic fun copy$default (Lorg/ton/block/VarInteger;ILjava/math/BigInteger;ILjava/lang/Object;)Lorg/ton/block/VarInteger; + public final fun doubleValue ()D + public fun equals (Ljava/lang/Object;)Z + public final fun floatValue ()F + public final fun getLen ()I + public final fun getValue ()Ljava/math/BigInteger; + public fun hashCode ()I + public final fun intValue ()I + public final fun longValue ()J + public final fun shortValue ()S + public static final fun tlbCodec (I)Lorg/ton/tlb/TlbConstructor; + public fun toByte ()B + public fun toChar ()C + public fun toDouble ()D + public fun toFloat ()F + public fun toInt ()I + public fun toLong ()J + public fun toShort ()S + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VarInteger$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VarUInteger : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/block/VarUInteger$Companion; + public fun (I)V + public fun (ILjava/math/BigInteger;)V + public fun (J)V + public fun (Ljava/math/BigInteger;)V + public final fun component1 ()I + public final fun component2 ()Ljava/math/BigInteger; + public final fun copy (ILjava/math/BigInteger;)Lorg/ton/block/VarUInteger; + public static synthetic fun copy$default (Lorg/ton/block/VarUInteger;ILjava/math/BigInteger;ILjava/lang/Object;)Lorg/ton/block/VarUInteger; + public final fun dec ()Lorg/ton/block/VarUInteger; + public final fun div (Lorg/ton/block/VarUInteger;)Lorg/ton/block/VarUInteger; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun inc ()Lorg/ton/block/VarUInteger; + public final fun len ()I + public final fun minus (Lorg/ton/block/VarUInteger;)Lorg/ton/block/VarUInteger; + public final fun plus (Lorg/ton/block/VarUInteger;)Lorg/ton/block/VarUInteger; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun rem (Lorg/ton/block/VarUInteger;)Lorg/ton/block/VarUInteger; + public final fun times (Lorg/ton/block/VarUInteger;)Lorg/ton/block/VarUInteger; + public static final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; + public final fun toByte ()B + public final fun toChar ()C + public final fun toDouble ()D + public final fun toFloat ()F + public final fun toInt ()I + public final fun toLong ()J + public final fun toShort ()S + public fun toString ()Ljava/lang/String; + public final fun value ()Ljava/math/BigInteger; +} + +public final class org/ton/block/VarUInteger$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmCellSlice : org/ton/block/VmStackSlice { + public static final field Companion Lorg/ton/block/VmCellSlice$Companion; + public fun (Lorg/ton/cell/Cell;IIII)V + public fun (Lorg/ton/cell/CellSlice;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()I + public final fun component5 ()I + public final fun copy (Lorg/ton/cell/Cell;IIII)Lorg/ton/block/VmCellSlice; + public static synthetic fun copy$default (Lorg/ton/block/VmCellSlice;Lorg/ton/cell/Cell;IIIIILjava/lang/Object;)Lorg/ton/block/VmCellSlice; + public fun equals (Ljava/lang/Object;)Z + public fun getCell ()Lorg/ton/cell/Cell; + public fun getEndBits ()I + public fun getEndRef ()I + public fun getStBits ()I + public fun getStRef ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmCellSlice$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmCellSlice;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmCellSlice; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmCellSlice; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmCellSlice;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/VmCont { + public static final field Companion Lorg/ton/block/VmCont$Companion; +} + +public final class org/ton/block/VmCont$Again : org/ton/block/VmCont { + public fun (Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;)Lorg/ton/block/VmCont$Again; + public static synthetic fun copy$default (Lorg/ton/block/VmCont$Again;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmCont$Again; + public fun equals (Ljava/lang/Object;)Z + public final fun getBody ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmCont$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmCont;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmCont; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmCont; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmCont;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/VmCont$PushInt : org/ton/block/VmCont { + public fun (ILorg/ton/tlb/CellRef;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (ILorg/ton/tlb/CellRef;)Lorg/ton/block/VmCont$PushInt; + public static synthetic fun copy$default (Lorg/ton/block/VmCont$PushInt;ILorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmCont$PushInt; + public fun equals (Ljava/lang/Object;)Z + public final fun getNext ()Lorg/ton/tlb/CellRef; + public final fun getValue ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmCont$Until : org/ton/block/VmCont { + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/VmCont$Until; + public static synthetic fun copy$default (Lorg/ton/block/VmCont$Until;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmCont$Until; + public fun equals (Ljava/lang/Object;)Z + public final fun getAfter ()Lorg/ton/tlb/CellRef; + public final fun getBody ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmCont$WhileBody : org/ton/block/VmCont { + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/VmCont$WhileBody; + public static synthetic fun copy$default (Lorg/ton/block/VmCont$WhileBody;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmCont$WhileBody; + public fun equals (Ljava/lang/Object;)Z + public final fun getAfter ()Lorg/ton/tlb/CellRef; + public final fun getBody ()Lorg/ton/tlb/CellRef; + public final fun getCond ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmCont$WhileCond : org/ton/block/VmCont { + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/VmCont$WhileCond; + public static synthetic fun copy$default (Lorg/ton/block/VmCont$WhileCond;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmCont$WhileCond; + public fun equals (Ljava/lang/Object;)Z + public final fun getAfter ()Lorg/ton/tlb/CellRef; + public final fun getBody ()Lorg/ton/tlb/CellRef; + public final fun getCond ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmContEnvelope : org/ton/block/VmCont { + public static final field Companion Lorg/ton/block/VmContEnvelope$Companion; + public fun (Lorg/ton/block/VmControlData;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/block/VmControlData; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/block/VmControlData;Lorg/ton/tlb/CellRef;)Lorg/ton/block/VmContEnvelope; + public static synthetic fun copy$default (Lorg/ton/block/VmContEnvelope;Lorg/ton/block/VmControlData;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmContEnvelope; + public fun equals (Ljava/lang/Object;)Z + public final fun getCdata ()Lorg/ton/block/VmControlData; + public final fun getNext ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmContEnvelope$Companion { + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmContQuit : org/ton/block/VmCont { + public static final field Companion Lorg/ton/block/VmContQuit$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/block/VmContQuit; + public static synthetic fun copy$default (Lorg/ton/block/VmContQuit;IILjava/lang/Object;)Lorg/ton/block/VmContQuit; + public fun equals (Ljava/lang/Object;)Z + public final fun getExit_code ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmContQuit$Companion { + public final fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmContQuitExc : org/ton/block/VmCont { + public static final field INSTANCE Lorg/ton/block/VmContQuitExc; + public final fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmContRepeat : org/ton/block/VmCont { + public static final field Companion Lorg/ton/block/VmContRepeat$Companion; + public fun (JLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()J + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (JLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/block/VmContRepeat; + public static synthetic fun copy$default (Lorg/ton/block/VmContRepeat;JLorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/block/VmContRepeat; + public fun equals (Ljava/lang/Object;)Z + public final fun getAfter ()Lorg/ton/tlb/CellRef; + public final fun getBody ()Lorg/ton/tlb/CellRef; + public final fun getCount ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmContRepeat$Companion { + public final fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmContStd : org/ton/block/VmCont { + public static final field Companion Lorg/ton/block/VmContStd$Companion; + public fun (Lorg/ton/block/VmControlData;Lorg/ton/block/VmCellSlice;)V + public final fun component1 ()Lorg/ton/block/VmControlData; + public final fun component2 ()Lorg/ton/block/VmCellSlice; + public final fun copy (Lorg/ton/block/VmControlData;Lorg/ton/block/VmCellSlice;)Lorg/ton/block/VmContStd; + public static synthetic fun copy$default (Lorg/ton/block/VmContStd;Lorg/ton/block/VmControlData;Lorg/ton/block/VmCellSlice;ILjava/lang/Object;)Lorg/ton/block/VmContStd; + public fun equals (Ljava/lang/Object;)Z + public final fun getCdata ()Lorg/ton/block/VmControlData; + public final fun getCode ()Lorg/ton/block/VmCellSlice; + public fun hashCode ()I + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmContStd$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmContStd;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmContStd; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmContStd; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmContStd;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmControlData { + public static final field Companion Lorg/ton/block/VmControlData$Companion; + public synthetic fun (Lkotlin/UInt;Lorg/ton/block/VmStack;Lorg/ton/block/VmSaveList;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Lorg/ton/block/Maybe;Lorg/ton/block/Maybe;Lorg/ton/block/VmSaveList;Lorg/ton/block/Maybe;)V + public final fun getCp ()Lorg/ton/block/Maybe; + public final fun getNargs ()Lorg/ton/block/Maybe; + public final fun getSave ()Lorg/ton/block/VmSaveList; + public final fun getStack ()Lorg/ton/block/Maybe; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmControlData$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmControlData;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmControlData; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmControlData; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmControlData;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmGasLimits { + public fun (JJJJ)V + public final fun component1 ()J + public final fun component2 ()J + public final fun component3 ()J + public final fun component4 ()J + public final fun copy (JJJJ)Lorg/ton/block/VmGasLimits; + public static synthetic fun copy$default (Lorg/ton/block/VmGasLimits;JJJJILjava/lang/Object;)Lorg/ton/block/VmGasLimits; + public fun equals (Ljava/lang/Object;)Z + public final fun getCredit ()J + public final fun getCur_limit ()J + public final fun getMax_limit ()J + public final fun getRemaining ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmLibraries { + public fun (Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/VmLibraries; + public static synthetic fun copy$default (Lorg/ton/block/VmLibraries;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/VmLibraries; + public fun equals (Ljava/lang/Object;)Z + public final fun getLibraries ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmSaveList { + public static final field Companion Lorg/ton/block/VmSaveList$Companion; + public fun (Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashMapE;)Lorg/ton/block/VmSaveList; + public static synthetic fun copy$default (Lorg/ton/block/VmSaveList;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/block/VmSaveList; + public fun equals (Ljava/lang/Object;)Z + public final fun getCregs ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public static final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmSaveList$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmSaveList;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmSaveList; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmSaveList; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmSaveList;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/VmStack : java/util/Collection, kotlin/jvm/internal/markers/KMappedMarker { + public static final field Companion Lorg/ton/block/VmStack$Companion; + public fun contains (Ljava/lang/Object;)Z + public fun contains (Lorg/ton/block/VmStackValue;)Z + public fun containsAll (Ljava/util/Collection;)Z + public fun get (I)Lorg/ton/block/VmStackValue; + public abstract fun getDepth ()I + public fun getSize ()I + public abstract fun getStack ()Lorg/ton/block/VmStackList; + public fun isEmpty ()Z + public fun iterator ()Ljava/util/Iterator; + public fun size ()I + public static fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; + public abstract fun toMutableVmStack ()Lorg/ton/block/MutableVmStack; +} + +public final class org/ton/block/VmStack$Companion : org/ton/tlb/TlbCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStack;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStack; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStack; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStack;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmStackBuilder : org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackBuilder$Companion; + public fun (Lorg/ton/cell/Cell;)V + public fun (Lorg/ton/cell/CellBuilder;)V + public final fun getCell ()Lorg/ton/cell/Cell; + public final fun toCellBuilder ()Lorg/ton/cell/CellBuilder; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackBuilder$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackBuilder;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackBuilder; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackBuilder; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackBuilder;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmStackCell : org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackCell$Companion; + public fun (Lorg/ton/cell/Cell;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun copy (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackCell; + public static synthetic fun copy$default (Lorg/ton/block/VmStackCell;Lorg/ton/cell/Cell;ILjava/lang/Object;)Lorg/ton/block/VmStackCell; + public fun equals (Ljava/lang/Object;)Z + public final fun getCell ()Lorg/ton/cell/Cell; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackCell$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackCell;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackCell; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackCell; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackCell;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmStackCont : org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackCont$Companion; + public fun (Lorg/ton/block/VmCont;)V + public final fun component1 ()Lorg/ton/block/VmCont; + public final fun copy (Lorg/ton/block/VmCont;)Lorg/ton/block/VmStackCont; + public static synthetic fun copy$default (Lorg/ton/block/VmStackCont;Lorg/ton/block/VmCont;ILjava/lang/Object;)Lorg/ton/block/VmStackCont; + public fun equals (Ljava/lang/Object;)Z + public final fun getCont ()Lorg/ton/block/VmCont; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackCont$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackCont;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackCont; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackCont; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackCont;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmStackImpl : org/ton/block/VmStack { + public fun (ILorg/ton/block/VmStackList;)V + public fun (Lorg/ton/block/VmStackList;)V + public synthetic fun add (Ljava/lang/Object;)Z + public fun add (Lorg/ton/block/VmStackValue;)Z + public fun addAll (Ljava/util/Collection;)Z + public fun clear ()V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/block/VmStackList; + public final fun copy (ILorg/ton/block/VmStackList;)Lorg/ton/block/VmStackImpl; + public static synthetic fun copy$default (Lorg/ton/block/VmStackImpl;ILorg/ton/block/VmStackList;ILjava/lang/Object;)Lorg/ton/block/VmStackImpl; + public fun equals (Ljava/lang/Object;)Z + public fun getDepth ()I + public fun getStack ()Lorg/ton/block/VmStackList; + public fun hashCode ()I + public fun remove (Ljava/lang/Object;)Z + public fun removeAll (Ljava/util/Collection;)Z + public fun removeIf (Ljava/util/function/Predicate;)Z + public fun retainAll (Ljava/util/Collection;)Z + public fun toArray ()[Ljava/lang/Object; + public fun toArray ([Ljava/lang/Object;)[Ljava/lang/Object; + public fun toMutableVmStack ()Lorg/ton/block/MutableVmStack; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackInt : org/ton/block/VmStackNumber, org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackInt$Companion; + public fun (I)V + public fun (J)V + public fun (Ljava/math/BigInteger;)V + public final fun component1 ()Ljava/math/BigInteger; + public final fun copy (Ljava/math/BigInteger;)Lorg/ton/block/VmStackInt; + public static synthetic fun copy$default (Lorg/ton/block/VmStackInt;Ljava/math/BigInteger;ILjava/lang/Object;)Lorg/ton/block/VmStackInt; + public fun div (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()Ljava/math/BigInteger; + public fun hashCode ()I + public fun minus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun plus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun times (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun toBigInt ()Ljava/math/BigInteger; + public fun toBoolean ()Z + public fun toInt ()I + public fun toLong ()J + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackInt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackInt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackInt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackInt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackInt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmStackKt { + public static final fun MutableVmStack ()Lorg/ton/block/MutableVmStack; + public static final fun VmStack (ILorg/ton/block/VmStackList;)Lorg/ton/block/VmStack; + public static final fun VmStack (Lorg/ton/block/VmStackList;)Lorg/ton/block/VmStack; +} + +public abstract interface class org/ton/block/VmStackList : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { + public static final field Companion Lorg/ton/block/VmStackList$Companion; + public static fun of (Ljava/lang/Iterable;)Lorg/ton/block/VmStackList; + public static fun of ([Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmStackList; + public static fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmStackList$Companion { + public final fun of (Ljava/lang/Iterable;)Lorg/ton/block/VmStackList; + public final fun of ([Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmStackList; + public final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmStackList$Cons : org/ton/block/VmStackList { + public fun (Lorg/ton/block/VmStackList;Lorg/ton/block/VmStackValue;)V + public final fun component1 ()Lorg/ton/block/VmStackList; + public final fun component2 ()Lorg/ton/block/VmStackValue; + public final fun copy (Lorg/ton/block/VmStackList;Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmStackList$Cons; + public static synthetic fun copy$default (Lorg/ton/block/VmStackList$Cons;Lorg/ton/block/VmStackList;Lorg/ton/block/VmStackValue;ILjava/lang/Object;)Lorg/ton/block/VmStackList$Cons; + public fun equals (Ljava/lang/Object;)Z + public final fun getRest ()Lorg/ton/block/VmStackList; + public final fun getTos ()Lorg/ton/block/VmStackValue; + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackList$Nil : org/ton/block/VmStackList { + public static final field INSTANCE Lorg/ton/block/VmStackList$Nil; + public fun iterator ()Ljava/util/Iterator; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackListKt { + public static final fun VmStackList (Ljava/lang/Iterable;)Lorg/ton/block/VmStackList; + public static final fun VmStackList ([Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmStackList; +} + +public final class org/ton/block/VmStackNan : org/ton/block/VmStackNumber, org/ton/block/VmStackValue, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/VmStackNan; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackNan;)Lorg/ton/cell/Cell; + public fun div (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackNan; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackNan; + public fun minus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun plus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackNan;)V + public fun times (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toBigInt ()Ljava/math/BigInteger; + public fun toBoolean ()Z + public fun toInt ()I + public fun toLong ()J + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackNan$VmStackNanException : java/lang/RuntimeException { + public fun ()V +} + +public final class org/ton/block/VmStackNull : org/ton/block/VmStackValue, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/VmStackNull; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackNull;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackNull; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackNull; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackNull;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/block/VmStackNumber : org/ton/block/VmStackValue { + public abstract fun div (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public abstract fun minus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public abstract fun plus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public abstract fun times (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public abstract fun toBigInt ()Ljava/math/BigInteger; + public abstract fun toBoolean ()Z + public abstract fun toInt ()I + public abstract fun toLong ()J +} + +public abstract interface class org/ton/block/VmStackSlice : org/ton/block/VmStackValue { + public abstract fun getCell ()Lorg/ton/cell/Cell; + public abstract fun getEndBits ()I + public abstract fun getEndRef ()I + public abstract fun getStBits ()I + public abstract fun getStRef ()I + public fun toCellSlice ()Lorg/ton/cell/CellSlice; +} + +public final class org/ton/block/VmStackTinyInt : org/ton/block/VmStackNumber, org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackTinyInt$Companion; + public fun (I)V + public fun (J)V + public fun (Z)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/block/VmStackTinyInt; + public static synthetic fun copy$default (Lorg/ton/block/VmStackTinyInt;JILjava/lang/Object;)Lorg/ton/block/VmStackTinyInt; + public fun div (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()J + public fun hashCode ()I + public fun minus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun plus (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun times (Lorg/ton/block/VmStackNumber;)Lorg/ton/block/VmStackNumber; + public fun toBigInt ()Ljava/math/BigInteger; + public fun toBoolean ()Z + public fun toInt ()I + public fun toLong ()J + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackTinyInt$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackTinyInt;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackTinyInt; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackTinyInt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackTinyInt;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/block/VmStackTuple : org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackTuple$Companion; + public fun (ILorg/ton/block/VmTuple;)V + public fun (Lorg/ton/block/VmTuple;)V + public final fun getData ()Lorg/ton/block/VmTuple; + public final fun getLen ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmStackTuple$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackTuple;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackTuple; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackTuple; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackTuple;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/block/VmStackValue { + public static final field Companion Lorg/ton/block/VmStackValue$Companion; + public static fun of ()Lorg/ton/block/VmStackNull; + public static fun of (I)Lorg/ton/block/VmStackTinyInt; + public static fun of (J)Lorg/ton/block/VmStackTinyInt; + public static fun of (Ljava/math/BigInteger;)Lorg/ton/block/VmStackInt; + public static fun of (Lorg/ton/block/VmCont;)Lorg/ton/block/VmStackCont; + public static fun of (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmStackTuple; + public static fun of (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackCell; + public static fun of (Lorg/ton/cell/CellBuilder;)Lorg/ton/block/VmStackBuilder; + public static fun of (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmCellSlice; + public static fun of (Z)Lorg/ton/block/VmStackTinyInt; +} + +public final class org/ton/block/VmStackValue$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmStackValue;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackValue; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmStackValue; + public final fun of ()Lorg/ton/block/VmStackNull; + public final fun of (I)Lorg/ton/block/VmStackTinyInt; + public final fun of (J)Lorg/ton/block/VmStackTinyInt; + public final fun of (Ljava/math/BigInteger;)Lorg/ton/block/VmStackInt; + public final fun of (Lorg/ton/block/VmCont;)Lorg/ton/block/VmStackCont; + public final fun of (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmStackTuple; + public final fun of (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackCell; + public final fun of (Lorg/ton/cell/CellBuilder;)Lorg/ton/block/VmStackBuilder; + public final fun of (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmCellSlice; + public final fun of (Z)Lorg/ton/block/VmStackTinyInt; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmStackValue;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/block/VmStackValueKt { + public static final fun VmStackValue ()Lorg/ton/block/VmStackValue; + public static final fun VmStackValue (I)Lorg/ton/block/VmStackTinyInt; + public static final fun VmStackValue (J)Lorg/ton/block/VmStackTinyInt; + public static final fun VmStackValue (Ljava/math/BigInteger;)Lorg/ton/block/VmStackInt; + public static final fun VmStackValue (Lorg/ton/block/VmCont;)Lorg/ton/block/VmStackCont; + public static final fun VmStackValue (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmStackTuple; + public static final fun VmStackValue (Lorg/ton/cell/Cell;)Lorg/ton/block/VmStackCell; + public static final fun VmStackValue (Lorg/ton/cell/CellBuilder;)Lorg/ton/block/VmStackBuilder; + public static final fun VmStackValue (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmCellSlice; + public static final fun VmStackValue (Z)Lorg/ton/block/VmStackTinyInt; +} + +public abstract interface class org/ton/block/VmTuple { + public static final field Companion Lorg/ton/block/VmTuple$Companion; + public abstract fun depth ()I + public static fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmTuple$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmTupleNil : org/ton/block/VmTuple, org/ton/tlb/providers/TlbConstructorProvider { + public static final field INSTANCE Lorg/ton/block/VmTupleNil; + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/block/VmTupleNil;)Lorg/ton/cell/Cell; + public fun depth ()I + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/block/VmTupleNil; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/block/VmTupleNil; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/block/VmTupleNil;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/block/VmTupleRef { + public static final field Companion Lorg/ton/block/VmTupleRef$Companion; + public abstract fun depth ()I + public static fun of ()Lorg/ton/block/VmTupleRef; + public static fun of (Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmTupleRef; + public static fun of (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmTupleRef; + public static fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmTupleRef$Companion { + public final fun of ()Lorg/ton/block/VmTupleRef; + public final fun of (Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmTupleRef; + public final fun of (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmTupleRef; + public final fun tlbCodec (I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/block/VmTupleRefAny : org/ton/block/VmTupleRef { + public fun (Lorg/ton/block/VmTuple;)V + public final fun component1 ()Lorg/ton/block/VmTuple; + public final fun copy (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmTupleRefAny; + public static synthetic fun copy$default (Lorg/ton/block/VmTupleRefAny;Lorg/ton/block/VmTuple;ILjava/lang/Object;)Lorg/ton/block/VmTupleRefAny; + public fun depth ()I + public fun equals (Ljava/lang/Object;)Z + public final fun getRef ()Lorg/ton/block/VmTuple; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmTupleRefKt { + public static final fun VmTupleRef ()Lorg/ton/block/VmTupleRef; + public static final fun VmTupleRef (Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmTupleRef; + public static final fun VmTupleRef (Lorg/ton/block/VmTuple;)Lorg/ton/block/VmTupleRef; +} + +public final class org/ton/block/VmTupleRefNil : org/ton/block/VmTupleRef { + public static final field INSTANCE Lorg/ton/block/VmTupleRefNil; + public fun depth ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmTupleRefSingle : org/ton/block/VmTupleRef { + public fun (Lorg/ton/block/VmStackValue;)V + public final fun component1 ()Lorg/ton/block/VmStackValue; + public final fun copy (Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmTupleRefSingle; + public static synthetic fun copy$default (Lorg/ton/block/VmTupleRefSingle;Lorg/ton/block/VmStackValue;ILjava/lang/Object;)Lorg/ton/block/VmTupleRefSingle; + public fun depth ()I + public fun equals (Ljava/lang/Object;)Z + public final fun getEntry ()Lorg/ton/block/VmStackValue; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmTupleTcons : org/ton/block/VmTuple { + public static final field Companion Lorg/ton/block/VmTupleTcons$Companion; + public fun (Lorg/ton/block/VmTupleRef;Lorg/ton/block/VmStackValue;)V + public final fun component1 ()Lorg/ton/block/VmTupleRef; + public final fun component2 ()Lorg/ton/block/VmStackValue; + public final fun copy (Lorg/ton/block/VmTupleRef;Lorg/ton/block/VmStackValue;)Lorg/ton/block/VmTupleTcons; + public static synthetic fun copy$default (Lorg/ton/block/VmTupleTcons;Lorg/ton/block/VmTupleRef;Lorg/ton/block/VmStackValue;ILjava/lang/Object;)Lorg/ton/block/VmTupleTcons; + public fun depth ()I + public fun equals (Ljava/lang/Object;)Z + public final fun getHead ()Lorg/ton/block/VmTupleRef; + public final fun getTail ()Lorg/ton/block/VmStackValue; + public fun hashCode ()I + public static final fun tlbCodec (I)Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/block/VmTupleTcons$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbConstructor; +} + diff --git a/block-tlb/build.gradle.kts b/block-tlb/build.gradle.kts new file mode 100644 index 00000000..679b5308 --- /dev/null +++ b/block-tlb/build.gradle.kts @@ -0,0 +1,17 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(projects.tonKotlinHashmapTlb) + api(projects.tonKotlinTlb) + api(projects.tonKotlinTl) + implementation(libs.serialization.core) + } + } + } +} diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccStatusChange.kt b/block-tlb/src/AccStatusChange.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccStatusChange.kt rename to block-tlb/src/AccStatusChange.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Account.kt b/block-tlb/src/Account.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Account.kt rename to block-tlb/src/Account.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountActive.kt b/block-tlb/src/AccountActive.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountActive.kt rename to block-tlb/src/AccountActive.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountBlock.kt b/block-tlb/src/AccountBlock.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountBlock.kt rename to block-tlb/src/AccountBlock.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountFrozen.kt b/block-tlb/src/AccountFrozen.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountFrozen.kt rename to block-tlb/src/AccountFrozen.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountInfo.kt b/block-tlb/src/AccountInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountInfo.kt rename to block-tlb/src/AccountInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountNone.kt b/block-tlb/src/AccountNone.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountNone.kt rename to block-tlb/src/AccountNone.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountState.kt b/block-tlb/src/AccountState.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountState.kt rename to block-tlb/src/AccountState.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountStatus.kt b/block-tlb/src/AccountStatus.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountStatus.kt rename to block-tlb/src/AccountStatus.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountStorage.kt b/block-tlb/src/AccountStorage.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountStorage.kt rename to block-tlb/src/AccountStorage.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountUninit.kt b/block-tlb/src/AccountUninit.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AccountUninit.kt rename to block-tlb/src/AccountUninit.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionChangeLibrary.kt b/block-tlb/src/ActionChangeLibrary.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionChangeLibrary.kt rename to block-tlb/src/ActionChangeLibrary.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionReserveCurrency.kt b/block-tlb/src/ActionReserveCurrency.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionReserveCurrency.kt rename to block-tlb/src/ActionReserveCurrency.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionSendMsg.kt b/block-tlb/src/ActionSendMsg.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionSendMsg.kt rename to block-tlb/src/ActionSendMsg.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionSetCode.kt b/block-tlb/src/ActionSetCode.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ActionSetCode.kt rename to block-tlb/src/ActionSetCode.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrExtern.kt b/block-tlb/src/AddrExtern.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrExtern.kt rename to block-tlb/src/AddrExtern.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrNone.kt b/block-tlb/src/AddrNone.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrNone.kt rename to block-tlb/src/AddrNone.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrStd.kt b/block-tlb/src/AddrStd.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrStd.kt rename to block-tlb/src/AddrStd.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrVar.kt b/block-tlb/src/AddrVar.kt similarity index 80% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrVar.kt rename to block-tlb/src/AddrVar.kt index ac9f058f..703e236f 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/AddrVar.kt +++ b/block-tlb/src/AddrVar.kt @@ -22,16 +22,16 @@ public data class AddrVar( require(address.size == addrLen) { "required: address.size == addr_len, actual: ${address.size}" } } - constructor(workchainId: Int, address: ByteArray) : this(null, workchainId, address) - constructor(workchainId: Int, address: BitString) : this(null, workchainId, address) - constructor(anycast: Anycast?, workchainId: Int, address: BitString) : this( + public constructor(workchainId: Int, address: ByteArray) : this(null, workchainId, address) + public constructor(workchainId: Int, address: BitString) : this(null, workchainId, address) + public constructor(anycast: Anycast?, workchainId: Int, address: BitString) : this( anycast.toMaybe(), address.size, workchainId, address ) - constructor(anycast: Anycast?, workchainId: Int, address: ByteArray) : this( + public constructor(anycast: Anycast?, workchainId: Int, address: ByteArray) : this( anycast.toMaybe(), address.size, workchainId, @@ -49,9 +49,9 @@ public data class AddrVar( override fun toString(): String = print().toString() - companion object : TlbCodec by AddrVarTlbConstructor { + public companion object : TlbCodec by AddrVarTlbConstructor { @JvmStatic - fun tlbCodec(): TlbConstructor = AddrVarTlbConstructor + public fun tlbCodec(): TlbConstructor = AddrVarTlbConstructor } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Anycast.kt b/block-tlb/src/Anycast.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Anycast.kt rename to block-tlb/src/Anycast.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTree.kt b/block-tlb/src/BinTree.kt similarity index 93% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTree.kt rename to block-tlb/src/BinTree.kt index 6a6df188..d582242d 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTree.kt +++ b/block-tlb/src/BinTree.kt @@ -16,10 +16,10 @@ public sealed interface BinTree : Iterable, TlbObject { override fun iterator(): Iterator = nodes().iterator() public fun nodes(): Sequence - companion object { + public companion object { @Suppress("UNCHECKED_CAST") @JvmStatic - fun tlbCodec( + public fun tlbCodec( x: TlbCodec ): TlbCombinator> = BinTreeTlbCombinator(x) as TlbCombinator> } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTreeFork.kt b/block-tlb/src/BinTreeFork.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTreeFork.kt rename to block-tlb/src/BinTreeFork.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTreeLeaf.kt b/block-tlb/src/BinTreeLeaf.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BinTreeLeaf.kt rename to block-tlb/src/BinTreeLeaf.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlkMasterInfo.kt b/block-tlb/src/BlkMasterInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlkMasterInfo.kt rename to block-tlb/src/BlkMasterInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlkPrevInfo.kt b/block-tlb/src/BlkPrevInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlkPrevInfo.kt rename to block-tlb/src/BlkPrevInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Block.kt b/block-tlb/src/Block.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Block.kt rename to block-tlb/src/Block.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockCreateStats.kt b/block-tlb/src/BlockCreateStats.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockCreateStats.kt rename to block-tlb/src/BlockCreateStats.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockCreateStatsExt.kt b/block-tlb/src/BlockCreateStatsExt.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockCreateStatsExt.kt rename to block-tlb/src/BlockCreateStatsExt.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockCreateStatsRegular.kt b/block-tlb/src/BlockCreateStatsRegular.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockCreateStatsRegular.kt rename to block-tlb/src/BlockCreateStatsRegular.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockExtra.kt b/block-tlb/src/BlockExtra.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockExtra.kt rename to block-tlb/src/BlockExtra.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockInfo.kt b/block-tlb/src/BlockInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/BlockInfo.kt rename to block-tlb/src/BlockInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Certificate.kt b/block-tlb/src/Certificate.kt similarity index 90% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Certificate.kt rename to block-tlb/src/Certificate.kt index 87bd951d..652446ba 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Certificate.kt +++ b/block-tlb/src/Certificate.kt @@ -12,12 +12,12 @@ import org.ton.tlb.storeTlb @Serializable @SerialName("certificate") -data class Certificate( +public data class Certificate( val temp_key: SigPubKey, val valid_since: UInt, val valid_until: UInt ) { - companion object : TlbConstructorProvider by CertificateTlbConstructor + public companion object : TlbConstructorProvider by CertificateTlbConstructor } private object CertificateTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CertificateEnv.kt b/block-tlb/src/CertificateEnv.kt similarity index 84% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CertificateEnv.kt rename to block-tlb/src/CertificateEnv.kt index 8f1a2486..2527329f 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CertificateEnv.kt +++ b/block-tlb/src/CertificateEnv.kt @@ -5,6 +5,6 @@ import kotlinx.serialization.Serializable @Serializable @SerialName("certificate_env") -data class CertificateEnv( +public data class CertificateEnv( val certificate: Certificate ) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChainedSignature.kt b/block-tlb/src/ChainedSignature.kt similarity index 89% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChainedSignature.kt rename to block-tlb/src/ChainedSignature.kt index a972689f..3fa8245d 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChainedSignature.kt +++ b/block-tlb/src/ChainedSignature.kt @@ -10,11 +10,11 @@ import org.ton.tlb.storeTlb @Serializable @SerialName("chained_signature") -data class ChainedSignature( +public data class ChainedSignature( val signed_crt: SignedCertificate, val temp_key_signature: CryptoSignatureSimple ) : CryptoSignature { - companion object : TlbConstructorProvider by ChainedSignatureTLbConstructor + public companion object : TlbConstructorProvider by ChainedSignatureTLbConstructor } private object ChainedSignatureTLbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChunkRef.kt b/block-tlb/src/ChunkRef.kt similarity index 84% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChunkRef.kt rename to block-tlb/src/ChunkRef.kt index 87d85784..d36fade5 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChunkRef.kt +++ b/block-tlb/src/ChunkRef.kt @@ -8,11 +8,11 @@ import org.ton.tlb.TlbConstructor import org.ton.tlb.loadTlb import org.ton.tlb.storeTlb -data class ChunkRef( +public data class ChunkRef( val ref: TextChunks ) : TextChunkRef { - companion object { - fun tlbConstructor(n: Int): TlbConstructor = ChunkRefTlbConstructor(n) + public companion object { + public fun tlbConstructor(n: Int): TlbConstructor = ChunkRefTlbConstructor(n) } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChunkRefEmpty.kt b/block-tlb/src/ChunkRefEmpty.kt similarity index 80% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChunkRefEmpty.kt rename to block-tlb/src/ChunkRefEmpty.kt index ed43b9ab..44d632ef 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ChunkRefEmpty.kt +++ b/block-tlb/src/ChunkRefEmpty.kt @@ -5,7 +5,7 @@ import org.ton.cell.CellSlice import org.ton.tlb.TlbConstructor import org.ton.tlb.providers.TlbConstructorProvider -object ChunkRefEmpty : TextChunkRef, TlbConstructorProvider by ChunkRefEmptyTlbConstructor +public object ChunkRefEmpty : TextChunkRef, TlbConstructorProvider by ChunkRefEmptyTlbConstructor private object ChunkRefEmptyTlbConstructor : TlbConstructor( schema = "chunk_ref_empty\$_ = TextChunkRef 0;" diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Coins.kt b/block-tlb/src/Coins.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Coins.kt rename to block-tlb/src/Coins.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CommonMsgInfo.kt b/block-tlb/src/CommonMsgInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CommonMsgInfo.kt rename to block-tlb/src/CommonMsgInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CommonMsgInfoRelaxed.kt b/block-tlb/src/CommonMsgInfoRelaxed.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CommonMsgInfoRelaxed.kt rename to block-tlb/src/CommonMsgInfoRelaxed.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ComputeSkipReason.kt b/block-tlb/src/ComputeSkipReason.kt similarity index 92% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ComputeSkipReason.kt rename to block-tlb/src/ComputeSkipReason.kt index 786171bc..5b614d15 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ComputeSkipReason.kt +++ b/block-tlb/src/ComputeSkipReason.kt @@ -28,9 +28,9 @@ public enum class ComputeSkipReason { } ; - companion object : TlbCodec by ComputeSkipReasonTlbCombinator { + public companion object : TlbCodec by ComputeSkipReasonTlbCombinator { @JvmStatic - fun tlbCodec(): TlbCombinator = ComputeSkipReasonTlbCombinator + public fun tlbCodec(): TlbCombinator = ComputeSkipReasonTlbCombinator } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ConfigParams.kt b/block-tlb/src/ConfigParams.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ConfigParams.kt rename to block-tlb/src/ConfigParams.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Counters.kt b/block-tlb/src/Counters.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Counters.kt rename to block-tlb/src/Counters.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CreatorStats.kt b/block-tlb/src/CreatorStats.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CreatorStats.kt rename to block-tlb/src/CreatorStats.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignature.kt b/block-tlb/src/CryptoSignature.kt similarity index 77% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignature.kt rename to block-tlb/src/CryptoSignature.kt index 70c87ab3..339c42c6 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignature.kt +++ b/block-tlb/src/CryptoSignature.kt @@ -9,8 +9,8 @@ import org.ton.tlb.providers.TlbCombinatorProvider @Serializable @JsonClassDiscriminator("@type") -sealed interface CryptoSignature { - companion object : TlbCombinatorProvider by CryptoSignatureTlbCombinator +public sealed interface CryptoSignature { + public companion object : TlbCombinatorProvider by CryptoSignatureTlbCombinator } private object CryptoSignatureTlbCombinator : TlbCombinator( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignaturePair.kt b/block-tlb/src/CryptoSignaturePair.kt similarity index 88% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignaturePair.kt rename to block-tlb/src/CryptoSignaturePair.kt index 2b68ca8e..6e4cfda3 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignaturePair.kt +++ b/block-tlb/src/CryptoSignaturePair.kt @@ -13,11 +13,11 @@ import org.ton.tlb.storeTlb @Serializable @SerialName("sig_pair") -data class CryptoSignaturePair( +public data class CryptoSignaturePair( val node_id_short: BitString, val sign: CryptoSignature ) { - companion object : TlbConstructorProvider by CryptoSignaturePairTlbConstructor + public companion object : TlbConstructorProvider by CryptoSignaturePairTlbConstructor } private object CryptoSignaturePairTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignatureSimple.kt b/block-tlb/src/CryptoSignatureSimple.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignatureSimple.kt rename to block-tlb/src/CryptoSignatureSimple.kt index 3f18e698..4eff3e6d 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CryptoSignatureSimple.kt +++ b/block-tlb/src/CryptoSignatureSimple.kt @@ -11,11 +11,11 @@ import org.ton.tlb.providers.TlbConstructorProvider @Serializable @SerialName("ed25519_signature") -data class CryptoSignatureSimple( +public data class CryptoSignatureSimple( val r: BitString, val s: BitString ) : CryptoSignature { - companion object : TlbConstructorProvider by CryptoSignatureSimpleTlbConstructor + public companion object : TlbConstructorProvider by CryptoSignatureSimpleTlbConstructor } private object CryptoSignatureSimpleTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CurrencyCollection.kt b/block-tlb/src/CurrencyCollection.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/CurrencyCollection.kt rename to block-tlb/src/CurrencyCollection.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DepthBalanceInfo.kt b/block-tlb/src/DepthBalanceInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DepthBalanceInfo.kt rename to block-tlb/src/DepthBalanceInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsAdnlAddress.kt b/block-tlb/src/DnsAdnlAddress.kt similarity index 92% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsAdnlAddress.kt rename to block-tlb/src/DnsAdnlAddress.kt index b0d754ec..69b77245 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsAdnlAddress.kt +++ b/block-tlb/src/DnsAdnlAddress.kt @@ -10,7 +10,7 @@ import org.ton.tlb.storeTlb @SerialName("dns_adnl_address") @Serializable -data class DnsAdnlAddress( +public data class DnsAdnlAddress( val adnl_addr: BitString, val flags: BitString, val proto_list: ProtoList? @@ -21,7 +21,7 @@ data class DnsAdnlAddress( require(!flags[0] || proto_list != null) { "proto_list required, if flags[0] == true" } } - companion object : TlbConstructorProvider by DnsAdnlAddressTlbConstructor + public companion object : TlbConstructorProvider by DnsAdnlAddressTlbConstructor } private object DnsAdnlAddressTlbConstructor : org.ton.tlb.TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsNextResolver.kt b/block-tlb/src/DnsNextResolver.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsNextResolver.kt rename to block-tlb/src/DnsNextResolver.kt index 7c93bddc..ef9d7d44 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsNextResolver.kt +++ b/block-tlb/src/DnsNextResolver.kt @@ -11,10 +11,10 @@ import org.ton.tlb.storeTlb @SerialName("dns_next_resolver") @Serializable -data class DnsNextResolver( +public data class DnsNextResolver( val resolver: MsgAddressInt ) : DnsRecord { - companion object : TlbConstructorProvider by DNSNextResolverTlbConstructor + public companion object : TlbConstructorProvider by DNSNextResolverTlbConstructor } private object DNSNextResolverTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsRecord.kt b/block-tlb/src/DnsRecord.kt similarity index 74% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsRecord.kt rename to block-tlb/src/DnsRecord.kt index 950bb78a..c393cad7 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsRecord.kt +++ b/block-tlb/src/DnsRecord.kt @@ -3,8 +3,8 @@ package org.ton.block import org.ton.tlb.TlbCombinator import org.ton.tlb.providers.TlbCombinatorProvider -sealed interface DnsRecord { - companion object : TlbCombinatorProvider by DnsRecordTlbCombinator +public sealed interface DnsRecord { + public companion object : TlbCombinatorProvider by DnsRecordTlbCombinator } private object DnsRecordTlbCombinator : TlbCombinator( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsSmcAddress.kt b/block-tlb/src/DnsSmcAddress.kt similarity index 89% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsSmcAddress.kt rename to block-tlb/src/DnsSmcAddress.kt index 14b6918b..d1dc9a83 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsSmcAddress.kt +++ b/block-tlb/src/DnsSmcAddress.kt @@ -8,12 +8,12 @@ import org.ton.tlb.loadTlb import org.ton.tlb.providers.TlbConstructorProvider import org.ton.tlb.storeTlb -data class DnsSmcAddress( +public data class DnsSmcAddress( val smc_address: MsgAddressInt, val flags: BitString, val cap_list: SmcCapList? ) : DnsRecord { - companion object : TlbConstructorProvider by DnsSmcAddressTlbConstructor + public companion object : TlbConstructorProvider by DnsSmcAddressTlbConstructor } private object DnsSmcAddressTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsText.kt b/block-tlb/src/DnsText.kt similarity index 84% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsText.kt rename to block-tlb/src/DnsText.kt index 0e15ebe7..46421ce5 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/DnsText.kt +++ b/block-tlb/src/DnsText.kt @@ -10,11 +10,11 @@ import org.ton.tlb.providers.TlbConstructorProvider import org.ton.tlb.storeTlb @Serializable -class DnsText( +public class DnsText( @SerialName("_") - val value: Text + public val value: Text ) : DnsRecord { - companion object : TlbConstructorProvider by DnsTextTlbConstructor + public companion object : TlbConstructorProvider by DnsTextTlbConstructor } private object DnsTextTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Either.kt b/block-tlb/src/Either.kt similarity index 89% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Either.kt rename to block-tlb/src/Either.kt index 9e213eef..c0b454d1 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Either.kt +++ b/block-tlb/src/Either.kt @@ -31,8 +31,8 @@ public sealed interface Either : TlbObject { override val x: X? = value override val y: Y? = null - operator fun component1() = x - operator fun component2() = y + public operator fun component1(): X? = x + public operator fun component2(): Y? = y override fun equals(other: Any?): Boolean { if (this === other) return true @@ -60,8 +60,8 @@ public sealed interface Either : TlbObject { override val x: X? = null override val y: Y? = value - operator fun component1() = x - operator fun component2() = y + public operator fun component1(): X? = x + public operator fun component2(): Y? = y override fun equals(other: Any?): Boolean { if (this === other) return true @@ -83,7 +83,7 @@ public sealed interface Either : TlbObject { public companion object { @JvmStatic - fun of(left: X?, right: Y?): Either { + public fun of(left: X?, right: Y?): Either { if (left != null) { return Left(left) } @@ -95,12 +95,13 @@ public sealed interface Either : TlbObject { @Suppress("UNCHECKED_CAST") @JvmStatic - fun tlbCodec(x: TlbCodec, y: TlbCodec): TlbCodec> = + public fun tlbCodec(x: TlbCodec, y: TlbCodec): TlbCodec> = EitherTlbCombinator(x, y) as TlbCodec> } } -operator fun Either.Companion.invoke(x: TlbCodec, y: TlbCodec) = tlbCodec(x, y) +public operator fun Either.Companion.invoke(x: TlbCodec, y: TlbCodec): TlbCodec> = + tlbCodec(x, y) private class EitherTlbCombinator( x: TlbCodec, y: TlbCodec, diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/EnqueuedMsg.kt b/block-tlb/src/EnqueuedMsg.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/EnqueuedMsg.kt rename to block-tlb/src/EnqueuedMsg.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtBlkRef.kt b/block-tlb/src/ExtBlkRef.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtBlkRef.kt rename to block-tlb/src/ExtBlkRef.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtInMsgInfo.kt b/block-tlb/src/ExtInMsgInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtInMsgInfo.kt rename to block-tlb/src/ExtInMsgInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtOutMsgInfo.kt b/block-tlb/src/ExtOutMsgInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtOutMsgInfo.kt rename to block-tlb/src/ExtOutMsgInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtraCurrencyCollection.kt b/block-tlb/src/ExtraCurrencyCollection.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ExtraCurrencyCollection.kt rename to block-tlb/src/ExtraCurrencyCollection.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMerge.kt b/block-tlb/src/FutureSplitMerge.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMerge.kt rename to block-tlb/src/FutureSplitMerge.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMergeMerge.kt b/block-tlb/src/FutureSplitMergeMerge.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMergeMerge.kt rename to block-tlb/src/FutureSplitMergeMerge.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMergeNone.kt b/block-tlb/src/FutureSplitMergeNone.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMergeNone.kt rename to block-tlb/src/FutureSplitMergeNone.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMergeSplit.kt b/block-tlb/src/FutureSplitMergeSplit.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/FutureSplitMergeSplit.kt rename to block-tlb/src/FutureSplitMergeSplit.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/GlobalVersion.kt b/block-tlb/src/GlobalVersion.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/GlobalVersion.kt rename to block-tlb/src/GlobalVersion.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/HashUpdate.kt b/block-tlb/src/HashUpdate.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/HashUpdate.kt rename to block-tlb/src/HashUpdate.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IhrPendingSince.kt b/block-tlb/src/IhrPendingSince.kt similarity index 85% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IhrPendingSince.kt rename to block-tlb/src/IhrPendingSince.kt index 587f3b70..a988b2c2 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IhrPendingSince.kt +++ b/block-tlb/src/IhrPendingSince.kt @@ -10,10 +10,10 @@ import org.ton.tlb.providers.TlbConstructorProvider @Serializable @SerialName("ihr_pending") -data class IhrPendingSince( +public data class IhrPendingSince( val import_lt: ULong ) { - companion object : TlbConstructorProvider by IhrPendingSinceTlbConstructor + public companion object : TlbConstructorProvider by IhrPendingSinceTlbConstructor } private object IhrPendingSinceTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ImportFees.kt b/block-tlb/src/ImportFees.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ImportFees.kt rename to block-tlb/src/ImportFees.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/InMsg.kt b/block-tlb/src/InMsg.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/InMsg.kt rename to block-tlb/src/InMsg.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntMsgInfo.kt b/block-tlb/src/IntMsgInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntMsgInfo.kt rename to block-tlb/src/IntMsgInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddress.kt b/block-tlb/src/IntermediateAddress.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddress.kt rename to block-tlb/src/IntermediateAddress.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddressExt.kt b/block-tlb/src/IntermediateAddressExt.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddressExt.kt rename to block-tlb/src/IntermediateAddressExt.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddressRegular.kt b/block-tlb/src/IntermediateAddressRegular.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddressRegular.kt rename to block-tlb/src/IntermediateAddressRegular.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddressSimple.kt b/block-tlb/src/IntermediateAddressSimple.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/IntermediateAddressSimple.kt rename to block-tlb/src/IntermediateAddressSimple.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/KeyExtBlkRef.kt b/block-tlb/src/KeyExtBlkRef.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/KeyExtBlkRef.kt rename to block-tlb/src/KeyExtBlkRef.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/KeyMaxLt.kt b/block-tlb/src/KeyMaxLt.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/KeyMaxLt.kt rename to block-tlb/src/KeyMaxLt.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibDescr.kt b/block-tlb/src/LibDescr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibDescr.kt rename to block-tlb/src/LibDescr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRef.kt b/block-tlb/src/LibRef.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRef.kt rename to block-tlb/src/LibRef.kt index 57ec0589..00fc704c 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRef.kt +++ b/block-tlb/src/LibRef.kt @@ -7,4 +7,4 @@ import kotlinx.serialization.json.JsonClassDiscriminator @Serializable @JsonClassDiscriminator("@type") -sealed interface LibRef \ No newline at end of file +public sealed interface LibRef diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRefHash.kt b/block-tlb/src/LibRefHash.kt similarity index 91% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRefHash.kt rename to block-tlb/src/LibRefHash.kt index 0bc75f84..b95e6988 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRefHash.kt +++ b/block-tlb/src/LibRefHash.kt @@ -6,7 +6,7 @@ import org.ton.bitstring.BitString @Serializable @SerialName("libref_hash") -data class LibRefHash( +public data class LibRefHash( val lib_hash: BitString ) : LibRef { init { diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRefRef.kt b/block-tlb/src/LibRefRef.kt similarity index 87% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRefRef.kt rename to block-tlb/src/LibRefRef.kt index 7625b34f..cfacd4b9 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/LibRefRef.kt +++ b/block-tlb/src/LibRefRef.kt @@ -6,6 +6,6 @@ import org.ton.cell.Cell @Serializable @SerialName("libref_ref") -data class LibRefRef( +public data class LibRefRef( val library: Cell ) : LibRef diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Maybe.kt b/block-tlb/src/Maybe.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Maybe.kt rename to block-tlb/src/Maybe.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/McBlockExtra.kt b/block-tlb/src/McBlockExtra.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/McBlockExtra.kt rename to block-tlb/src/McBlockExtra.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/McStateExtra.kt b/block-tlb/src/McStateExtra.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/McStateExtra.kt rename to block-tlb/src/McStateExtra.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MerkleProof.kt b/block-tlb/src/MerkleProof.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MerkleProof.kt rename to block-tlb/src/MerkleProof.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MerkleUpdate.kt b/block-tlb/src/MerkleUpdate.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MerkleUpdate.kt rename to block-tlb/src/MerkleUpdate.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Message.kt b/block-tlb/src/Message.kt similarity index 94% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Message.kt rename to block-tlb/src/Message.kt index 05cbb6e4..25d4196e 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Message.kt +++ b/block-tlb/src/Message.kt @@ -36,7 +36,7 @@ public data class Message( } } -operator fun Message.Companion.invoke(x: TlbCodec) = tlbCodec(x) +public operator fun Message.Companion.invoke(x: TlbCodec): TlbConstructor> = tlbCodec(x) private class MessageTlbConstructor( x: TlbCodec diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MessageRelaxed.kt b/block-tlb/src/MessageRelaxed.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MessageRelaxed.kt rename to block-tlb/src/MessageRelaxed.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddress.kt b/block-tlb/src/MsgAddress.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddress.kt rename to block-tlb/src/MsgAddress.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddressExt.kt b/block-tlb/src/MsgAddressExt.kt similarity index 56% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddressExt.kt rename to block-tlb/src/MsgAddressExt.kt index 68be95e1..d978bfd7 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddressExt.kt +++ b/block-tlb/src/MsgAddressExt.kt @@ -10,15 +10,16 @@ import org.ton.tlb.TlbCodec import org.ton.tlb.TlbCombinator import kotlin.jvm.JvmStatic -inline fun MsgAddressExt(externalAddress: BitString? = null): MsgAddressExt = MsgAddressExt.of(externalAddress) -inline fun MsgAddressExt(externalAddress: ByteArray): MsgAddressExt = MsgAddressExt.of(externalAddress) +public inline fun MsgAddressExt(externalAddress: BitString? = null): MsgAddressExt = MsgAddressExt.of(externalAddress) + +public inline fun MsgAddressExt(externalAddress: ByteArray): MsgAddressExt = MsgAddressExt.of(externalAddress) @JsonClassDiscriminator("@type") @Serializable -sealed interface MsgAddressExt : MsgAddress { - companion object : TlbCodec by MsgAddressExtTlbCombinator { +public sealed interface MsgAddressExt : MsgAddress { + public companion object : TlbCodec by MsgAddressExtTlbCombinator { @JvmStatic - fun of(externalAddress: BitString? = null): MsgAddressExt { + public fun of(externalAddress: BitString? = null): MsgAddressExt { return if (externalAddress.isNullOrEmpty()) { AddrNone } else { @@ -27,10 +28,10 @@ sealed interface MsgAddressExt : MsgAddress { } @JvmStatic - fun of(externalAddress: ByteArray): MsgAddressExt = AddrExtern(externalAddress) + public fun of(externalAddress: ByteArray): MsgAddressExt = AddrExtern(externalAddress) @JvmStatic - fun tlbCodec(): TlbCombinator = MsgAddressExtTlbCombinator + public fun tlbCodec(): TlbCombinator = MsgAddressExtTlbCombinator } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddressInt.kt b/block-tlb/src/MsgAddressInt.kt similarity index 74% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddressInt.kt rename to block-tlb/src/MsgAddressInt.kt index 3231aac9..43514bc5 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgAddressInt.kt +++ b/block-tlb/src/MsgAddressInt.kt @@ -11,21 +11,21 @@ import org.ton.tlb.TlbCombinator import kotlin.contracts.contract import kotlin.jvm.JvmStatic -inline fun MsgAddressInt(address: String): MsgAddressInt = MsgAddressInt.parse(address) +public inline fun MsgAddressInt(address: String): MsgAddressInt = MsgAddressInt.parse(address) @OptIn(ExperimentalSerializationApi::class) @JsonClassDiscriminator("@type") @Serializable public sealed interface MsgAddressInt : MsgAddress { - val workchainId: Int - val address: BitString + public val workchainId: Int + public val address: BitString - companion object : TlbCodec by MsgAddressIntTlbCombinator { + public companion object : TlbCodec by MsgAddressIntTlbCombinator { @JvmStatic - fun tlbCodec(): TlbCombinator = MsgAddressIntTlbCombinator + public fun tlbCodec(): TlbCombinator = MsgAddressIntTlbCombinator @JvmStatic - fun toString( + public fun toString( address: MsgAddressInt, userFriendly: Boolean = true, urlSafe: Boolean = true, @@ -37,10 +37,10 @@ public sealed interface MsgAddressInt : MsgAddress { } @JvmStatic - fun parse(address: String): MsgAddressInt = AddrStd.parse(address) + public fun parse(address: String): MsgAddressInt = AddrStd.parse(address) @JvmStatic - fun parseRaw(address: String): MsgAddressInt = AddrStd.parseRaw(address) + public fun parseRaw(address: String): MsgAddressInt = AddrStd.parseRaw(address) @JvmStatic public fun parseUserFriendly(address: String): MsgAddressInt = AddrStd.parseUserFriendly(address) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgDiscardFin.kt b/block-tlb/src/MsgDiscardFin.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgDiscardFin.kt rename to block-tlb/src/MsgDiscardFin.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgDiscardTr.kt b/block-tlb/src/MsgDiscardTr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgDiscardTr.kt rename to block-tlb/src/MsgDiscardTr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgEnvelope.kt b/block-tlb/src/MsgEnvelope.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgEnvelope.kt rename to block-tlb/src/MsgEnvelope.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportDeq.kt b/block-tlb/src/MsgExportDeq.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportDeq.kt rename to block-tlb/src/MsgExportDeq.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportDeqImm.kt b/block-tlb/src/MsgExportDeqImm.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportDeqImm.kt rename to block-tlb/src/MsgExportDeqImm.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportDeqShort.kt b/block-tlb/src/MsgExportDeqShort.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportDeqShort.kt rename to block-tlb/src/MsgExportDeqShort.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportExt.kt b/block-tlb/src/MsgExportExt.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportExt.kt rename to block-tlb/src/MsgExportExt.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportImm.kt b/block-tlb/src/MsgExportImm.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportImm.kt rename to block-tlb/src/MsgExportImm.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportNew.kt b/block-tlb/src/MsgExportNew.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportNew.kt rename to block-tlb/src/MsgExportNew.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportTr.kt b/block-tlb/src/MsgExportTr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportTr.kt rename to block-tlb/src/MsgExportTr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportTrReq.kt b/block-tlb/src/MsgExportTrReq.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgExportTrReq.kt rename to block-tlb/src/MsgExportTrReq.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportExt.kt b/block-tlb/src/MsgImportExt.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportExt.kt rename to block-tlb/src/MsgImportExt.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportFin.kt b/block-tlb/src/MsgImportFin.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportFin.kt rename to block-tlb/src/MsgImportFin.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportIhr.kt b/block-tlb/src/MsgImportIhr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportIhr.kt rename to block-tlb/src/MsgImportIhr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportImm.kt b/block-tlb/src/MsgImportImm.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportImm.kt rename to block-tlb/src/MsgImportImm.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportTr.kt b/block-tlb/src/MsgImportTr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/MsgImportTr.kt rename to block-tlb/src/MsgImportTr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OldMcBlocksInfo.kt b/block-tlb/src/OldMcBlocksInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OldMcBlocksInfo.kt rename to block-tlb/src/OldMcBlocksInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutAction.kt b/block-tlb/src/OutAction.kt similarity index 85% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutAction.kt rename to block-tlb/src/OutAction.kt index ca130e47..62122275 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutAction.kt +++ b/block-tlb/src/OutAction.kt @@ -7,4 +7,4 @@ import kotlinx.serialization.json.JsonClassDiscriminator @Serializable @JsonClassDiscriminator("@type") -sealed interface OutAction +public sealed interface OutAction diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutList.kt b/block-tlb/src/OutList.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutList.kt rename to block-tlb/src/OutList.kt index b690248f..8af3df1b 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutList.kt +++ b/block-tlb/src/OutList.kt @@ -7,4 +7,4 @@ import kotlinx.serialization.json.JsonClassDiscriminator @Serializable @JsonClassDiscriminator("@type") -sealed interface OutList \ No newline at end of file +public sealed interface OutList diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListEmpty.kt b/block-tlb/src/OutListEmpty.kt similarity index 80% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListEmpty.kt rename to block-tlb/src/OutListEmpty.kt index 20d62b8d..7e2ee8ce 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListEmpty.kt +++ b/block-tlb/src/OutListEmpty.kt @@ -5,4 +5,4 @@ import kotlinx.serialization.Serializable @Serializable @SerialName("out_list_empty") -object OutListEmpty : OutList \ No newline at end of file +public object OutListEmpty : OutList diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListLink.kt b/block-tlb/src/OutListLink.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListLink.kt rename to block-tlb/src/OutListLink.kt index 646653e0..605385bb 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListLink.kt +++ b/block-tlb/src/OutListLink.kt @@ -5,7 +5,7 @@ import kotlinx.serialization.Serializable @Serializable @SerialName("out_list") -data class OutListLink( +public data class OutListLink( val prev: OutList, val action: OutAction ) : OutList diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListNode.kt b/block-tlb/src/OutListNode.kt similarity index 87% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListNode.kt rename to block-tlb/src/OutListNode.kt index 6b8cb802..a7b50167 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutListNode.kt +++ b/block-tlb/src/OutListNode.kt @@ -6,7 +6,7 @@ import org.ton.cell.Cell @Serializable @SerialName("out_list_node") -data class OutListNode( +public data class OutListNode( val prev: Cell, val action: OutAction ) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutMsg.kt b/block-tlb/src/OutMsg.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutMsg.kt rename to block-tlb/src/OutMsg.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutMsgQueueInfo.kt b/block-tlb/src/OutMsgQueueInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/OutMsgQueueInfo.kt rename to block-tlb/src/OutMsgQueueInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/PrevBlkInfo.kt b/block-tlb/src/PrevBlkInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/PrevBlkInfo.kt rename to block-tlb/src/PrevBlkInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/PrevBlksInfo.kt b/block-tlb/src/PrevBlksInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/PrevBlksInfo.kt rename to block-tlb/src/PrevBlksInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProcessedUpto.kt b/block-tlb/src/ProcessedUpto.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProcessedUpto.kt rename to block-tlb/src/ProcessedUpto.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoHttp.kt b/block-tlb/src/ProtoHttp.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoHttp.kt rename to block-tlb/src/ProtoHttp.kt index 2048483f..77282e9c 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoHttp.kt +++ b/block-tlb/src/ProtoHttp.kt @@ -9,7 +9,7 @@ import org.ton.tlb.providers.TlbConstructorProvider @SerialName("proto_http") @Serializable -object ProtoHttp : Protocol, TlbConstructorProvider by ProtoHttpTlbConstructor +public object ProtoHttp : Protocol, TlbConstructorProvider by ProtoHttpTlbConstructor private object ProtoHttpTlbConstructor : TlbConstructor( schema = "proto_http#4854 = Protocol;" diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoList.kt b/block-tlb/src/ProtoList.kt similarity index 67% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoList.kt rename to block-tlb/src/ProtoList.kt index f26dbf3c..20773539 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoList.kt +++ b/block-tlb/src/ProtoList.kt @@ -2,8 +2,8 @@ package org.ton.block import org.ton.tlb.providers.TlbCombinatorProvider -sealed interface ProtoList : Iterable { - companion object : TlbCombinatorProvider by ProtoListTlbCombinator +public sealed interface ProtoList : Iterable { + public companion object : TlbCombinatorProvider by ProtoListTlbCombinator } private object ProtoListTlbCombinator : org.ton.tlb.TlbCombinator( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoListNext.kt b/block-tlb/src/ProtoListNext.kt similarity index 88% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoListNext.kt rename to block-tlb/src/ProtoListNext.kt index 883fb6ac..3e6d1d19 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoListNext.kt +++ b/block-tlb/src/ProtoListNext.kt @@ -8,7 +8,7 @@ import org.ton.tlb.storeTlb @SerialName("proto_list_next") @Serializable -data class ProtoListNext( +public data class ProtoListNext( val head: Protocol, val tail: ProtoList ) : ProtoList { @@ -17,7 +17,7 @@ data class ProtoListNext( yieldAll(tail) } - companion object : TlbConstructorProvider by ProtoListNextTlbConstructor + public companion object : TlbConstructorProvider by ProtoListNextTlbConstructor } private object ProtoListNextTlbConstructor : org.ton.tlb.TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoListNil.kt b/block-tlb/src/ProtoListNil.kt similarity index 85% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoListNil.kt rename to block-tlb/src/ProtoListNil.kt index 7ff64b21..8afa2e88 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ProtoListNil.kt +++ b/block-tlb/src/ProtoListNil.kt @@ -8,7 +8,7 @@ import org.ton.tlb.providers.TlbConstructorProvider @SerialName("proto_list_nil") @Serializable -object ProtoListNil : ProtoList, TlbConstructorProvider by ProtoListNilTlbConstructor { +public object ProtoListNil : ProtoList, TlbConstructorProvider by ProtoListNilTlbConstructor { override fun iterator(): Iterator = iterator {} } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Protocol.kt b/block-tlb/src/Protocol.kt similarity index 67% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Protocol.kt rename to block-tlb/src/Protocol.kt index dc680540..2a5ba05a 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Protocol.kt +++ b/block-tlb/src/Protocol.kt @@ -3,8 +3,8 @@ package org.ton.block import org.ton.tlb.TlbCombinator import org.ton.tlb.providers.TlbCombinatorProvider -sealed interface Protocol { - companion object : TlbCombinatorProvider by ProtocolTlbCombinator +public sealed interface Protocol { + public companion object : TlbCombinatorProvider by ProtocolTlbCombinator } private object ProtocolTlbCombinator : TlbCombinator( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardAccount.kt b/block-tlb/src/ShardAccount.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardAccount.kt rename to block-tlb/src/ShardAccount.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardAccounts.kt b/block-tlb/src/ShardAccounts.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardAccounts.kt rename to block-tlb/src/ShardAccounts.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardDescr.kt b/block-tlb/src/ShardDescr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardDescr.kt rename to block-tlb/src/ShardDescr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardFeeCreated.kt b/block-tlb/src/ShardFeeCreated.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardFeeCreated.kt rename to block-tlb/src/ShardFeeCreated.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardHashes.kt b/block-tlb/src/ShardHashes.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardHashes.kt rename to block-tlb/src/ShardHashes.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardIdent.kt b/block-tlb/src/ShardIdent.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardIdent.kt rename to block-tlb/src/ShardIdent.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardState.kt b/block-tlb/src/ShardState.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardState.kt rename to block-tlb/src/ShardState.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardStateUnsplit.kt b/block-tlb/src/ShardStateUnsplit.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ShardStateUnsplit.kt rename to block-tlb/src/ShardStateUnsplit.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SigPubKey.kt b/block-tlb/src/SigPubKey.kt similarity index 88% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SigPubKey.kt rename to block-tlb/src/SigPubKey.kt index f56b40ff..c4e1ac6c 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SigPubKey.kt +++ b/block-tlb/src/SigPubKey.kt @@ -11,14 +11,14 @@ import org.ton.tlb.providers.TlbConstructorProvider @Serializable @SerialName("ed25519_pubkey") -data class SigPubKey( +public data class SigPubKey( val pubkey: BitString ) { init { require(pubkey.size == 256) { "required: pubkey.size == 256, actual: ${pubkey.size}" } } - companion object : TlbConstructorProvider by SigPubKeyTlbConstructor + public companion object : TlbConstructorProvider by SigPubKeyTlbConstructor } private object SigPubKeyTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SignedCertificate.kt b/block-tlb/src/SignedCertificate.kt similarity index 89% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SignedCertificate.kt rename to block-tlb/src/SignedCertificate.kt index a26188a4..58b887cb 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SignedCertificate.kt +++ b/block-tlb/src/SignedCertificate.kt @@ -12,11 +12,11 @@ import org.ton.tlb.storeTlb @Serializable @SerialName("signed_certificate") -data class SignedCertificate( +public data class SignedCertificate( val certificate: Certificate, val certificate_signature: CryptoSignature ) { - companion object : TlbConstructorProvider by SignedCertificatedTlbConstructor + public companion object : TlbConstructorProvider by SignedCertificatedTlbConstructor } private object SignedCertificatedTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SimpleLib.kt b/block-tlb/src/SimpleLib.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SimpleLib.kt rename to block-tlb/src/SimpleLib.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmartContractInfo.kt b/block-tlb/src/SmartContractInfo.kt similarity index 93% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmartContractInfo.kt rename to block-tlb/src/SmartContractInfo.kt index 8d371749..62a19c1b 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmartContractInfo.kt +++ b/block-tlb/src/SmartContractInfo.kt @@ -6,7 +6,7 @@ import org.ton.bitstring.BitString @Serializable @SerialName("smc_info") -data class SmartContractInfo( +public data class SmartContractInfo( val actions: Int, val msgs_sent: Int, val unixtime: Long, diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmcCapList.kt b/block-tlb/src/SmcCapList.kt similarity index 66% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmcCapList.kt rename to block-tlb/src/SmcCapList.kt index 95cf2f17..79a638ed 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmcCapList.kt +++ b/block-tlb/src/SmcCapList.kt @@ -8,18 +8,18 @@ import org.ton.tlb.* import org.ton.tlb.providers.TlbCombinatorProvider import kotlin.jvm.JvmStatic -inline fun SmcCapList(capabilities: Iterable) = SmcCapList.of(capabilities) -inline fun SmcCapList(vararg capabilities: SmcCapability) = SmcCapList.of(capabilities.toList()) +public inline fun SmcCapList(capabilities: Iterable): SmcCapList = SmcCapList.of(capabilities) +public inline fun SmcCapList(vararg capabilities: SmcCapability): SmcCapList = SmcCapList.of(capabilities.toList()) -inline fun Iterable.toSmcCapList() = SmcCapList.of(this) -inline fun Array.toSmcCapList() = SmcCapList.of(*this) +public inline fun Iterable.toSmcCapList(): SmcCapList = SmcCapList.of(this) +public inline fun Array.toSmcCapList(): SmcCapList = SmcCapList.of(*this) -sealed interface SmcCapList : Iterable { - object Nil : SmcCapList { +public sealed interface SmcCapList : Iterable { + public object Nil : SmcCapList { override fun iterator(): Iterator = iterator {} } - data class Next( + public data class Next( val head: SmcCapability, val tail: SmcCapList ) : SmcCapList { @@ -29,15 +29,15 @@ sealed interface SmcCapList : Iterable { } } - companion object : TlbCombinatorProvider by SmcCapListTlbCombinator { + public companion object : TlbCombinatorProvider by SmcCapListTlbCombinator { @JvmStatic - fun of(capability: Iterable): SmcCapList = + public fun of(capability: Iterable): SmcCapList = capability.reversed().fold(Nil as SmcCapList) { acc, cap -> Next(cap, acc) } @JvmStatic - fun of(vararg capability: SmcCapability) = of(capability.asIterable()) + public fun of(vararg capability: SmcCapability): SmcCapList = of(capability.asIterable()) } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmcCapability.kt b/block-tlb/src/SmcCapability.kt similarity index 72% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmcCapability.kt rename to block-tlb/src/SmcCapability.kt index 7ff4143e..bca9e0d6 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SmcCapability.kt +++ b/block-tlb/src/SmcCapability.kt @@ -6,17 +6,17 @@ import org.ton.tlb.* import org.ton.tlb.providers.TlbCombinatorProvider import org.ton.tlb.providers.TlbConstructorProvider -sealed interface SmcCapability { - object MethodSeqno : SmcCapability, TlbConstructorProvider by methodSeqno - object MethodPubKey : SmcCapability, TlbConstructorProvider by methodPubKey - object IsWallet : SmcCapability, TlbConstructorProvider by isWallet - data class Name( +public sealed interface SmcCapability { + public object MethodSeqno : SmcCapability, TlbConstructorProvider by methodSeqno + public object MethodPubKey : SmcCapability, TlbConstructorProvider by methodPubKey + public object IsWallet : SmcCapability, TlbConstructorProvider by isWallet + public data class Name( val name: Text ) : SmcCapability { - companion object : TlbConstructorProvider by capName + public companion object : TlbConstructorProvider by capName } - companion object : TlbCombinatorProvider by SmcCapabilityTlbCombinator + public companion object : TlbCombinatorProvider by SmcCapabilityTlbCombinator } private val methodSeqno = ObjectTlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SplitMergeInfo.kt b/block-tlb/src/SplitMergeInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SplitMergeInfo.kt rename to block-tlb/src/SplitMergeInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SplitState.kt b/block-tlb/src/SplitState.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/SplitState.kt rename to block-tlb/src/SplitState.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StateInit.kt b/block-tlb/src/StateInit.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StateInit.kt rename to block-tlb/src/StateInit.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StorageInfo.kt b/block-tlb/src/StorageInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StorageInfo.kt rename to block-tlb/src/StorageInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StorageUsed.kt b/block-tlb/src/StorageUsed.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StorageUsed.kt rename to block-tlb/src/StorageUsed.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StorageUsedShort.kt b/block-tlb/src/StorageUsedShort.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/StorageUsedShort.kt rename to block-tlb/src/StorageUsedShort.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Text.kt b/block-tlb/src/Text.kt similarity index 89% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Text.kt rename to block-tlb/src/Text.kt index f8165481..6c5192d2 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Text.kt +++ b/block-tlb/src/Text.kt @@ -9,11 +9,11 @@ import org.ton.tlb.providers.TlbConstructorProvider import org.ton.tlb.storeTlb @Serializable -data class Text( +public data class Text( val chunks: UByte, val rest: TextChunks ) { - companion object : TlbConstructorProvider by TextTlbConstructor + public companion object : TlbConstructorProvider by TextTlbConstructor } private object TextTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunk.kt b/block-tlb/src/TextChunk.kt similarity index 79% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunk.kt rename to block-tlb/src/TextChunk.kt index a568fb99..85295b18 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunk.kt +++ b/block-tlb/src/TextChunk.kt @@ -7,13 +7,13 @@ import org.ton.tlb.TlbConstructor import org.ton.tlb.loadTlb import org.ton.tlb.storeTlb -class TextChunk( - val len: UByte, - val data: BitString, - val next: TextChunkRef +public class TextChunk( + public val len: UByte, + public val data: BitString, + public val next: TextChunkRef ) : TextChunks { - companion object { - fun tlbConstructor(n: Int): TlbConstructor = TextChunkTlbConstructor(n) + public companion object { + public fun tlbConstructor(n: Int): TlbConstructor = TextChunkTlbConstructor(n) } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunkEmpty.kt b/block-tlb/src/TextChunkEmpty.kt similarity index 80% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunkEmpty.kt rename to block-tlb/src/TextChunkEmpty.kt index 121935f3..13d13ff5 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunkEmpty.kt +++ b/block-tlb/src/TextChunkEmpty.kt @@ -5,7 +5,7 @@ import org.ton.cell.CellSlice import org.ton.tlb.TlbConstructor import org.ton.tlb.providers.TlbConstructorProvider -object TextChunkEmpty : TextChunks, TlbConstructorProvider by TextChunkEmptyTlbConstructor +public object TextChunkEmpty : TextChunks, TlbConstructorProvider by TextChunkEmptyTlbConstructor private object TextChunkEmptyTlbConstructor : TlbConstructor( schema = "chunk_empty\$_ = TextChunks 0;" diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunkRef.kt b/block-tlb/src/TextChunkRef.kt similarity index 56% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunkRef.kt rename to block-tlb/src/TextChunkRef.kt index e952d62c..c3fbe4d8 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunkRef.kt +++ b/block-tlb/src/TextChunkRef.kt @@ -2,9 +2,9 @@ package org.ton.block import org.ton.tlb.TlbCombinator -sealed interface TextChunkRef { - companion object { - fun tlbCombinator(n: Int): TlbCombinator = if (n == 0) { +public sealed interface TextChunkRef { + public companion object { + public fun tlbCombinator(n: Int): TlbCombinator = if (n == 0) { ChunkRefEmpty.tlbConstructor() } else { ChunkRef.tlbConstructor(n) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunks.kt b/block-tlb/src/TextChunks.kt similarity index 55% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunks.kt rename to block-tlb/src/TextChunks.kt index 21436f64..fd049081 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TextChunks.kt +++ b/block-tlb/src/TextChunks.kt @@ -2,9 +2,9 @@ package org.ton.block import org.ton.tlb.TlbCodec -sealed interface TextChunks { - companion object { - fun tlbCodec(n: Int): TlbCodec = if (n == 0) { +public sealed interface TextChunks { + public companion object { + public fun tlbCodec(n: Int): TlbCodec = if (n == 0) { TextChunkEmpty } else { TextChunk.tlbConstructor(n) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TickTock.kt b/block-tlb/src/TickTock.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TickTock.kt rename to block-tlb/src/TickTock.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrActionPhase.kt b/block-tlb/src/TrActionPhase.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrActionPhase.kt rename to block-tlb/src/TrActionPhase.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrBouncePhase.kt b/block-tlb/src/TrBouncePhase.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrBouncePhase.kt rename to block-tlb/src/TrBouncePhase.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrComputePhase.kt b/block-tlb/src/TrComputePhase.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrComputePhase.kt rename to block-tlb/src/TrComputePhase.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrCreditPhase.kt b/block-tlb/src/TrCreditPhase.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrCreditPhase.kt rename to block-tlb/src/TrCreditPhase.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseBounceNegFunds.kt b/block-tlb/src/TrPhaseBounceNegFunds.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseBounceNegFunds.kt rename to block-tlb/src/TrPhaseBounceNegFunds.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseBounceNoFunds.kt b/block-tlb/src/TrPhaseBounceNoFunds.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseBounceNoFunds.kt rename to block-tlb/src/TrPhaseBounceNoFunds.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseBounceOk.kt b/block-tlb/src/TrPhaseBounceOk.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseBounceOk.kt rename to block-tlb/src/TrPhaseBounceOk.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseComputeSkipped.kt b/block-tlb/src/TrPhaseComputeSkipped.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseComputeSkipped.kt rename to block-tlb/src/TrPhaseComputeSkipped.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseComputeVm.kt b/block-tlb/src/TrPhaseComputeVm.kt similarity index 99% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseComputeVm.kt rename to block-tlb/src/TrPhaseComputeVm.kt index 4163cc1a..0567827b 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrPhaseComputeVm.kt +++ b/block-tlb/src/TrPhaseComputeVm.kt @@ -40,7 +40,7 @@ public object TrPhaseComputeVmTlbConstructor : TlbConstructor( override fun storeTlb( cellBuilder: CellBuilder, value: TrPhaseComputeVm - ) = cellBuilder { + ): Unit = cellBuilder { storeBit(value.success) storeBit(value.msgStateUsed) storeBit(value.accountActivated) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrStoragePhase.kt b/block-tlb/src/TrStoragePhase.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TrStoragePhase.kt rename to block-tlb/src/TrStoragePhase.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransMergeInstall.kt b/block-tlb/src/TransMergeInstall.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransMergeInstall.kt rename to block-tlb/src/TransMergeInstall.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransMergePrepare.kt b/block-tlb/src/TransMergePrepare.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransMergePrepare.kt rename to block-tlb/src/TransMergePrepare.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransOrd.kt b/block-tlb/src/TransOrd.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransOrd.kt rename to block-tlb/src/TransOrd.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransSplitInstall.kt b/block-tlb/src/TransSplitInstall.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransSplitInstall.kt rename to block-tlb/src/TransSplitInstall.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransSplitPrepare.kt b/block-tlb/src/TransSplitPrepare.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransSplitPrepare.kt rename to block-tlb/src/TransSplitPrepare.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransStorage.kt b/block-tlb/src/TransStorage.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransStorage.kt rename to block-tlb/src/TransStorage.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransTickTock.kt b/block-tlb/src/TransTickTock.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransTickTock.kt rename to block-tlb/src/TransTickTock.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Transaction.kt b/block-tlb/src/Transaction.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/Transaction.kt rename to block-tlb/src/Transaction.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransactionDescr.kt b/block-tlb/src/TransactionDescr.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/TransactionDescr.kt rename to block-tlb/src/TransactionDescr.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValidatorBaseInfo.kt b/block-tlb/src/ValidatorBaseInfo.kt similarity index 85% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValidatorBaseInfo.kt rename to block-tlb/src/ValidatorBaseInfo.kt index 67a09bb7..be475d6d 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValidatorBaseInfo.kt +++ b/block-tlb/src/ValidatorBaseInfo.kt @@ -5,7 +5,7 @@ import kotlinx.serialization.Serializable @Serializable @SerialName("validator_base_info") -data class ValidatorBaseInfo( +public data class ValidatorBaseInfo( val validator_list_hash_short: Long, val catchain_seqno: Long ) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValidatorInfo.kt b/block-tlb/src/ValidatorInfo.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValidatorInfo.kt rename to block-tlb/src/ValidatorInfo.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValueFlow.kt b/block-tlb/src/ValueFlow.kt similarity index 100% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/ValueFlow.kt rename to block-tlb/src/ValueFlow.kt diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarInteger.kt b/block-tlb/src/VarInteger.kt similarity index 59% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarInteger.kt rename to block-tlb/src/VarInteger.kt index 0092d567..8d337772 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarInteger.kt +++ b/block-tlb/src/VarInteger.kt @@ -14,26 +14,44 @@ import kotlin.jvm.JvmStatic @SerialName("var_int") @Serializable -data class VarInteger( +public data class VarInteger( val len: Int, @Serializable(BigIntSerializer::class) val value: BigInt ) : Number() { - constructor(int: Int) : this(int.toBigInt()) - constructor(long: Long) : this(long.toBigInt()) - constructor(value: BigInt) : this(value.bitLength, value) + @Deprecated("Use explicit constructor instead. In feature TLB classes will be auto-generated by TLB parser") + public constructor(int: Int) : this(int.toBigInt()) + @Deprecated("Use explicit constructor instead. In feature TLB classes will be auto-generated by TLB parser") + public constructor(long: Long) : this(long.toBigInt()) + + @Deprecated("Use explicit constructor instead. In feature TLB classes will be auto-generated by TLB parser") + public constructor(value: BigInt) : this(value.bitLength, value) + + @Deprecated("Use value.toByte() instead") override fun toByte(): Byte = value.toByte() + + @Deprecated("Use value.toChar() instead") override fun toChar(): Char = value.toChar() + + @Deprecated("Use value.toDouble() instead") override fun toDouble(): Double = throw UnsupportedOperationException() + + @Deprecated("Use value.toFloat() instead") override fun toFloat(): Float = throw UnsupportedOperationException() + + @Deprecated("Use value.toInt() instead") override fun toInt(): Int = value.toInt() + + @Deprecated("Use value.toLong() instead") override fun toLong(): Long = value.toLong() + + @Deprecated("Use value.toShort() instead") override fun toShort(): Short = value.toShort() - companion object { + public companion object { @JvmStatic - fun tlbCodec(n: Int): TlbConstructor = VarIntegerTlbConstructor(n) + public fun tlbCodec(n: Int): TlbConstructor = VarIntegerTlbConstructor(n) } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarUInteger.kt b/block-tlb/src/VarUInteger.kt similarity index 61% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarUInteger.kt rename to block-tlb/src/VarUInteger.kt index 86a17f20..6e19eb18 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VarUInteger.kt +++ b/block-tlb/src/VarUInteger.kt @@ -23,22 +23,41 @@ public data class VarUInteger( @get:JvmName("value") val value: BigInt ) : TlbObject { - constructor(int: Int) : this(int.toBigInt()) - constructor(long: Long) : this(long.toBigInt()) - constructor(value: BigInt) : this( + @Deprecated("Use explicit constructor instead. In feature TLB classes will be auto-generated by TLB parser") + public constructor(int: Int) : this(int.toBigInt()) + + @Deprecated("Use explicit constructor instead. In feature TLB classes will be auto-generated by TLB parser") + public constructor(long: Long) : this(long.toBigInt()) + + @Deprecated("Use explicit constructor instead. In feature TLB classes will be auto-generated by TLB parser") + public constructor(value: BigInt) : this( len = value.bitLength / Byte.SIZE_BITS + if (value.bitLength % Byte.SIZE_BITS == 0) 0 else 1, value = value ) - fun toByte(): Byte = value.toByte() - fun toChar(): Char = value.toChar() - fun toDouble(): Double = throw UnsupportedOperationException() - fun toFloat(): Float = throw UnsupportedOperationException() - fun toInt(): Int = value.toInt() - fun toLong(): Long = value.toLong() - fun toShort(): Short = value.toShort() + @Deprecated("Use VarUInteger.value instead") + public fun toByte(): Byte = value.toByte() + + @Deprecated("Use VarUInteger.value instead") + public fun toChar(): Char = value.toChar() + + @Deprecated("Use VarUInteger.value instead") + public fun toDouble(): Double = throw UnsupportedOperationException() + + @Deprecated("Use VarUInteger.value instead") + public fun toFloat(): Float = throw UnsupportedOperationException() + + @Deprecated("Use VarUInteger.value instead") + public fun toInt(): Int = value.toInt() + + @Deprecated("Use VarUInteger.value instead") + public fun toLong(): Long = value.toLong() + + @Deprecated("Use VarUInteger.value instead") + public fun toShort(): Short = value.toShort() - operator fun plus(other: VarUInteger): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun plus(other: VarUInteger): VarUInteger { val result = value + other.value val maxLen = maxOf(len, other.len) val actualLen = result.bitLength @@ -46,14 +65,16 @@ public data class VarUInteger( return VarUInteger(length, result) } - operator fun minus(other: VarUInteger): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun minus(other: VarUInteger): VarUInteger { val result = value - other.value if (result < 0L) throw NumberFormatException("Integer underflow") val len = maxOf(len, other.len) return VarUInteger(len, result) } - operator fun times(other: VarUInteger): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun times(other: VarUInteger): VarUInteger { val result = value * other.value val maxLen = maxOf(len, other.len) val actualLen = result.bitLength @@ -61,7 +82,8 @@ public data class VarUInteger( return VarUInteger(len, result) } - operator fun div(other: VarUInteger): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun div(other: VarUInteger): VarUInteger { val result = value / other.value val maxLen = maxOf(len, other.len) val actualLen = result.bitLength @@ -69,7 +91,8 @@ public data class VarUInteger( return VarUInteger(len, result) } - operator fun rem(other: VarUInteger): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun rem(other: VarUInteger): VarUInteger { val result = value % other.value val maxLen = maxOf(len, other.len) val actualLen = result.bitLength @@ -77,14 +100,16 @@ public data class VarUInteger( return VarUInteger(len, result) } - operator fun inc(): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun inc(): VarUInteger { val result = value + 1.toBigInt() val actualLen = result.bitLength val length = if (actualLen < len) len else throw NumberFormatException("Integer overflow") return VarUInteger(length, result) } - operator fun dec(): VarUInteger { + @Deprecated("Use VarUInteger.value instead") + public operator fun dec(): VarUInteger { val result = value - 1.toBigInt() if (result < 0.toBigInt()) throw NumberFormatException("Integer overflow") return VarUInteger(len, result) @@ -99,9 +124,9 @@ public data class VarUInteger( override fun toString(): String = value.toString() - companion object { + public companion object { @JvmStatic - fun tlbCodec(n: Int): TlbCodec = VarUIntegerTlbConstructor(n) + public fun tlbCodec(n: Int): TlbCodec = VarUIntegerTlbConstructor(n) } private class VarUIntegerTlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmCellSlice.kt b/block-tlb/src/VmCellSlice.kt similarity index 95% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmCellSlice.kt rename to block-tlb/src/VmCellSlice.kt index 38cac993..17ff8a87 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmCellSlice.kt +++ b/block-tlb/src/VmCellSlice.kt @@ -29,7 +29,7 @@ public data class VmCellSlice( override fun toString(): String = "(vm_stk_slice cell:${if (stRef == 0 && endRef == 0) cell.bits.toString() else cell.toString()} st_bits:$stBits end_bits:$endBits st_ref:$stRef end_ref:$endRef)" - companion object : TlbConstructorProvider by VmCellSliceTlbConstructor + public companion object : TlbConstructorProvider by VmCellSliceTlbConstructor } private object VmCellSliceTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmCont.kt b/block-tlb/src/VmCont.kt similarity index 94% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmCont.kt rename to block-tlb/src/VmCont.kt index ffe418d9..62d434e8 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmCont.kt +++ b/block-tlb/src/VmCont.kt @@ -13,24 +13,24 @@ import org.ton.tlb.providers.TlbCombinatorProvider @JsonClassDiscriminator("@type") @Serializable -sealed interface VmCont { +public sealed interface VmCont { @SerialName("vmc_until") @Serializable - data class Until( + public data class Until( val body: CellRef, val after: CellRef ) : VmCont @SerialName("vmc_again") @Serializable - data class Again( + public data class Again( val body: CellRef ) : VmCont @SerialName("vmc_while_cond") @Serializable - data class WhileCond( + public data class WhileCond( val cond: CellRef, val body: CellRef, val after: CellRef @@ -38,7 +38,7 @@ sealed interface VmCont { @SerialName("vmc_while_body") @Serializable - data class WhileBody( + public data class WhileBody( val cond: CellRef, val body: CellRef, val after: CellRef @@ -46,12 +46,12 @@ sealed interface VmCont { @SerialName("vmc_pushint") @Serializable - data class PushInt( + public data class PushInt( val value: Int, val next: CellRef ) : VmCont - companion object : TlbCombinatorProvider by VmContTlbCombinator + public companion object : TlbCombinatorProvider by VmContTlbCombinator } private object VmContTlbCombinator : TlbCombinator( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContEnvelope.kt b/block-tlb/src/VmContEnvelope.kt similarity index 87% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContEnvelope.kt rename to block-tlb/src/VmContEnvelope.kt index cf875d10..834f8650 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContEnvelope.kt +++ b/block-tlb/src/VmContEnvelope.kt @@ -13,13 +13,13 @@ import kotlin.jvm.JvmStatic @SerialName("vmc_envelope") @Serializable -data class VmContEnvelope( +public data class VmContEnvelope( val cdata: VmControlData, val next: CellRef ) : VmCont { - companion object { + public companion object { @JvmStatic - fun tlbCodec(): TlbConstructor = VmContEnvelopeTlbConstructor() + public fun tlbCodec(): TlbConstructor = VmContEnvelopeTlbConstructor() } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContQuit.kt b/block-tlb/src/VmContQuit.kt similarity index 83% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContQuit.kt rename to block-tlb/src/VmContQuit.kt index b41e9ece..e55c22e0 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContQuit.kt +++ b/block-tlb/src/VmContQuit.kt @@ -9,11 +9,11 @@ import org.ton.tlb.TlbConstructor @SerialName("vmc_quit") @Serializable -data class VmContQuit( +public data class VmContQuit( val exit_code: Int ) : VmCont { - companion object { - fun tlbConstructor(): TlbConstructor = VmContQuitTlbConstructor + public companion object { + public fun tlbConstructor(): TlbConstructor = VmContQuitTlbConstructor } } @@ -32,4 +32,4 @@ private object VmContQuitTlbConstructor : TlbConstructor( val exitCode = loadInt(32).toInt() VmContQuit(exitCode) } -} \ No newline at end of file +} diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContQuitExc.kt b/block-tlb/src/VmContQuitExc.kt similarity index 80% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContQuitExc.kt rename to block-tlb/src/VmContQuitExc.kt index 45f71500..c590a864 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContQuitExc.kt +++ b/block-tlb/src/VmContQuitExc.kt @@ -8,8 +8,8 @@ import org.ton.tlb.TlbConstructor @SerialName("vmc_quit_exc") @Serializable -object VmContQuitExc : VmCont { - fun tlbConstructor(): TlbConstructor = VmContQuitExcTlbConstructor +public object VmContQuitExc : VmCont { + public fun tlbConstructor(): TlbConstructor = VmContQuitExcTlbConstructor } private object VmContQuitExcTlbConstructor : TlbConstructor( @@ -22,4 +22,4 @@ private object VmContQuitExcTlbConstructor : TlbConstructor( override fun loadTlb( cellSlice: CellSlice ): VmContQuitExc = VmContQuitExc -} \ No newline at end of file +} diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContRepeat.kt b/block-tlb/src/VmContRepeat.kt similarity index 87% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContRepeat.kt rename to block-tlb/src/VmContRepeat.kt index 551677e7..a881f005 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContRepeat.kt +++ b/block-tlb/src/VmContRepeat.kt @@ -12,13 +12,13 @@ import org.ton.tlb.storeTlb @SerialName("vmc_repeat") @Serializable -data class VmContRepeat( +public data class VmContRepeat( val count: Long, val body: CellRef, val after: CellRef ) : VmCont { - companion object { - fun tlbConstructor(): TlbConstructor = VmContRepeatTlbConstructor + public companion object { + public fun tlbConstructor(): TlbConstructor = VmContRepeatTlbConstructor } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContStd.kt b/block-tlb/src/VmContStd.kt similarity index 84% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContStd.kt rename to block-tlb/src/VmContStd.kt index 4b5c19e1..bf3125a8 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmContStd.kt +++ b/block-tlb/src/VmContStd.kt @@ -13,13 +13,13 @@ import kotlin.jvm.JvmStatic @SerialName("vmc_std") @Serializable -data class VmContStd( +public data class VmContStd( val cdata: VmControlData, val code: VmCellSlice ) : VmCont { - companion object : TlbCodec by VmContStdTlbConstructor { + public companion object : TlbCodec by VmContStdTlbConstructor { @JvmStatic - fun tlbCodec(): TlbConstructor = VmContStdTlbConstructor + public fun tlbCodec(): TlbConstructor = VmContStdTlbConstructor } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmControlData.kt b/block-tlb/src/VmControlData.kt similarity index 80% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmControlData.kt rename to block-tlb/src/VmControlData.kt index d6370425..6793371f 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmControlData.kt +++ b/block-tlb/src/VmControlData.kt @@ -15,22 +15,22 @@ import kotlin.jvm.JvmStatic @SerialName("vm_ctl_data") @Serializable -class VmControlData( - val nargs: Maybe, - val stack: Maybe, - val save: VmSaveList, - val cp: Maybe +public class VmControlData( + public val nargs: Maybe, + public val stack: Maybe, + public val save: VmSaveList, + public val cp: Maybe ) { - constructor(nargs: UInt?, stack: VmStack?, save: VmSaveList, cp: Int?) : this( + public constructor(nargs: UInt?, stack: VmStack?, save: VmSaveList, cp: Int?) : this( nargs.toMaybe(), stack.toMaybe(), save, cp.toMaybe() ) - companion object : TlbCodec by VmControlDataTlbConstructor { + public companion object : TlbCodec by VmControlDataTlbConstructor { @JvmStatic - fun tlbCodec(): TlbConstructor = VmControlDataTlbConstructor + public fun tlbCodec(): TlbConstructor = VmControlDataTlbConstructor } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmGasLimits.kt b/block-tlb/src/VmGasLimits.kt similarity index 90% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmGasLimits.kt rename to block-tlb/src/VmGasLimits.kt index 31a54d96..a2791581 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmGasLimits.kt +++ b/block-tlb/src/VmGasLimits.kt @@ -7,7 +7,7 @@ import kotlinx.serialization.Serializable @SerialName("gas_limits") @Serializable -data class VmGasLimits( +public data class VmGasLimits( val remaining: Long, val max_limit: Long, val cur_limit: Long, diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmLibraries.kt b/block-tlb/src/VmLibraries.kt similarity index 84% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmLibraries.kt rename to block-tlb/src/VmLibraries.kt index f90a13a8..6ac1f3ec 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmLibraries.kt +++ b/block-tlb/src/VmLibraries.kt @@ -5,6 +5,6 @@ import org.ton.cell.Cell import org.ton.hashmap.HashMapE @Serializable -data class VmLibraries( +public data class VmLibraries( val libraries: HashMapE ) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmSaveList.kt b/block-tlb/src/VmSaveList.kt similarity index 82% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmSaveList.kt rename to block-tlb/src/VmSaveList.kt index 289eacce..9883ae3e 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmSaveList.kt +++ b/block-tlb/src/VmSaveList.kt @@ -12,12 +12,12 @@ import org.ton.tlb.storeTlb import kotlin.jvm.JvmStatic @Serializable -data class VmSaveList( +public data class VmSaveList( val cregs: HashMapE ) { - companion object : TlbCodec by VmSaveListTlbConstructor { + public companion object : TlbCodec by VmSaveListTlbConstructor { @JvmStatic - fun tlbCodec(): TlbConstructor = VmSaveListTlbConstructor + public fun tlbCodec(): TlbConstructor = VmSaveListTlbConstructor } } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStack.kt b/block-tlb/src/VmStack.kt similarity index 51% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStack.kt rename to block-tlb/src/VmStack.kt index 48f4d12f..41142b57 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStack.kt +++ b/block-tlb/src/VmStack.kt @@ -15,12 +15,12 @@ import org.ton.tlb.loadTlb import org.ton.tlb.storeTlb import kotlin.jvm.JvmStatic -inline fun VmStack(depth: Int, stack: VmStackList): VmStack = VmStackImpl(depth, stack) -inline fun VmStack(stack: VmStackList): VmStack = VmStackImpl(stack) +public inline fun VmStack(depth: Int, stack: VmStackList): VmStack = VmStackImpl(depth, stack) +public inline fun VmStack(stack: VmStackList): VmStack = VmStackImpl(stack) -interface VmStack : Collection { - val depth: Int - val stack: VmStackList +public interface VmStack : Collection { + public val depth: Int + public val stack: VmStackList override fun iterator(): Iterator = stack.iterator() override fun contains(element: VmStackValue): Boolean = stack.contains(element) @@ -31,9 +31,9 @@ interface VmStack : Collection { override val size: Int get() = depth override fun isEmpty(): Boolean = depth <= 0 - fun toMutableVmStack(): MutableVmStack + public fun toMutableVmStack(): MutableVmStack - operator fun get(index: Int): VmStackValue { + public operator fun get(index: Int): VmStackValue { forEachIndexed { currentIndex, vmStackValue -> if (currentIndex == index) { return vmStackValue @@ -42,60 +42,60 @@ interface VmStack : Collection { throw IllegalArgumentException("index: $index") } - companion object : TlbCodec by VmStackTlbConstructor { + public companion object : TlbCodec by VmStackTlbConstructor { @JvmStatic - fun tlbCodec(): TlbConstructor = VmStackTlbConstructor + public fun tlbCodec(): TlbConstructor = VmStackTlbConstructor } } -interface MutableVmStack : VmStack { - fun pop(): VmStackValue - fun popNull() = pop() as VmStackNull - fun popTinyInt() = popNumber().toLong() - fun popBool() = popTinyInt() != 0L - fun popInt() = popNumber().toBigInt() - fun popNumber() = (pop() as VmStackNumber) - fun popCell() = (pop() as VmStackCell).cell - fun popSlice() = (pop() as VmStackSlice).toCellSlice() - fun popBuilder() = (pop() as VmStackBuilder).toCellBuilder() - fun popCont() = (pop() as VmStackCont).cont - fun popTuple() = (pop() as VmStackTuple).data - - fun push(stackValue: VmStackValue) - fun pushNull() = push(VmStackNull) - fun pushTinyInt(tinyInt: Boolean) = push(VmStackValue(tinyInt)) - fun pushTinyInt(tinyInt: Int) = push(VmStackValue(tinyInt)) - fun pushTinyInt(tinyInt: Long) = push(VmStackValue(tinyInt)) - fun pushBool(boolean: Boolean) = push(VmStackValue(boolean)) - fun pushInt(int: BigInt) = push(VmStackValue(int)) - fun pushNan() = push(VmStackNan) - fun pushCell(cell: Cell) = push(VmStackValue(cell)) - fun pushSlice(cellSlice: CellSlice) = push(VmStackValue(cellSlice)) - fun pushBuilder(cellBuilder: CellBuilder) = push(VmStackValue(cellBuilder)) - fun pushCont(vmCont: VmCont) = push(VmStackValue(vmCont)) - fun pushTuple(vmTuple: VmTuple) = push(VmStackValue(vmTuple)) - - fun interchange(i: Int, j: Int) - fun interchange(i: Int) = interchange(0, i) - fun swap() = interchange(0, 1) +public interface MutableVmStack : VmStack { + public fun pop(): VmStackValue + public fun popNull(): VmStackNull = pop() as VmStackNull + public fun popTinyInt(): Long = popNumber().toLong() + public fun popBool(): Boolean = popTinyInt() != 0L + public fun popInt(): BigInt = popNumber().toBigInt() + public fun popNumber(): VmStackNumber = (pop() as VmStackNumber) + public fun popCell(): Cell = (pop() as VmStackCell).cell + public fun popSlice(): CellSlice = (pop() as VmStackSlice).toCellSlice() + public fun popBuilder(): CellBuilder = (pop() as VmStackBuilder).toCellBuilder() + public fun popCont(): VmCont = (pop() as VmStackCont).cont + public fun popTuple(): VmTuple = (pop() as VmStackTuple).data + + public fun push(stackValue: VmStackValue) + public fun pushNull(): Unit = push(VmStackNull) + public fun pushTinyInt(tinyInt: Boolean): Unit = push(VmStackValue(tinyInt)) + public fun pushTinyInt(tinyInt: Int): Unit = push(VmStackValue(tinyInt)) + public fun pushTinyInt(tinyInt: Long): Unit = push(VmStackValue(tinyInt)) + public fun pushBool(boolean: Boolean): Unit = push(VmStackValue(boolean)) + public fun pushInt(int: BigInt): Unit = push(VmStackValue(int)) + public fun pushNan(): Unit = push(VmStackNan) + public fun pushCell(cell: Cell): Unit = push(VmStackValue(cell)) + public fun pushSlice(cellSlice: CellSlice): Unit = push(VmStackValue(cellSlice)) + public fun pushBuilder(cellBuilder: CellBuilder): Unit = push(VmStackValue(cellBuilder)) + public fun pushCont(vmCont: VmCont): Unit = push(VmStackValue(vmCont)) + public fun pushTuple(vmTuple: VmTuple): Unit = push(VmStackValue(vmTuple)) + + public fun interchange(i: Int, j: Int) + public fun interchange(i: Int): Unit = interchange(0, i) + public fun swap(): Unit = interchange(0, 1) } @SerialName("vm_stack") @Serializable -data class VmStackImpl( +public data class VmStackImpl( override val depth: Int, override val stack: VmStackList ) : VmStack { - constructor(stack: VmStackList) : this(stack.count(), stack) + public constructor(stack: VmStackList) : this(stack.count(), stack) override fun toMutableVmStack(): MutableVmStack = MutableVmStackImpl(stack) override fun toString(): String = "(vm_stack depth:$depth stack:$stack)" } -inline fun MutableVmStack(): MutableVmStack = MutableVmStackImpl() +public inline fun MutableVmStack(): MutableVmStack = MutableVmStackImpl() -class MutableVmStackImpl( +public class MutableVmStackImpl( iterable: Iterable = emptyList() ) : MutableVmStack { private val _stack = ArrayDeque().also { it.addAll(iterable) } diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackBuilder.kt b/block-tlb/src/VmStackBuilder.kt similarity index 74% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackBuilder.kt rename to block-tlb/src/VmStackBuilder.kt index b24d59d9..768ddd83 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackBuilder.kt +++ b/block-tlb/src/VmStackBuilder.kt @@ -11,16 +11,16 @@ import org.ton.tlb.providers.TlbConstructorProvider @Serializable @SerialName("vm_stk_builder") -class VmStackBuilder( - val cell: Cell +public class VmStackBuilder( + public val cell: Cell ) : VmStackValue { - constructor(cellBuilder: CellBuilder) : this(cellBuilder.endCell()) + public constructor(cellBuilder: CellBuilder) : this(cellBuilder.endCell()) - fun toCellBuilder(): CellBuilder = CellBuilder(cell) + public fun toCellBuilder(): CellBuilder = CellBuilder(cell) override fun toString(): String = "(vm_stk_builder cell:$cell)" - companion object : TlbConstructorProvider by VmStackValueBuilderTlbConstructor + public companion object : TlbConstructorProvider by VmStackValueBuilderTlbConstructor } private object VmStackValueBuilderTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackCell.kt b/block-tlb/src/VmStackCell.kt similarity index 87% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackCell.kt rename to block-tlb/src/VmStackCell.kt index 310449ab..1c26d34b 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackCell.kt +++ b/block-tlb/src/VmStackCell.kt @@ -11,12 +11,12 @@ import org.ton.tlb.providers.TlbConstructorProvider @Serializable @SerialName("vm_stk_cell") -data class VmStackCell( +public data class VmStackCell( val cell: Cell ) : VmStackValue { override fun toString(): String = "(vm_stk_cell cont:$cell)" - companion object : TlbConstructorProvider by VmStackValueCellConstructor + public companion object : TlbConstructorProvider by VmStackValueCellConstructor } private object VmStackValueCellConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackCont.kt b/block-tlb/src/VmStackCont.kt similarity index 87% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackCont.kt rename to block-tlb/src/VmStackCont.kt index 082821b8..afdacdb8 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackCont.kt +++ b/block-tlb/src/VmStackCont.kt @@ -12,12 +12,12 @@ import org.ton.tlb.storeTlb @Serializable @SerialName("vm_stk_cont") -data class VmStackCont( +public data class VmStackCont( val cont: VmCont ) : VmStackValue { override fun toString(): String = "(vm_stk_cont cont:$cont)" - companion object : TlbConstructorProvider by VmStackValueContTlbConstructor + public companion object : TlbConstructorProvider by VmStackValueContTlbConstructor } private object VmStackValueContTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackInt.kt b/block-tlb/src/VmStackInt.kt similarity index 90% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackInt.kt rename to block-tlb/src/VmStackInt.kt index 3b5ed7f0..2a7e704d 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackInt.kt +++ b/block-tlb/src/VmStackInt.kt @@ -12,12 +12,12 @@ import org.ton.tlb.providers.TlbConstructorProvider @SerialName("vm_stk_int") @Serializable -data class VmStackInt( +public data class VmStackInt( @Serializable(BigIntSerializer::class) val value: BigInt ) : VmStackValue, VmStackNumber { - constructor(int: Int) : this(int.toBigInt()) - constructor(long: Long) : this(long.toBigInt()) + public constructor(int: Int) : this(int.toBigInt()) + public constructor(long: Long) : this(long.toBigInt()) override fun toInt(): Int = value.toInt() override fun toLong(): Long = value.toLong() @@ -50,7 +50,7 @@ data class VmStackInt( override fun toString(): String = "(vm_stk_int value:$value)" - companion object : TlbConstructorProvider by VmStackIntTlbConstructor + public companion object : TlbConstructorProvider by VmStackIntTlbConstructor } private object VmStackIntTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackList.kt b/block-tlb/src/VmStackList.kt similarity index 82% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackList.kt rename to block-tlb/src/VmStackList.kt index 042b851f..a75e4c70 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackList.kt +++ b/block-tlb/src/VmStackList.kt @@ -12,15 +12,15 @@ import org.ton.tlb.loadTlb import org.ton.tlb.storeTlb import kotlin.jvm.JvmStatic -inline fun VmStackList(vararg stackValues: VmStackValue): VmStackList = VmStackList.of(*stackValues) -inline fun VmStackList(stackValues: Iterable): VmStackList = VmStackList.of(stackValues) +public inline fun VmStackList(vararg stackValues: VmStackValue): VmStackList = VmStackList.of(*stackValues) +public inline fun VmStackList(stackValues: Iterable): VmStackList = VmStackList.of(stackValues) @JsonClassDiscriminator("@type") @Serializable -sealed interface VmStackList : Iterable { +public sealed interface VmStackList : Iterable { @SerialName("vm_stk_cons") @Serializable - data class Cons( + public data class Cons( val rest: VmStackList, val tos: VmStackValue ) : VmStackList { @@ -30,7 +30,7 @@ sealed interface VmStackList : Iterable { @SerialName("vm_stk_nil") @Serializable - object Nil : VmStackList { + public object Nil : VmStackList { private val iterator = ListIterator(this) override fun iterator(): Iterator = iterator override fun toString(): String = "vm_stk_nil" @@ -49,12 +49,12 @@ sealed interface VmStackList : Iterable { } } - companion object { + public companion object { @JvmStatic - fun of(vararg stackValues: VmStackValue) = of(stackValues.toList()) + public fun of(vararg stackValues: VmStackValue): VmStackList = of(stackValues.toList()) @JvmStatic - fun of(stackValues: Iterable): VmStackList { + public fun of(stackValues: Iterable): VmStackList { var stackList: VmStackList = Nil stackValues.forEach { value -> stackList = Cons(stackList, value) @@ -64,7 +64,7 @@ sealed interface VmStackList : Iterable { @Suppress("UNCHECKED_CAST") @JvmStatic - fun tlbCodec(n: Int): TlbCodec = + public fun tlbCodec(n: Int): TlbCodec = when (n) { 0 -> VmStackListNilConstructor else -> VmStackListConsConstructor(n) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackNan.kt b/block-tlb/src/VmStackNan.kt similarity index 85% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackNan.kt rename to block-tlb/src/VmStackNan.kt index 17c6a0db..41e745c0 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackNan.kt +++ b/block-tlb/src/VmStackNan.kt @@ -6,7 +6,8 @@ import org.ton.cell.CellSlice import org.ton.tlb.TlbConstructor import org.ton.tlb.providers.TlbConstructorProvider -object VmStackNan : VmStackValue, VmStackNumber, TlbConstructorProvider by VmStackValueNanConstructor { +public object VmStackNan : VmStackValue, VmStackNumber, + TlbConstructorProvider by VmStackValueNanConstructor { override fun toInt(): Int = throw VmStackNanException() override fun toLong(): Long = throw VmStackNanException() override fun toBigInt(): BigInt = throw VmStackNanException() @@ -17,7 +18,7 @@ object VmStackNan : VmStackValue, VmStackNumber, TlbConstructorProvider by VmStackValueNullConstructor { +public object VmStackNull : VmStackValue, TlbConstructorProvider by VmStackValueNullConstructor { override fun toString(): String = "vm_stk_null" } diff --git a/block-tlb/src/VmStackNumber.kt b/block-tlb/src/VmStackNumber.kt new file mode 100644 index 00000000..b571dc7c --- /dev/null +++ b/block-tlb/src/VmStackNumber.kt @@ -0,0 +1,15 @@ +package org.ton.block + +import org.ton.bigint.BigInt + +public sealed interface VmStackNumber : VmStackValue { + public fun toInt(): Int + public fun toLong(): Long + public fun toBoolean(): Boolean + public fun toBigInt(): BigInt + + public operator fun plus(other: VmStackNumber): VmStackNumber + public operator fun minus(other: VmStackNumber): VmStackNumber + public operator fun times(other: VmStackNumber): VmStackNumber + public operator fun div(other: VmStackNumber): VmStackNumber +} diff --git a/block-tlb/src/VmStackSlice.kt b/block-tlb/src/VmStackSlice.kt new file mode 100644 index 00000000..e5c14e38 --- /dev/null +++ b/block-tlb/src/VmStackSlice.kt @@ -0,0 +1,21 @@ +package org.ton.block + +import org.ton.cell.Cell +import org.ton.cell.CellSlice + +public sealed interface VmStackSlice : VmStackValue { + public val cell: Cell + public val stBits: Int + public val endBits: Int + public val stRef: Int + public val endRef: Int + + public fun toCellSlice(): CellSlice = cell.beginParse().run { + skipBits(stBits) + loadRefs(stRef) + CellSlice.of( + loadBits(endBits - stBits), + loadRefs(endRef - stRef) + ) + } +} diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackTinyInt.kt b/block-tlb/src/VmStackTinyInt.kt similarity index 97% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackTinyInt.kt rename to block-tlb/src/VmStackTinyInt.kt index 09acd865..f1ca976f 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackTinyInt.kt +++ b/block-tlb/src/VmStackTinyInt.kt @@ -89,7 +89,7 @@ public data class VmStackTinyInt( override fun toString(): String = "(vm_stk_tinyint value:$value)" - companion object : TlbConstructorProvider by VmStackTinyIntTlbConstructor + public companion object : TlbConstructorProvider by VmStackTinyIntTlbConstructor } private object VmStackTinyIntTlbConstructor : TlbConstructor( diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackTuple.kt b/block-tlb/src/VmStackTuple.kt similarity index 81% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackTuple.kt rename to block-tlb/src/VmStackTuple.kt index b574f3ef..4947e997 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackTuple.kt +++ b/block-tlb/src/VmStackTuple.kt @@ -12,15 +12,15 @@ import org.ton.tlb.storeTlb @Serializable @SerialName("vm_stk_tuple") -class VmStackTuple( - val len: Int, - val data: VmTuple +public class VmStackTuple( + public val len: Int, + public val data: VmTuple ) : VmStackValue { - constructor(data: VmTuple) : this(data.depth(), data) + public constructor(data: VmTuple) : this(data.depth(), data) override fun toString(): String = "(vm_stk_tuple len:$len data:$data)" - companion object : TlbConstructorProvider by VmStackValueTupleConstructor + public companion object : TlbConstructorProvider by VmStackValueTupleConstructor } private object VmStackValueTupleConstructor : TlbConstructor( diff --git a/block-tlb/src/VmStackValue.kt b/block-tlb/src/VmStackValue.kt new file mode 100644 index 00000000..dc6307ad --- /dev/null +++ b/block-tlb/src/VmStackValue.kt @@ -0,0 +1,73 @@ +@file:Suppress("OPT_IN_USAGE", "NOTHING_TO_INLINE") + +package org.ton.block + +import kotlinx.serialization.Serializable +import kotlinx.serialization.json.JsonClassDiscriminator +import org.ton.bigint.BigInt +import org.ton.cell.Cell +import org.ton.cell.CellBuilder +import org.ton.cell.CellSlice +import org.ton.tlb.TlbCombinator +import org.ton.tlb.providers.TlbCombinatorProvider +import kotlin.jvm.JvmStatic + +public inline fun VmStackValue(): VmStackValue = VmStackValue.of() +public inline fun VmStackValue(int: Int): VmStackTinyInt = VmStackValue.of(int) +public inline fun VmStackValue(long: Long): VmStackTinyInt = VmStackValue.of(long) +public inline fun VmStackValue(boolean: Boolean): VmStackTinyInt = VmStackValue.of(boolean) +public inline fun VmStackValue(bigInt: BigInt): VmStackInt = VmStackValue.of(bigInt) +public inline fun VmStackValue(cell: Cell): VmStackCell = VmStackValue.of(cell) +public inline fun VmStackValue(cellSlice: CellSlice): VmCellSlice = VmStackValue.of(cellSlice) +public inline fun VmStackValue(cellBuilder: CellBuilder): VmStackBuilder = VmStackValue.of(cellBuilder) +public inline fun VmStackValue(cont: VmCont): VmStackCont = VmStackValue.of(cont) +public inline fun VmStackValue(tuple: VmTuple): VmStackTuple = VmStackValue.of(tuple) + +@JsonClassDiscriminator("@type") +@Serializable +public sealed interface VmStackValue { + public companion object : TlbCombinatorProvider by VmStackValueTlbCombinator { + @JvmStatic + public fun of(): VmStackNull = VmStackNull + + @JvmStatic + public fun of(int: Int): VmStackTinyInt = VmStackTinyInt(int) + + @JvmStatic + public fun of(boolean: Boolean): VmStackTinyInt = VmStackTinyInt(boolean) + + @JvmStatic + public fun of(long: Long): VmStackTinyInt = VmStackTinyInt(long) + + @JvmStatic + public fun of(bigInt: BigInt): VmStackInt = VmStackInt(bigInt) + + @JvmStatic + public fun of(cell: Cell): VmStackCell = VmStackCell(cell) + + @JvmStatic + public fun of(cellSlice: CellSlice): VmCellSlice = VmCellSlice(cellSlice) + + @JvmStatic + public fun of(cellBuilder: CellBuilder): VmStackBuilder = VmStackBuilder(cellBuilder) + + @JvmStatic + public fun of(cont: VmCont): VmStackCont = VmStackCont(cont) + + @JvmStatic + public fun of(tuple: VmTuple): VmStackTuple = VmStackTuple(tuple) + } +} + +private object VmStackValueTlbCombinator : TlbCombinator( + VmStackValue::class, + VmStackNull::class to VmStackNull.tlbConstructor(), + VmStackTinyInt::class to VmStackTinyInt.tlbConstructor(), + VmStackInt::class to VmStackInt.tlbConstructor(), + VmStackNan::class to VmStackNan.tlbConstructor(), + VmStackCell::class to VmStackCell.tlbConstructor(), + VmCellSlice::class to VmCellSlice.tlbConstructor(), + VmStackBuilder::class to VmStackBuilder.tlbConstructor(), + VmStackCont::class to VmStackCont.tlbConstructor(), + VmStackTuple::class to VmStackTuple.tlbConstructor() +) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTuple.kt b/block-tlb/src/VmTuple.kt similarity index 73% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTuple.kt rename to block-tlb/src/VmTuple.kt index dd0862bb..3a7a88a0 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTuple.kt +++ b/block-tlb/src/VmTuple.kt @@ -9,13 +9,13 @@ import kotlin.jvm.JvmStatic @JsonClassDiscriminator("@type") @Serializable -sealed interface VmTuple { - fun depth(): Int +public sealed interface VmTuple { + public fun depth(): Int - companion object { + public companion object { @Suppress("UNCHECKED_CAST") @JvmStatic - fun tlbCodec(n: Int): TlbCodec = if (n == 0) { + public fun tlbCodec(n: Int): TlbCodec = if (n == 0) { VmTupleNil.tlbConstructor() } else { VmTupleTcons.tlbCodec(n) diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleNil.kt b/block-tlb/src/VmTupleNil.kt similarity index 86% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleNil.kt rename to block-tlb/src/VmTupleNil.kt index 995e82d9..ce48e996 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleNil.kt +++ b/block-tlb/src/VmTupleNil.kt @@ -9,7 +9,7 @@ import org.ton.tlb.providers.TlbConstructorProvider @SerialName("vm_tuple_nil") @Serializable -object VmTupleNil : VmTuple, TlbConstructorProvider by VmTupleNilTlbConstructor { +public object VmTupleNil : VmTuple, TlbConstructorProvider by VmTupleNilTlbConstructor { override fun depth(): Int = 0 override fun toString(): String = "vm_tuple_nil" diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleRef.kt b/block-tlb/src/VmTupleRef.kt similarity index 79% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleRef.kt rename to block-tlb/src/VmTupleRef.kt index fbfc58f3..b8d888fa 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleRef.kt +++ b/block-tlb/src/VmTupleRef.kt @@ -12,28 +12,28 @@ import org.ton.tlb.loadTlb import org.ton.tlb.storeTlb import kotlin.jvm.JvmStatic -inline fun VmTupleRef(): VmTupleRef = VmTupleRef.of() -inline fun VmTupleRef(entry: VmStackValue): VmTupleRef = VmTupleRef.of(entry) -inline fun VmTupleRef(ref: VmTuple): VmTupleRef = VmTupleRef.of(ref) +public inline fun VmTupleRef(): VmTupleRef = VmTupleRef.of() +public inline fun VmTupleRef(entry: VmStackValue): VmTupleRef = VmTupleRef.of(entry) +public inline fun VmTupleRef(ref: VmTuple): VmTupleRef = VmTupleRef.of(ref) @JsonClassDiscriminator("@type") @Serializable -sealed interface VmTupleRef { - fun depth(): Int +public sealed interface VmTupleRef { + public fun depth(): Int - companion object { + public companion object { @JvmStatic - fun of(): VmTupleRef = VmTupleRefNil + public fun of(): VmTupleRef = VmTupleRefNil @JvmStatic - fun of(entry: VmStackValue): VmTupleRef = VmTupleRefSingle(entry) + public fun of(entry: VmStackValue): VmTupleRef = VmTupleRefSingle(entry) @JvmStatic - fun of(ref: VmTuple): VmTupleRef = VmTupleRefAny(ref) + public fun of(ref: VmTuple): VmTupleRef = VmTupleRefAny(ref) @Suppress("UNCHECKED_CAST") @JvmStatic - fun tlbCodec(n: Int): TlbCodec = when (n) { + public fun tlbCodec(n: Int): TlbCodec = when (n) { 0 -> VmTupleRefNilTlbConstructor 1 -> VmTupleRefSingleTlbConstructor else -> VmTupleRefAnyTlbConstructor(n) @@ -43,7 +43,7 @@ sealed interface VmTupleRef { @SerialName("vm_tupref_nil") @Serializable -object VmTupleRefNil : VmTupleRef { +public object VmTupleRefNil : VmTupleRef { override fun depth(): Int = 0 override fun toString(): String = "vm_tupref_nil" @@ -51,7 +51,7 @@ object VmTupleRefNil : VmTupleRef { @SerialName("vm_tupref_single") @Serializable -data class VmTupleRefSingle( +public data class VmTupleRefSingle( val entry: VmStackValue ) : VmTupleRef { override fun depth(): Int = 1 @@ -61,7 +61,7 @@ data class VmTupleRefSingle( @SerialName("vm_tupref_any") @Serializable -data class VmTupleRefAny( +public data class VmTupleRefAny( val ref: VmTuple ) : VmTupleRef { override fun depth(): Int = ref.depth() diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleTcons.kt b/block-tlb/src/VmTupleTcons.kt similarity index 90% rename from ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleTcons.kt rename to block-tlb/src/VmTupleTcons.kt index d2d3a975..8f3749b1 100644 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmTupleTcons.kt +++ b/block-tlb/src/VmTupleTcons.kt @@ -20,9 +20,9 @@ public data class VmTupleTcons( override fun toString(): String = "(vm_tuple_tcons head:$head tail:$tail)" - companion object { + public companion object { @JvmStatic - fun tlbCodec(n: Int): TlbConstructor = VmTupleTconsTlbConstructor(n) + public fun tlbCodec(n: Int): TlbConstructor = VmTupleTconsTlbConstructor(n) } } diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/AddrStdTest.kt b/block-tlb/test/AddrStdTest.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/AddrStdTest.kt rename to block-tlb/test/AddrStdTest.kt diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/MsgAddressIntTest.kt b/block-tlb/test/MsgAddressIntTest.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/MsgAddressIntTest.kt rename to block-tlb/test/MsgAddressIntTest.kt diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/StateInitTest.kt b/block-tlb/test/StateInitTest.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/StateInitTest.kt rename to block-tlb/test/StateInitTest.kt diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/VmStackListTest.kt b/block-tlb/test/VmStackListTest.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/VmStackListTest.kt rename to block-tlb/test/VmStackListTest.kt diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/VmStackTest.kt b/block-tlb/test/VmStackTest.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/VmStackTest.kt rename to block-tlb/test/VmStackTest.kt diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/VmStackValue.kt b/block-tlb/test/VmStackValue.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/VmStackValue.kt rename to block-tlb/test/VmStackValue.kt diff --git a/ton-kotlin-block/src/commonTest/kotlin/org/ton/block/util.kt b/block-tlb/test/util.kt similarity index 100% rename from ton-kotlin-block/src/commonTest/kotlin/org/ton/block/util.kt rename to block-tlb/test/util.kt diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts new file mode 100644 index 00000000..45da1463 --- /dev/null +++ b/build-logic/build.gradle.kts @@ -0,0 +1,13 @@ +plugins { + `kotlin-dsl` +} + +repositories { + mavenCentral() + gradlePluginPortal() +} + +dependencies { + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20") +// implementation("io.github.gradle-nexus:publish-plugin:2.0.0-rc-1") +} diff --git a/build-logic/src/main/kotlin/multiplatform.gradle.kts b/build-logic/src/main/kotlin/multiplatform.gradle.kts new file mode 100644 index 00000000..85954e13 --- /dev/null +++ b/build-logic/src/main/kotlin/multiplatform.gradle.kts @@ -0,0 +1,81 @@ +import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension + +plugins { + kotlin("multiplatform") +} + +kotlin { +// explicitApiWarning() + explicitApi() + + //optin + + jvm { + compilations.all { + kotlinOptions { + jvmTarget = "1.8" + } + } + } + + sourceSets { + all { + languageSettings { + optIn("kotlin.contracts.ExperimentalContracts") + } + } + + commonTest { + dependencies { + implementation(kotlin("test")) + } + } + } + + configureNativePlatforms() + configureSourceSetsLayout() +} + +fun KotlinMultiplatformExtension.configureNativePlatforms() { + iosX64() + iosArm64() + iosSimulatorArm64() + tvosX64() + tvosArm64() + tvosSimulatorArm64() + watchosArm32() + watchosArm64() + watchosX64() + watchosSimulatorArm64() +// watchosDeviceArm64() + + macosX64() + macosArm64() + +// androidNativeArm32() +// androidNativeArm64() +// androidNativeX64() +// androidNativeX86() + + linuxArm64() + linuxX64() + + mingwX64() +} + +fun KotlinMultiplatformExtension.configureSourceSetsLayout() { + sourceSets { + all { + if (name.endsWith("Main")) { + val suffix = if (name.startsWith("common")) "" else "@${name.removeSuffix("Main")}" + kotlin.srcDir("src$suffix") + resources.srcDir("resources$suffix") + } + if (name.endsWith("Test")) { + val suffix = if (name.startsWith("common")) "" else "@${name.removeSuffix("Test")}" + kotlin.srcDir("test$suffix") + resources.srcDir("testResources$suffix") + } + } + } +} diff --git a/build-logic/src/main/kotlin/publish.gradle.kts b/build-logic/src/main/kotlin/publish.gradle.kts new file mode 100644 index 00000000..cd95b2b1 --- /dev/null +++ b/build-logic/src/main/kotlin/publish.gradle.kts @@ -0,0 +1,109 @@ +import org.gradle.jvm.tasks.Jar +import java.net.URI + +plugins { + `maven-publish` + signing +} + +publishing { + val javadocJar = project.configureEmptyJavadocArtifact() + publications.withType(MavenPublication::class).all { + pom.configureMavenCentralMetadata(project) + signPublicationIfKeyPresent(project, this) + artifact(javadocJar) + } + + tasks.withType().configureEach { + dependsOn(tasks.withType()) + } +} + +// Pom configuration +infix fun Property.by(value: T) { + set(value) +} + +fun MavenPom.configureMavenCentralMetadata(project: Project) { + name by project.name + description by "A multiplatform Kotlin library providing basic cryptographic functions and primitives" + url by "https://github.com/ton-community/ton-kotlin" + + licenses { + license { + name by "The Apache Software License, Version 2.0" + url by "https://www.apache.org/licenses/LICENSE-2.0.txt" + distribution by "repo" + } + } + + developers { + developer { + id by "andreypfau" + name by "Andrey Pfau" + email by "andreypfau@ton.org" + } + } + + scm { + url by "https://github.com/ton-community/ton-kotlin" + } +} + +fun MavenPublication.mavenCentralArtifacts(project: Project, sources: SourceDirectorySet) { + val sourcesJar by project.tasks.creating(Jar::class) { + archiveClassifier.set("sources") + from(sources) + } + val javadocJar by project.tasks.creating(Jar::class) { + archiveClassifier.set("javadoc") + // contents are deliberately left empty + } + artifact(sourcesJar) + artifact(javadocJar) +} + + +fun mavenRepositoryUri(): URI { + val repositoryId: String? = System.getenv("SONATYPE_REPOSITORY_ID") + return if (repositoryId == null) { + URI("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") + } else { + URI("https://s01.oss.sonatype.org/service/local/staging/deployByRepositoryId/$repositoryId") + } +} + +fun RepositoryHandler.configureMavenPublication(project: Project) { + maven { + url = mavenRepositoryUri() + credentials { + username = project.getSensitiveProperty("OSSRH_USERNAME") + password = project.getSensitiveProperty("OSSRH_PASSWORD") + } + } + + mavenLocal() +} + +fun Project.configureEmptyJavadocArtifact(): Jar { + val javadocJar by project.tasks.creating(Jar::class) { + archiveClassifier.set("javadoc") + // contents are deliberately left empty + } + return javadocJar +} + +fun signPublicationIfKeyPresent(project: Project, publication: MavenPublication) { + val signingKey = project.getSensitiveProperty("SIGNING_SECRET_KEY") + val signingKeyPassphrase = project.getSensitiveProperty("SIGNING_PASSWORD") + if (!signingKey.isNullOrBlank()) { + project.extensions.configure("signing") { + useInMemoryPgpKeys(signingKey, signingKeyPassphrase) + sign(publication) + } + } +} + +fun Project.getSensitiveProperty(name: String): String? { + return project.findProperty(name) as? String ?: System.getenv(name) +} diff --git a/build.gradle.kts b/build.gradle.kts index 46b1a303..d7980b6b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,173 +1,34 @@ -import org.jetbrains.kotlin.gradle.dsl.kotlinExtension +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +import org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile plugins { - kotlin("multiplatform") - kotlin("plugin.serialization") - id("io.github.gradle-nexus.publish-plugin") version "1.2.0" - `maven-publish` - signing -} - -val isCI = System.getenv("CI") == "true" -val isSnapshot = System.getenv("TON_KOTLIN_SNAPSHOT") == "true" -val disableNativeTarget = System.getenv("TON_KOTLIN_DISABLE_NATIVE_TARGET") == "true" + kotlin("multiplatform") apply false + id("io.github.gradle-nexus.publish-plugin") version "2.0.0-rc-1" -//val githubVersion = System.getenv("GITHUB_REF")?.substring(11) -//if (isCI) { -// checkNotNull(githubVersion) { "GITHUB_REF is not set" } -// check(githubVersion.isNotEmpty()) { "GITHUB_REF is empty" } -// check(githubVersion.matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-[a-zA-Z0-9]+)?"))) { "'$githubVersion' is not a valid version" } -//} + alias(libs.plugins.bcv) +} allprojects { - group = "org.ton" - version = "0.2.18".let { - if (isSnapshot && !it.endsWith("-SNAPSHOT")) { - "$it-SNAPSHOT" - } else it - } - - apply(plugin = "kotlin-multiplatform") - apply(plugin = "kotlinx-serialization") - apply(plugin = "maven-publish") - apply(plugin = "signing") - repositories { mavenCentral() } +} - buildDir = File(rootDir, "build/${project.name}") - - kotlin { - if (!isCI) { - explicitApiWarning() - } - jvm { - compilations.all { - kotlinOptions { - jvmTarget = "1.8" - } - } - } - - sourceSets.create("nativeMain").dependsOn(sourceSets["commonMain"]) - sourceSets.create("nativeTest").dependsOn(sourceSets["commonTest"]) - - if (!disableNativeTarget) { - sourceSets.create("linuxMain").dependsOn(sourceSets["nativeMain"]) - sourceSets.create("linuxTest").dependsOn(sourceSets["nativeTest"]) - linuxX64 { - compilations["main"].defaultSourceSet.dependsOn(sourceSets["linuxMain"]) - compilations["test"].defaultSourceSet.dependsOn(sourceSets["linuxTest"]) - } - - sourceSets.create("mingwMain").dependsOn(sourceSets["nativeMain"]) - sourceSets.create("mingwTest").dependsOn(sourceSets["nativeTest"]) - mingwX64 { - compilations["main"].defaultSourceSet.dependsOn(sourceSets["mingwMain"]) - compilations["test"].defaultSourceSet.dependsOn(sourceSets["mingwTest"]) - } - - sourceSets.create("darwinMain").dependsOn(sourceSets["nativeMain"]) - sourceSets.create("darwinTest").dependsOn(sourceSets["nativeTest"]) - macosArm64 { - compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) - compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) - } - macosX64 { - compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) - compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) - } - ios { - compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) - compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) - } - iosSimulatorArm64 { - compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) - compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) - } - } - - sourceSets { - val commonMain by getting - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } - all { - languageSettings { - optIn("kotlin.ExperimentalUnsignedTypes") - optIn("kotlin.contracts.ExperimentalContracts") - } - } - } - } - - afterEvaluate { - formatSourceSets() - } - - val javadocJar by tasks.registering(Jar::class) { - archiveClassifier.set("javadoc") - } +subprojects { + group = "org.ton" + version = "0.3.0" - publishing { - publications.withType { - artifact(javadocJar.get()) - pom { - name.set("ton-kotlin") - description.set("Kotlin/Multiplatform SDK for The Open Network") - url.set("https://github.com/andreypfau/ton-kotlin") - licenses { - license { - name.set("The Apache Software License, Version 2.0") - url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") - } - } - developers { - developer { - id.set("andreypfau") - name.set("Andrey Pfau") - email.set("andreypfau@ton.org") - } - } - scm { - connection.set("scm:git:git://github.com/andreypfau/ton-kotlin.git") - developerConnection.set("scm:git:ssh://github.com/andreypfau/ton-kotlin.git") - url.set("https://github.com/andreypfau/ton-kotlin") - } - } + tasks.withType().configureEach { + kotlinOptions { +// allWarningsAsErrors = true + freeCompilerArgs += "-Xjvm-default=all" + freeCompilerArgs += "-Xexpect-actual-classes" } -// repositories { -// maven { -// name = "GitHubPackages" -// url = uri("https://maven.pkg.github.com/andreypfau/ton-kotlin") -// credentials { -// username = System.getenv("GITHUB_ACTOR") -// password = System.getenv("GITHUB_TOKEN") -// } -// } -// } } - - signing { - val secretKey = project.findProperty("signing.secretKey") as? String ?: System.getenv("SIGNING_SECRET_KEY") - val password = project.findProperty("signing.password") as? String ?: System.getenv("SIGNING_PASSWORD") - isRequired = secretKey != null && password != null - useInMemoryPgpKeys(secretKey, password) - sign(publishing.publications) - } -} - -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - subprojects { - api(this) - } - } + tasks.withType().configureEach { + kotlinOptions { +// allWarningsAsErrors = true + freeCompilerArgs += "-Xexpect-actual-classes" } } } @@ -175,20 +36,178 @@ kotlin { nexusPublishing { repositories { sonatype { - username.set(project.findProperty("ossrhUsername") as? String ?: System.getenv("OSSRH_USERNAME")) - password.set(project.findProperty("ossrhPassword") as? String ?: System.getenv("OSSRH_PASSWORD")) nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) } } } - -fun Project.formatSourceSets() { - kotlinExtension.sourceSets.all { - val suffixIndex = name.indexOfLast { it.isUpperCase() } - val targetName = name.substring(0, suffixIndex) - val suffix = name.substring(suffixIndex).lowercase().takeIf { it != "main" } - kotlin.srcDir("$targetName/${suffix ?: "src"}") - resources.srcDir("$targetName/${suffix?.let { it + "Resources" } ?: "resources"}") - } -} +//val isCI = System.getenv("CI") == "true" +//val isSnapshot = System.getenv("TON_KOTLIN_SNAPSHOT") == "true" +//val disableNativeTarget = System.getenv("TON_KOTLIN_DISABLE_NATIVE_TARGET") == "true" +// +//subprojects { +// group = "org.ton" +// version = "0.2.18".let { +// if (isSnapshot && !it.endsWith("-SNAPSHOT")) { +// "$it-SNAPSHOT" +// } else it +// } +// +// apply(plugin = "kotlin-multiplatform") +// apply(plugin = "kotlinx-serialization") +// apply(plugin = "maven-publish") +// apply(plugin = "signing") +// +// repositories { +// mavenCentral() +// } +// +// buildDir = File(rootDir, "build/${project.name}") +// +// kotlin { +// if (!isCI) { +// explicitApiWarning() +// } +// jvm { +// compilations.all { +// kotlinOptions { +// jvmTarget = "1.8" +// } +// } +// } +// +// sourceSets.create("nativeMain").dependsOn(sourceSets["commonMain"]) +// sourceSets.create("nativeTest").dependsOn(sourceSets["commonTest"]) +// +// if (!disableNativeTarget) { +// sourceSets.create("linuxMain").dependsOn(sourceSets["nativeMain"]) +// sourceSets.create("linuxTest").dependsOn(sourceSets["nativeTest"]) +// linuxX64 { +// compilations["main"].defaultSourceSet.dependsOn(sourceSets["linuxMain"]) +// compilations["test"].defaultSourceSet.dependsOn(sourceSets["linuxTest"]) +// } +// +// sourceSets.create("mingwMain").dependsOn(sourceSets["nativeMain"]) +// sourceSets.create("mingwTest").dependsOn(sourceSets["nativeTest"]) +// mingwX64 { +// compilations["main"].defaultSourceSet.dependsOn(sourceSets["mingwMain"]) +// compilations["test"].defaultSourceSet.dependsOn(sourceSets["mingwTest"]) +// } +// +// sourceSets.create("darwinMain").dependsOn(sourceSets["nativeMain"]) +// sourceSets.create("darwinTest").dependsOn(sourceSets["nativeTest"]) +// macosArm64 { +// compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) +// compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) +// } +// macosX64 { +// compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) +// compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) +// } +// ios { +// compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) +// compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) +// } +// iosSimulatorArm64 { +// compilations["main"].defaultSourceSet.dependsOn(sourceSets["darwinMain"]) +// compilations["test"].defaultSourceSet.dependsOn(sourceSets["darwinTest"]) +// } +// } +// +// sourceSets { +// val commonMain by getting +// val commonTest by getting { +// dependencies { +// implementation(kotlin("test")) +// } +// } +// all { +// languageSettings { +// optIn("kotlin.ExperimentalUnsignedTypes") +// optIn("kotlin.contracts.ExperimentalContracts") +// } +// } +// } +// } +// +// afterEvaluate { +// formatSourceSets() +// } +// +// val javadocJar by tasks.registering(Jar::class) { +// archiveClassifier.set("javadoc") +// } +// +// publishing { +// publications.withType { +// artifact(javadocJar.get()) +// pom { +// name.set("ton-kotlin") +// description.set("Kotlin/Multiplatform SDK for The Open Network") +// url.set("https://github.com/andreypfau/ton-kotlin") +// licenses { +// license { +// name.set("The Apache Software License, Version 2.0") +// url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") +// } +// } +// developers { +// developer { +// id.set("andreypfau") +// name.set("Andrey Pfau") +// email.set("andreypfau@ton.org") +// } +// } +// scm { +// connection.set("scm:git:git://github.com/andreypfau/ton-kotlin.git") +// developerConnection.set("scm:git:ssh://github.com/andreypfau/ton-kotlin.git") +// url.set("https://github.com/andreypfau/ton-kotlin") +// } +// } +// } +//// repositories { +//// maven { +//// name = "GitHubPackages" +//// url = uri("https://maven.pkg.github.com/andreypfau/ton-kotlin") +//// credentials { +//// username = System.getenv("GITHUB_ACTOR") +//// password = System.getenv("GITHUB_TOKEN") +//// } +//// } +//// } +// } +// + +// +// signing { +// val secretKey = project.findProperty("signing.secretKey") as? String ?: System.getenv("SIGNING_SECRET_KEY") +// val password = project.findProperty("signing.password") as? String ?: System.getenv("SIGNING_PASSWORD") +// isRequired = secretKey != null && password != null +// useInMemoryPgpKeys(secretKey, password) +// sign(publishing.publications) +// } +//} +// +//kotlin { +// sourceSets { +// val commonMain by getting { +// dependencies { +// subprojects { +// api(this) +// } +// } +// } +// } +//} +// +// +// +//fun Project.formatSourceSets() { +// kotlinExtension.sourceSets.all { +// val suffixIndex = name.indexOfLast { it.isUpperCase() } +// val targetName = name.substring(0, suffixIndex) +// val suffix = name.substring(suffixIndex).lowercase().takeIf { it != "main" } +// kotlin.srcDir("$targetName/${suffix ?: "src"}") +// resources.srcDir("$targetName/${suffix?.let { it + "Resources" } ?: "resources"}") +// } +//} diff --git a/common/src/dummy.kt b/common/src/dummy.kt deleted file mode 100644 index 22265a3d..00000000 --- a/common/src/dummy.kt +++ /dev/null @@ -1,3 +0,0 @@ -package org.ton - -private object DummyObject diff --git a/contract/api/ton-kotlin-contract.api b/contract/api/ton-kotlin-contract.api new file mode 100644 index 00000000..08b32244 --- /dev/null +++ b/contract/api/ton-kotlin-contract.api @@ -0,0 +1,480 @@ +public final class org/ton/contract/CellStringTlbConstructor : org/ton/tlb/TlbConstructor { + public static final field INSTANCE Lorg/ton/contract/CellStringTlbConstructor; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/tl/ByteString; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/tl/ByteString;)V +} + +public final class org/ton/contract/ChunkedData { + public static final field Companion Lorg/ton/contract/ChunkedData$Companion; + public fun (Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashMapE;)Lorg/ton/contract/ChunkedData; + public static synthetic fun copy$default (Lorg/ton/contract/ChunkedData;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/contract/ChunkedData; + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/ChunkedData$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/ChunkedData;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/ChunkedData; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/ChunkedData; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/ChunkedData;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/contract/ContentData { + public static final field Companion Lorg/ton/contract/ContentData$Companion; +} + +public final class org/ton/contract/ContentData$Chunks : org/ton/contract/ContentData { + public fun (Lorg/ton/contract/ChunkedData;)V + public final fun component1 ()Lorg/ton/contract/ChunkedData; + public final fun copy (Lorg/ton/contract/ChunkedData;)Lorg/ton/contract/ContentData$Chunks; + public static synthetic fun copy$default (Lorg/ton/contract/ContentData$Chunks;Lorg/ton/contract/ChunkedData;ILjava/lang/Object;)Lorg/ton/contract/ContentData$Chunks; + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/contract/ChunkedData; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/ContentData$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/ContentData;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/ContentData; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/ContentData; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/ContentData;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/contract/ContentData$Snake : org/ton/contract/ContentData { + public fun (Lorg/ton/contract/SnakeData;)V + public final fun component1 ()Lorg/ton/contract/SnakeData; + public final fun copy (Lorg/ton/contract/SnakeData;)Lorg/ton/contract/ContentData$Snake; + public static synthetic fun copy$default (Lorg/ton/contract/ContentData$Snake;Lorg/ton/contract/SnakeData;ILjava/lang/Object;)Lorg/ton/contract/ContentData$Snake; + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/contract/SnakeData; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/contract/FullContent { + public static final field Companion Lorg/ton/contract/FullContent$Companion; +} + +public final class org/ton/contract/FullContent$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/FullContent;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/FullContent; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/FullContent; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/FullContent;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/contract/FullContent$OffChain : org/ton/contract/FullContent { + public fun (Lorg/ton/contract/Text;)V + public final fun component1 ()Lorg/ton/contract/Text; + public final fun copy (Lorg/ton/contract/Text;)Lorg/ton/contract/FullContent$OffChain; + public static synthetic fun copy$default (Lorg/ton/contract/FullContent$OffChain;Lorg/ton/contract/Text;ILjava/lang/Object;)Lorg/ton/contract/FullContent$OffChain; + public fun equals (Ljava/lang/Object;)Z + public final fun getUri ()Lorg/ton/contract/Text; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/FullContent$OnChain : org/ton/contract/FullContent { + public fun (Lorg/ton/hashmap/HashMapE;)V + public final fun component1 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (Lorg/ton/hashmap/HashMapE;)Lorg/ton/contract/FullContent$OnChain; + public static synthetic fun copy$default (Lorg/ton/contract/FullContent$OnChain;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/contract/FullContent$OnChain; + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/hashmap/HashMapE; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/contract/SmartContract { + public abstract fun getAddress ()Lorg/ton/block/AddrStd; + public abstract fun getLiteClient ()Lorg/ton/lite/client/LiteClient; +} + +public abstract interface class org/ton/contract/SnakeData { + public static final field Companion Lorg/ton/contract/SnakeData$Companion; +} + +public final class org/ton/contract/SnakeData$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/SnakeData;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/SnakeData; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/SnakeData; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/SnakeData;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/contract/SnakeDataCons : org/ton/contract/SnakeData { + public static final field Companion Lorg/ton/contract/SnakeDataCons$Companion; + public fun (Lorg/ton/bitstring/BitString;Lorg/ton/contract/SnakeData;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()Lorg/ton/contract/SnakeData; + public final fun copy (Lorg/ton/bitstring/BitString;Lorg/ton/contract/SnakeData;)Lorg/ton/contract/SnakeDataCons; + public static synthetic fun copy$default (Lorg/ton/contract/SnakeDataCons;Lorg/ton/bitstring/BitString;Lorg/ton/contract/SnakeData;ILjava/lang/Object;)Lorg/ton/contract/SnakeDataCons; + public fun equals (Ljava/lang/Object;)Z + public final fun getBits ()Lorg/ton/bitstring/BitString; + public final fun getNext ()Lorg/ton/contract/SnakeData; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/SnakeDataCons$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/SnakeDataCons;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/SnakeDataCons; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/SnakeDataCons; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/SnakeDataCons;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/contract/SnakeDataTail : org/ton/contract/SnakeData { + public static final field Companion Lorg/ton/contract/SnakeDataTail$Companion; + public fun (Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/bitstring/BitString;)Lorg/ton/contract/SnakeDataTail; + public static synthetic fun copy$default (Lorg/ton/contract/SnakeDataTail;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/contract/SnakeDataTail; + public fun equals (Ljava/lang/Object;)Z + public final fun getBits ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/SnakeDataTail$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/SnakeDataTail;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/SnakeDataTail; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/SnakeDataTail; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/SnakeDataTail;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/contract/Text { + public static final field Companion Lorg/ton/contract/Text$Companion; + public fun (Lorg/ton/contract/SnakeData;)V + public final fun component1 ()Lorg/ton/contract/SnakeData; + public final fun copy (Lorg/ton/contract/SnakeData;)Lorg/ton/contract/Text; + public static synthetic fun copy$default (Lorg/ton/contract/Text;Lorg/ton/contract/SnakeData;ILjava/lang/Object;)Lorg/ton/contract/Text; + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/contract/SnakeData; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/Text$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/Text;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/Text; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/Text; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/Text;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/contract/exception/AccountNotInitializedException : java/lang/RuntimeException { + public fun (Lorg/ton/block/MsgAddressInt;)V + public final fun getAddress ()Lorg/ton/block/MsgAddressInt; +} + +public abstract interface class org/ton/contract/wallet/MessageData { + public static final field Companion Lorg/ton/contract/wallet/MessageData$Companion; + public static fun encryptedText (Lorg/ton/api/pub/PublicKey;Ljava/lang/String;)Lorg/ton/contract/wallet/MessageData$Text; + public abstract fun getBody ()Lorg/ton/cell/Cell; + public abstract fun getStateInit ()Lorg/ton/tlb/CellRef; + public static fun raw (Lorg/ton/cell/Cell;Lorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/MessageData$Raw; + public static fun text (Ljava/lang/String;)Lorg/ton/contract/wallet/MessageData$Text; +} + +public final class org/ton/contract/wallet/MessageData$Companion { + public final fun encryptedText (Lorg/ton/api/pub/PublicKey;Ljava/lang/String;)Lorg/ton/contract/wallet/MessageData$Text; + public final fun raw (Lorg/ton/cell/Cell;Lorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/MessageData$Raw; + public static synthetic fun raw$default (Lorg/ton/contract/wallet/MessageData$Companion;Lorg/ton/cell/Cell;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/contract/wallet/MessageData$Raw; + public final fun text (Ljava/lang/String;)Lorg/ton/contract/wallet/MessageData$Text; +} + +public final class org/ton/contract/wallet/MessageData$Raw : org/ton/contract/wallet/MessageData { + public fun (Lorg/ton/cell/Cell;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/cell/Cell; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/cell/Cell;Lorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/MessageData$Raw; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/MessageData$Raw;Lorg/ton/cell/Cell;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/contract/wallet/MessageData$Raw; + public fun equals (Ljava/lang/Object;)Z + public fun getBody ()Lorg/ton/cell/Cell; + public fun getStateInit ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/wallet/MessageData$Text : org/ton/contract/wallet/MessageData { + public fun (Lorg/ton/contract/wallet/MessageText;)V + public fun (Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/MessageData$Text; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/MessageData$Text;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/contract/wallet/MessageData$Text; + public fun equals (Ljava/lang/Object;)Z + public fun getBody ()Lorg/ton/cell/Cell; + public fun getStateInit ()Lorg/ton/tlb/CellRef; + public final fun getText ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/contract/wallet/MessageText { + public static final field Companion Lorg/ton/contract/wallet/MessageText$Companion; +} + +public final class org/ton/contract/wallet/MessageText$Companion : org/ton/tlb/providers/TlbCombinatorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/wallet/MessageText;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/wallet/MessageText; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/wallet/MessageText; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/wallet/MessageText;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public final class org/ton/contract/wallet/MessageText$Encrypted : org/ton/contract/wallet/MessageText { + public static final field Companion Lorg/ton/contract/wallet/MessageText$Encrypted$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/contract/wallet/MessageText$Encrypted; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/MessageText$Encrypted;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/contract/wallet/MessageText$Encrypted; + public final fun decrypt (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/contract/wallet/MessageText$Raw; + public fun equals (Ljava/lang/Object;)Z + public final fun getText ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/wallet/MessageText$Encrypted$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/wallet/MessageText$Encrypted;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/wallet/MessageText$Encrypted; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/wallet/MessageText$Encrypted; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/wallet/MessageText$Encrypted;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/contract/wallet/MessageText$Raw : org/ton/contract/wallet/MessageText { + public static final field Companion Lorg/ton/contract/wallet/MessageText$Raw$Companion; + public fun (Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Lorg/ton/contract/wallet/MessageText$Raw; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/MessageText$Raw;Ljava/lang/String;ILjava/lang/Object;)Lorg/ton/contract/wallet/MessageText$Raw; + public final fun encrypt (Lorg/ton/api/pub/PublicKey;)Lorg/ton/contract/wallet/MessageText$Encrypted; + public fun equals (Ljava/lang/Object;)Z + public final fun getText ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/wallet/MessageText$Raw$Companion : org/ton/tlb/providers/TlbConstructorProvider { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/contract/wallet/MessageText$Raw;)Lorg/ton/cell/Cell; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/contract/wallet/MessageText$Raw; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/wallet/MessageText$Raw; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/wallet/MessageText$Raw;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/contract/wallet/WalletContract : org/ton/contract/SmartContract { + public static final field Companion Lorg/ton/contract/wallet/WalletContract$Companion; + public static final field DEFAULT_WALLET_ID I + public abstract fun transfer (Lorg/ton/api/pk/PrivateKeyEd25519;Lorg/ton/contract/wallet/WalletTransfer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/contract/wallet/WalletContract$Companion { + public static final field DEFAULT_WALLET_ID I +} + +public final class org/ton/contract/wallet/WalletContractKt { + public static final fun transfer (Lorg/ton/contract/wallet/WalletContract;Lorg/ton/api/pk/PrivateKeyEd25519;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public abstract interface class org/ton/contract/wallet/WalletMessage { + public static final field Companion Lorg/ton/contract/wallet/WalletMessage$Companion; + public abstract fun getMode ()I + public abstract fun getMsg ()Lorg/ton/tlb/CellRef; + public fun loadMsg ()Lorg/ton/block/MessageRelaxed; + public static fun of (ILorg/ton/block/MessageRelaxed;)Lorg/ton/contract/wallet/WalletMessage; + public static fun of (ILorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/WalletMessage; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/contract/wallet/WalletMessage$Companion { + public final fun of (ILorg/ton/block/MessageRelaxed;)Lorg/ton/contract/wallet/WalletMessage; + public final fun of (ILorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/WalletMessage; + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/contract/wallet/WalletMessageKt { + public static final fun WalletMessage (ILorg/ton/block/MessageRelaxed;)Lorg/ton/contract/wallet/WalletMessage; + public static final fun WalletMessage (ILorg/ton/tlb/CellRef;)Lorg/ton/contract/wallet/WalletMessage; +} + +public final class org/ton/contract/wallet/WalletTransfer { + public final fun component1 ()Lorg/ton/block/MsgAddress; + public final fun component2 ()Z + public final fun component3 ()Lorg/ton/block/CurrencyCollection; + public final fun component4 ()I + public final fun component5 ()Lorg/ton/contract/wallet/MessageData; + public final fun copy (Lorg/ton/block/MsgAddress;ZLorg/ton/block/CurrencyCollection;ILorg/ton/contract/wallet/MessageData;)Lorg/ton/contract/wallet/WalletTransfer; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/WalletTransfer;Lorg/ton/block/MsgAddress;ZLorg/ton/block/CurrencyCollection;ILorg/ton/contract/wallet/MessageData;ILjava/lang/Object;)Lorg/ton/contract/wallet/WalletTransfer; + public fun equals (Ljava/lang/Object;)Z + public final fun getBounceable ()Z + public final fun getCoins ()Lorg/ton/block/CurrencyCollection; + public final fun getDestination ()Lorg/ton/block/MsgAddress; + public final fun getMessageData ()Lorg/ton/contract/wallet/MessageData; + public final fun getSendMode ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/wallet/WalletTransferBuilder { + public field destination Lorg/ton/block/MsgAddressInt; + public fun ()V + public final fun build ()Lorg/ton/contract/wallet/WalletTransfer; + public final fun getBounceable ()Z + public final fun getCoins ()Lorg/ton/block/Coins; + public final fun getCurrencyCollection ()Lorg/ton/block/CurrencyCollection; + public final fun getDestination ()Lorg/ton/block/MsgAddressInt; + public final fun getMessageData ()Lorg/ton/contract/wallet/MessageData; + public final fun getSendMode ()I + public final fun setBounceable (Z)V + public final fun setCoins (Lorg/ton/block/Coins;)V + public final fun setCurrencyCollection (Lorg/ton/block/CurrencyCollection;)V + public final fun setDestination (Lorg/ton/block/MsgAddressInt;)V + public final fun setMessageData (Lorg/ton/contract/wallet/MessageData;)V + public final fun setSendMode (I)V +} + +public final class org/ton/contract/wallet/WalletTransferKt { + public static final fun WalletTransfer (Lkotlin/jvm/functions/Function1;)Lorg/ton/contract/wallet/WalletTransfer; +} + +public final class org/ton/contract/wallet/WalletV3R2Contract : org/ton/contract/wallet/WalletContract { + public static final field Companion Lorg/ton/contract/wallet/WalletV3R2Contract$Companion; + public fun (Lorg/ton/lite/client/LiteClient;Lorg/ton/block/AddrStd;)V + public fun getAddress ()Lorg/ton/block/AddrStd; + public fun getLiteClient ()Lorg/ton/lite/client/LiteClient; + public final fun getWalletData (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getWalletDataOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun transfer (Lorg/ton/api/pk/PrivateKeyEd25519;Lorg/ton/contract/wallet/WalletTransfer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/contract/wallet/WalletV3R2Contract$Companion { + public final fun address (Lorg/ton/api/pk/PrivateKeyEd25519;I)Lorg/ton/block/AddrStd; + public static synthetic fun address$default (Lorg/ton/contract/wallet/WalletV3R2Contract$Companion;Lorg/ton/api/pk/PrivateKeyEd25519;IILjava/lang/Object;)Lorg/ton/block/AddrStd; + public final fun getCODE ()Lorg/ton/cell/Cell; + public final fun stateInit (Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data;)Lorg/ton/tlb/CellRef; + public final fun transferMessage (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/StateInit;Lorg/ton/api/pk/PrivateKeyEd25519;III[Lorg/ton/contract/wallet/WalletTransfer;)Lorg/ton/block/Message; +} + +public final class org/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data { + public static final field Companion Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data$Companion; + public fun (IILorg/ton/api/pub/PublicKeyEd25519;)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()Lorg/ton/api/pub/PublicKeyEd25519; + public final fun copy (IILorg/ton/api/pub/PublicKeyEd25519;)Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data;IILorg/ton/api/pub/PublicKeyEd25519;ILjava/lang/Object;)Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data; + public fun equals (Ljava/lang/Object;)Z + public final fun getPublicKey ()Lorg/ton/api/pub/PublicKeyEd25519; + public final fun getSeqno ()I + public final fun getSubWalletId ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data$Companion : org/ton/tlb/TlbConstructor { + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/wallet/WalletV3R2Contract$WalletV3R2Data;)V +} + +public final class org/ton/contract/wallet/WalletV4R2Contract : org/ton/contract/wallet/WalletContract { + public static final field Companion Lorg/ton/contract/wallet/WalletV4R2Contract$Companion; + public static final field OP_SEND I + public fun (Lorg/ton/lite/client/LiteClient;Lorg/ton/block/AddrStd;)V + public fun getAddress ()Lorg/ton/block/AddrStd; + public fun getLiteClient ()Lorg/ton/lite/client/LiteClient; + public final fun getWalletData (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getWalletDataOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun transfer (Lorg/ton/api/pk/PrivateKeyEd25519;Lorg/ton/contract/wallet/WalletTransfer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun transfer (Lorg/ton/api/pk/PrivateKeyEd25519;Lorg/ton/contract/wallet/WalletV4R2Contract$Data;Lorg/ton/contract/wallet/WalletTransfer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/contract/wallet/WalletV4R2Contract$Companion { + public final fun address (Lorg/ton/api/pk/PrivateKeyEd25519;I)Lorg/ton/block/AddrStd; + public static synthetic fun address$default (Lorg/ton/contract/wallet/WalletV4R2Contract$Companion;Lorg/ton/api/pk/PrivateKeyEd25519;IILjava/lang/Object;)Lorg/ton/block/AddrStd; + public final fun getCODE ()Lorg/ton/cell/Cell; + public final fun stateInit (Lorg/ton/contract/wallet/WalletV4R2Contract$Data;)Lorg/ton/tlb/CellRef; + public final fun transferMessage (Lorg/ton/block/MsgAddressInt;Lorg/ton/block/StateInit;Lorg/ton/api/pk/PrivateKeyEd25519;III[Lorg/ton/contract/wallet/WalletTransfer;)Lorg/ton/block/Message; +} + +public final class org/ton/contract/wallet/WalletV4R2Contract$Data { + public static final field Companion Lorg/ton/contract/wallet/WalletV4R2Contract$Data$Companion; + public fun (IILorg/ton/api/pub/PublicKeyEd25519;)V + public fun (IILorg/ton/api/pub/PublicKeyEd25519;Lorg/ton/hashmap/HashMapE;)V + public fun (ILorg/ton/api/pub/PublicKeyEd25519;)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()Lorg/ton/api/pub/PublicKeyEd25519; + public final fun component4 ()Lorg/ton/hashmap/HashMapE; + public final fun copy (IILorg/ton/api/pub/PublicKeyEd25519;Lorg/ton/hashmap/HashMapE;)Lorg/ton/contract/wallet/WalletV4R2Contract$Data; + public static synthetic fun copy$default (Lorg/ton/contract/wallet/WalletV4R2Contract$Data;IILorg/ton/api/pub/PublicKeyEd25519;Lorg/ton/hashmap/HashMapE;ILjava/lang/Object;)Lorg/ton/contract/wallet/WalletV4R2Contract$Data; + public fun equals (Ljava/lang/Object;)Z + public final fun getPlugins ()Lorg/ton/hashmap/HashMapE; + public final fun getPublicKey ()Lorg/ton/api/pub/PublicKeyEd25519; + public final fun getSeqno ()I + public final fun getSubWalletId ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/contract/wallet/WalletV4R2Contract$Data$Companion : org/ton/tlb/TlbConstructor { + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/contract/wallet/WalletV4R2Contract$Data; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/contract/wallet/WalletV4R2Contract$Data;)V +} + diff --git a/contract/build.gradle.kts b/contract/build.gradle.kts new file mode 100644 index 00000000..4ef8c92b --- /dev/null +++ b/contract/build.gradle.kts @@ -0,0 +1,14 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(projects.tonKotlinLiteclient) + } + } + } +} diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/CellString.kt b/contract/src/CellString.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/CellString.kt rename to contract/src/CellString.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/ChunkedData.kt b/contract/src/ChunkedData.kt similarity index 87% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/ChunkedData.kt rename to contract/src/ChunkedData.kt index 87f6725b..63fb6e28 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/ChunkedData.kt +++ b/contract/src/ChunkedData.kt @@ -10,10 +10,10 @@ import org.ton.tlb.loadTlb import org.ton.tlb.providers.TlbConstructorProvider import org.ton.tlb.storeTlb -data class ChunkedData( +public data class ChunkedData( val data: HashMapE ) { - companion object : TlbConstructorProvider by ChunkedDataConstructor + public companion object : TlbConstructorProvider by ChunkedDataConstructor } private object ChunkedDataConstructor : TlbConstructor( diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/ContentData.kt b/contract/src/ContentData.kt similarity index 84% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/ContentData.kt rename to contract/src/ContentData.kt index 4d87e866..8b0be290 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/ContentData.kt +++ b/contract/src/ContentData.kt @@ -8,12 +8,12 @@ import org.ton.tlb.loadTlb import org.ton.tlb.providers.TlbCombinatorProvider import org.ton.tlb.storeTlb -sealed interface ContentData { - data class Snake(val data: SnakeData) : ContentData +public sealed interface ContentData { + public data class Snake(val data: SnakeData) : ContentData - data class Chunks(val data: ChunkedData) : ContentData + public data class Chunks(val data: ChunkedData) : ContentData - companion object : TlbCombinatorProvider by ContentDataCombinator + public companion object : TlbCombinatorProvider by ContentDataCombinator } private object ContentDataCombinator : TlbCombinator( diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/FullContent.kt b/contract/src/FullContent.kt similarity index 89% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/FullContent.kt rename to contract/src/FullContent.kt index d96f51d2..7e6fa537 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/FullContent.kt +++ b/contract/src/FullContent.kt @@ -11,16 +11,16 @@ import org.ton.tlb.loadTlb import org.ton.tlb.providers.TlbCombinatorProvider import org.ton.tlb.storeTlb -sealed interface FullContent { - data class OnChain( +public sealed interface FullContent { + public data class OnChain( val data: HashMapE ) : FullContent - data class OffChain( + public data class OffChain( val uri: Text ) : FullContent - companion object : TlbCombinatorProvider by FullContentCombinator + public companion object : TlbCombinatorProvider by FullContentCombinator } private object FullContentCombinator : TlbCombinator( diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/SmartContract.kt b/contract/src/SmartContract.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/SmartContract.kt rename to contract/src/SmartContract.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/SnakeData.kt b/contract/src/SnakeData.kt similarity index 94% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/SnakeData.kt rename to contract/src/SnakeData.kt index b9f24cc4..22a94b2c 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/SnakeData.kt +++ b/contract/src/SnakeData.kt @@ -44,11 +44,11 @@ public data class SnakeDataTail( } } -data class SnakeDataCons( +public data class SnakeDataCons( val bits: BitString, val next: SnakeData ) : SnakeData { - companion object : TlbConstructorProvider by SnakeDataConsTlbConstructor + public companion object : TlbConstructorProvider by SnakeDataConsTlbConstructor private object SnakeDataConsTlbConstructor : TlbConstructor( schema = "cons#_ {bn:#} {n:#} b:(bits bn) next:^(SnakeData ~n) = SnakeData (n + 1);" diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/Text.kt b/contract/src/Text.kt similarity index 85% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/Text.kt rename to contract/src/Text.kt index 2317668e..8490e31a 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/Text.kt +++ b/contract/src/Text.kt @@ -7,10 +7,10 @@ import org.ton.tlb.loadTlb import org.ton.tlb.providers.TlbConstructorProvider import org.ton.tlb.storeTlb -data class Text( +public data class Text( val data: SnakeData ) { - companion object : TlbConstructorProvider by TextConstructor + public companion object : TlbConstructorProvider by TextConstructor } private object TextConstructor : TlbConstructor( diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/exception/AccountNotInitializedException.kt b/contract/src/exception/AccountNotInitializedException.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/exception/AccountNotInitializedException.kt rename to contract/src/exception/AccountNotInitializedException.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/HighLoadWalletV2Contract.kt b/contract/src/wallet/HighLoadWalletV2Contract.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/HighLoadWalletV2Contract.kt rename to contract/src/wallet/HighLoadWalletV2Contract.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/MessageText.kt b/contract/src/wallet/MessageText.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/MessageText.kt rename to contract/src/wallet/MessageText.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletContract.kt b/contract/src/wallet/WalletContract.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletContract.kt rename to contract/src/wallet/WalletContract.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletMessage.kt b/contract/src/wallet/WalletMessage.kt similarity index 100% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletMessage.kt rename to contract/src/wallet/WalletMessage.kt diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletTransfer.kt b/contract/src/wallet/WalletTransfer.kt similarity index 98% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletTransfer.kt rename to contract/src/wallet/WalletTransfer.kt index 0d53cd40..8b3c916c 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletTransfer.kt +++ b/contract/src/wallet/WalletTransfer.kt @@ -9,7 +9,7 @@ import kotlin.contracts.contract import kotlin.jvm.JvmStatic public data class WalletTransfer internal constructor( - val destination: MsgAddressInt, + val destination: MsgAddress, val bounceable: Boolean, val coins: CurrencyCollection, val sendMode: Int, diff --git a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletV3Contract.kt b/contract/src/wallet/WalletV3Contract.kt similarity index 87% rename from ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletV3Contract.kt rename to contract/src/wallet/WalletV3Contract.kt index 3a90140e..5ccd0a9a 100644 --- a/ton-kotlin-contract/src/commonMain/kotlin/org/ton/contract/wallet/WalletV3Contract.kt +++ b/contract/src/wallet/WalletV3Contract.kt @@ -85,8 +85,9 @@ public class WalletV3R2Contract( } public companion object { - public val CODE: Cell = + public val CODE: Cell by lazy(LazyThreadSafetyMode.PUBLICATION) { Cell("FF0020DD2082014C97BA218201339CBAB19F71B0ED44D0D31FD31F31D70BFFE304E0A4F2608308D71820D31FD31FD31FF82313BBF263ED44D0D31FD31FD3FFD15132BAF2A15144BAF2A204F901541055F910F2A3F8009320D74A96D307D402FB00E8D101A4C8CB1FCB1FCBFFC9ED54") + } public fun address(privateKey: PrivateKeyEd25519, workchainId: Int = 0): AddrStd { val stateInitRef = stateInit(WalletV3R2Data(0, DEFAULT_WALLET_ID, privateKey.publicKey())) @@ -169,18 +170,30 @@ public class WalletV3R2Contract( } private fun createIntMsg(gift: WalletTransfer): MessageRelaxed { - val info = CommonMsgInfoRelaxed.IntMsgInfoRelaxed( - ihrDisabled = true, - bounce = gift.bounceable, - bounced = false, - src = AddrNone, - dest = gift.destination, - value = gift.coins, - ihrFee = Coins(), - fwdFee = Coins(), - createdLt = 0u, - createdAt = 0u - ) + val info = when (val dest = gift.destination) { + is MsgAddressInt -> { + CommonMsgInfoRelaxed.IntMsgInfoRelaxed( + ihrDisabled = true, + bounce = gift.bounceable, + bounced = false, + src = AddrNone, + dest = dest, + value = gift.coins, + ihrFee = Coins(), + fwdFee = Coins(), + createdLt = 0u, + createdAt = 0u + ) + } + is MsgAddressExt -> { + CommonMsgInfoRelaxed.ExtOutMsgInfoRelaxed( + src = AddrNone, + dest = dest, + createdLt = 0u, + createdAt = 0u + ) + } + } val init = Maybe.of(gift.messageData.stateInit?.let { Either.of>(null, it) diff --git a/contract/src/wallet/WalletV4R2Contract.kt b/contract/src/wallet/WalletV4R2Contract.kt new file mode 100644 index 00000000..0063e38a --- /dev/null +++ b/contract/src/wallet/WalletV4R2Contract.kt @@ -0,0 +1,233 @@ +package org.ton.contract.wallet + +import org.ton.api.pk.PrivateKeyEd25519 +import org.ton.api.pub.PublicKeyEd25519 +import org.ton.bitstring.BitString +import org.ton.block.* +import org.ton.boc.BagOfCells +import org.ton.cell.Cell +import org.ton.cell.CellBuilder +import org.ton.cell.CellSlice +import org.ton.cell.buildCell +import org.ton.contract.exception.AccountNotInitializedException +import org.ton.contract.wallet.WalletContract.Companion.DEFAULT_WALLET_ID +import org.ton.crypto.encoding.base64 +import org.ton.hashmap.HashMapE +import org.ton.lite.client.LiteClient +import org.ton.tl.asByteString +import org.ton.tlb.* +import org.ton.tlb.constructor.AnyTlbConstructor + +public class WalletV4R2Contract( + override val liteClient: LiteClient, + override val address: AddrStd +) : WalletContract { + public suspend fun getWalletData(): Data { + val data = + ((liteClient.getAccountState(address).account.value as? AccountInfo)?.storage?.state as? AccountActive)?.value?.data?.value?.value?.beginParse() + require(data != null) { throw AccountNotInitializedException(address) } + return Data.loadTlb(data) + } + + public suspend fun getWalletDataOrNull(): Data? = try { + getWalletData() + } catch (e: AccountNotInitializedException) { + null + } + + public suspend fun transfer( + privateKey: PrivateKeyEd25519, + walletData: Data?, + transfer: WalletTransfer + ) { + val seqno = walletData?.seqno ?: 0 + val walletId = walletData?.subWalletId ?: DEFAULT_WALLET_ID + val stateInit = if (walletData == null) stateInit( + Data( + seqno, + walletId, + privateKey.publicKey(), + ) + ).value else null + val message = transferMessage( + address = address, + stateInit = stateInit, + privateKey = privateKey, + walletId = walletId, + validUntil = Int.MAX_VALUE, + seqno = seqno, + transfer + ) + liteClient.sendMessage(message) + } + + public override suspend fun transfer( + privateKey: PrivateKeyEd25519, + transfer: WalletTransfer + ): Unit = transfer(privateKey, getWalletDataOrNull(), transfer) + + public data class Data( + val seqno: Int, + val subWalletId: Int, + val publicKey: PublicKeyEd25519, + val plugins: HashMapE + ) { + public constructor(seqno: Int, subWalletId: Int, publicKey: PublicKeyEd25519) : this( + seqno, + subWalletId, + publicKey, + HashMapE.empty() + ) + public constructor(seqno: Int, publicKey: PublicKeyEd25519) : this(seqno, DEFAULT_WALLET_ID, publicKey) + + public companion object : TlbConstructor( + "wallet.v4r2.data seqno:uint32 sub_wallet_id:int32 public_key:bits256 = WalletV4R2Data" + ) { + override fun loadTlb(cellSlice: CellSlice): Data { + val seqno = cellSlice.loadUInt(32).toInt() + val subWalletId = cellSlice.loadUInt(32).toInt() + val publicKey = PublicKeyEd25519(cellSlice.loadBits(256).toByteArray().asByteString()) + val plugins = cellSlice.loadTlb(HashMapE.tlbCodec(8 + 256, AnyTlbConstructor)) + return Data(seqno, subWalletId, publicKey, plugins) + } + + override fun storeTlb(cellBuilder: CellBuilder, value: Data) { + cellBuilder.storeUInt(value.seqno, 32) + cellBuilder.storeUInt(value.subWalletId, 32) + cellBuilder.storeBytes(value.publicKey.key.toByteArray()) + cellBuilder.storeBit(false) + } + } + } + + public companion object { + public val CODE: Cell by lazy(LazyThreadSafetyMode.PUBLICATION) { + BagOfCells(base64("te6cckECFAEAAtQAART/APSkE/S88sgLAQIBIAIDAgFIBAUE+PKDCNcYINMf0x/THwL4I7vyZO1E0NMf0x/T//QE0VFDuvKhUVG68qIF+QFUEGT5EPKj+AAkpMjLH1JAyx9SMMv/UhD0AMntVPgPAdMHIcAAn2xRkyDXSpbTB9QC+wDoMOAhwAHjACHAAuMAAcADkTDjDQOkyMsfEssfy/8QERITAubQAdDTAyFxsJJfBOAi10nBIJJfBOAC0x8hghBwbHVnvSKCEGRzdHK9sJJfBeAD+kAwIPpEAcjKB8v/ydDtRNCBAUDXIfQEMFyBAQj0Cm+hMbOSXwfgBdM/yCWCEHBsdWe6kjgw4w0DghBkc3RyupJfBuMNBgcCASAICQB4AfoA9AQw+CdvIjBQCqEhvvLgUIIQcGx1Z4MesXCAGFAEywUmzxZY+gIZ9ADLaRfLH1Jgyz8gyYBA+wAGAIpQBIEBCPRZMO1E0IEBQNcgyAHPFvQAye1UAXKwjiOCEGRzdHKDHrFwgBhQBcsFUAPPFiP6AhPLassfyz/JgED7AJJfA+ICASAKCwBZvSQrb2omhAgKBrkPoCGEcNQICEekk30pkQzmkD6f+YN4EoAbeBAUiYcVnzGEAgFYDA0AEbjJftRNDXCx+AA9sp37UTQgQFA1yH0BDACyMoHy//J0AGBAQj0Cm+hMYAIBIA4PABmtznaiaEAga5Drhf/AABmvHfaiaEAQa5DrhY/AAG7SB/oA1NQi+QAFyMoHFcv/ydB3dIAYyMsFywIizxZQBfoCFMtrEszMyXP7AMhAFIEBCPRR8qcCAHCBAQjXGPoA0z/IVCBHgQEI9FHyp4IQbm90ZXB0gBjIywXLAlAGzxZQBPoCFMtqEssfyz/Jc/sAAgBsgQEI1xj6ANM/MFIkgQEI9Fnyp4IQZHN0cnB0gBjIywXLAlAFzxZQA/oCE8tqyx8Syz/Jc/sAAAr0AMntVGliJeU=")).first() + } + + public const val OP_SEND: Int = 0 + + public fun address(privateKey: PrivateKeyEd25519, workchainId: Int = 0): AddrStd { + val stateInitRef = stateInit(Data(0, privateKey.publicKey())) + val hash = stateInitRef.hash() + return AddrStd(workchainId, hash) + } + + public fun stateInit( + data: Data + ): CellRef { + val dataCell = buildCell { + storeTlb(Data, data) + } + return CellRef( + StateInit(CODE, dataCell), + StateInit + ) + } + + public fun transferMessage( + address: MsgAddressInt, + stateInit: StateInit?, + privateKey: PrivateKeyEd25519, + walletId: Int, + validUntil: Int, + seqno: Int, + vararg transfers: WalletTransfer + ): Message { + val info = ExtInMsgInfo( + src = AddrNone, + dest = address, + importFee = Coins() + ) + val maybeStateInit = + Maybe.of(stateInit?.let { Either.of>(null, CellRef(it)) }) + val transferBody = createTransferMessageBody( + privateKey, + walletId, + validUntil, + seqno, + *transfers + ) + val body = Either.of>(null, CellRef(transferBody)) + return Message( + info = info, + init = maybeStateInit, + body = body + ) + } + + private fun createTransferMessageBody( + privateKey: PrivateKeyEd25519, + walletId: Int, + validUntil: Int, + seqno: Int, + vararg gifts: WalletTransfer + ): Cell { + val unsignedBody = CellBuilder.createCell { + storeUInt(walletId, 32) + storeUInt(validUntil, 32) + storeUInt(seqno, 32) + storeUInt(OP_SEND, 8) + for (gift in gifts) { + var sendMode = 3 + if (gift.sendMode > -1) { + sendMode = gift.sendMode + } + val intMsg = CellRef(createIntMsg(gift)) + + storeUInt(sendMode, 8) + storeRef(MessageRelaxed.tlbCodec(AnyTlbConstructor), intMsg) + } + } + val signature = BitString(privateKey.sign(unsignedBody.hash().toByteArray())) + + return CellBuilder.createCell { + storeBits(signature) + storeBits(unsignedBody.bits) + storeRefs(unsignedBody.refs) + } + } + + private fun createIntMsg(gift: WalletTransfer): MessageRelaxed { + val info = when (val dest = gift.destination) { + is MsgAddressInt -> { + CommonMsgInfoRelaxed.IntMsgInfoRelaxed( + ihrDisabled = true, + bounce = gift.bounceable, + bounced = false, + src = AddrNone, + dest = dest, + value = gift.coins, + ihrFee = Coins(), + fwdFee = Coins(), + createdLt = 0u, + createdAt = 0u + ) + } + is MsgAddressExt -> { + CommonMsgInfoRelaxed.ExtOutMsgInfoRelaxed( + src = AddrNone, + dest = dest, + createdLt = 0u, + createdAt = 0u + ) + } + } + + val init = Maybe.of(gift.messageData.stateInit?.let { + Either.of>(null, it) + }) + val bodyCell = gift.messageData.body + val body = if (bodyCell.isEmpty()) { + Either.of>(Cell.empty(), null) + } else { + Either.of>(null, CellRef(bodyCell)) + } + return MessageRelaxed( + info = info, + init = init, + body = body, + ) + } + } +} diff --git a/ton-kotlin-contract/src/commonTest/kotlin/org/ton/contract/SnakeDataTest.kt b/contract/test/SnakeDataTest.kt similarity index 100% rename from ton-kotlin-contract/src/commonTest/kotlin/org/ton/contract/SnakeDataTest.kt rename to contract/test/SnakeDataTest.kt diff --git a/ton-kotlin-contract/src/commonTest/kotlin/org/ton/contract/wallet/LiteClient.kt b/contract/test/wallet/LiteClient.kt similarity index 100% rename from ton-kotlin-contract/src/commonTest/kotlin/org/ton/contract/wallet/LiteClient.kt rename to contract/test/wallet/LiteClient.kt diff --git a/crypto/api/ton-kotlin-crypto.api b/crypto/api/ton-kotlin-crypto.api new file mode 100644 index 00000000..f417b5b7 --- /dev/null +++ b/crypto/api/ton-kotlin-crypto.api @@ -0,0 +1,298 @@ +public final class org/ton/crypto/AesCtr { + public fun ([B[B)V + public final fun doFinal ()[B + public final fun doFinal ([B)[B + public final fun update ([B[B)[B + public static synthetic fun update$default (Lorg/ton/crypto/AesCtr;[B[BILjava/lang/Object;)[B +} + +public final class org/ton/crypto/Crc16Kt { + public static final fun crc16 (Ljava/lang/String;)I + public static final fun crc16 ([[B)I +} + +public final class org/ton/crypto/Crc32JvmKt { + public static final fun crc32 ([BII)I + public static synthetic fun crc32$default ([BIIILjava/lang/Object;)I + public static final fun crc32c ([BII)I + public static synthetic fun crc32c$default ([BIIILjava/lang/Object;)I +} + +public abstract interface class org/ton/crypto/Decryptor { + public abstract fun decrypt ([B)[B + public abstract fun sign ([B)[B +} + +public final class org/ton/crypto/DecryptorAes : org/ton/crypto/Decryptor { + public fun ([B)V + public fun decrypt ([B)[B + public fun sign ([B)[B +} + +public final class org/ton/crypto/DecryptorEd25519 : org/ton/crypto/Decryptor { + public fun (Lio/github/andreypfau/curve25519/ed25519/Ed25519PrivateKey;Lio/github/andreypfau/curve25519/ed25519/Ed25519PublicKey;)V + public synthetic fun (Lio/github/andreypfau/curve25519/ed25519/Ed25519PrivateKey;Lio/github/andreypfau/curve25519/ed25519/Ed25519PublicKey;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun ([B)V + public fun decrypt ([B)[B + public fun sign ([B)[B +} + +public final class org/ton/crypto/DecryptorFail : org/ton/crypto/Decryptor { + public static final field INSTANCE Lorg/ton/crypto/DecryptorFail; + public fun decrypt ([B)[B + public fun sign ([B)[B +} + +public final class org/ton/crypto/DecryptorNone : org/ton/crypto/Decryptor { + public static final field INSTANCE Lorg/ton/crypto/DecryptorNone; + public fun decrypt ([B)[B + public fun sign ([B)[B +} + +public final class org/ton/crypto/Ed25519 { + public static final field INSTANCE Lorg/ton/crypto/Ed25519; + public static final field KEY_SIZE_BYTES I + public static final fun privateKey (Lkotlin/random/Random;)[B + public static synthetic fun privateKey$default (Lkotlin/random/Random;ILjava/lang/Object;)[B + public static final fun publicKey ([B)[B + public static final fun sharedKey ([B[B)[B + public static final fun sign ([B[B)[B + public static final fun verify ([B[B[B)Z +} + +public abstract interface class org/ton/crypto/Encryptor { + public abstract fun encrypt ([B)[B + public abstract fun verify ([B[B)Z +} + +public final class org/ton/crypto/EncryptorAes : org/ton/crypto/Encryptor { + public fun ([B)V + public fun encrypt ([B)[B + public fun verify ([B[B)Z +} + +public final class org/ton/crypto/EncryptorEd25519 : org/ton/crypto/Encryptor { + public fun (Lio/github/andreypfau/curve25519/ed25519/Ed25519PublicKey;Lio/github/andreypfau/curve25519/ed25519/Ed25519PrivateKey;)V + public synthetic fun (Lio/github/andreypfau/curve25519/ed25519/Ed25519PublicKey;Lio/github/andreypfau/curve25519/ed25519/Ed25519PrivateKey;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun ([B)V + public fun encrypt ([B)[B + public fun verify ([B[B)Z +} + +public final class org/ton/crypto/EncryptorFail : org/ton/crypto/Encryptor { + public static final field INSTANCE Lorg/ton/crypto/EncryptorFail; + public fun encrypt ([B)[B + public fun verify ([B[B)Z +} + +public final class org/ton/crypto/EncryptorNone : org/ton/crypto/Encryptor { + public static final field INSTANCE Lorg/ton/crypto/EncryptorNone; + public fun encrypt ([B)[B + public fun verify ([B[B)Z +} + +public final class org/ton/crypto/HexByteArraySerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lorg/ton/crypto/HexByteArraySerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)[B + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;[B)V +} + +public final class org/ton/crypto/HexKt { + public static final fun decodeHex (Ljava/lang/String;)[B + public static final fun encodeHex ([B)Ljava/lang/String; + public static final fun hex (Ljava/lang/Iterable;)Ljava/lang/String; + public static final fun hex (Ljava/lang/String;)[B + public static final fun hex ([B)Ljava/lang/String; + public static final fun hex ([J)Ljava/lang/String; +} + +public final class org/ton/crypto/SecureRandom : kotlin/random/Random { + public static final field INSTANCE Lorg/ton/crypto/SecureRandom; + public fun nextBits (I)I + public fun nextBytes ([BII)[B + public fun nextInt ()I +} + +public abstract interface class org/ton/crypto/digest/Digest { + public static final field Companion Lorg/ton/crypto/digest/Digest$Companion; + public fun build ()[B + public fun build ([B)[B + public abstract fun build ([BI)[B + public abstract fun getAlgorithmName ()Ljava/lang/String; + public abstract fun getDigestSize ()I + public fun plusAssign ([B)V + public abstract fun reset ()V + public fun update ([B)V + public abstract fun update ([BII)V +} + +public final class org/ton/crypto/digest/Digest$Companion { + public final fun sha256 ()Lorg/ton/crypto/digest/Digest; + public final fun sha512 ()Lorg/ton/crypto/digest/Digest; +} + +public final class org/ton/crypto/digest/DigestJvmKt { + public static final fun Digest (Ljava/lang/String;)Lorg/ton/crypto/digest/Digest; + public static final fun sha256 ([B)[B + public static final fun sha512 ([B)[B +} + +public abstract class org/ton/crypto/digest/md4/GeneralDigest : org/ton/crypto/digest/Digest { + public fun ()V + public final fun finish ()V + protected abstract fun processBlock ()V + protected abstract fun processLength (J)V + protected abstract fun processWord ([BI)V + public fun reset ()V + public final fun update (B)V + public fun update ([BII)V +} + +public abstract class org/ton/crypto/digest/sha2/LongDigest : org/ton/crypto/digest/Digest { + public fun ()V + protected final fun adjustByteCounts ()V + public final fun finish ()V + protected final fun getH1 ()J + protected final fun getH2 ()J + protected final fun getH3 ()J + protected final fun getH4 ()J + protected final fun getH5 ()J + protected final fun getH6 ()J + protected final fun getH7 ()J + protected final fun getH8 ()J + protected final fun processBlock ()V + protected final fun processLength (JJ)V + protected final fun processWord ([BI)V + public fun reset ()V + protected final fun setH1 (J)V + protected final fun setH2 (J)V + protected final fun setH3 (J)V + protected final fun setH4 (J)V + protected final fun setH5 (J)V + protected final fun setH6 (J)V + protected final fun setH7 (J)V + protected final fun setH8 (J)V + public final fun update (B)V + public fun update ([BII)V +} + +public final class org/ton/crypto/digest/sha2/SHA256Digest : org/ton/crypto/digest/md4/GeneralDigest { + public static final field ALGORITHM_NAME Ljava/lang/String; + public static final field Companion Lorg/ton/crypto/digest/sha2/SHA256Digest$Companion; + public static final field SIZE_BITS I + public static final field SIZE_BYTES I + public fun ()V + public fun build ([BI)[B + public fun getAlgorithmName ()Ljava/lang/String; + public fun getDigestSize ()I + public fun reset ()V +} + +public final class org/ton/crypto/digest/sha2/SHA256Digest$Companion { +} + +public final class org/ton/crypto/digest/sha2/SHA512Digest : org/ton/crypto/digest/sha2/LongDigest { + public static final field ALGORITHM_NAME Ljava/lang/String; + public static final field Companion Lorg/ton/crypto/digest/sha2/SHA512Digest$Companion; + public static final field SIZE_BITS I + public static final field SIZE_BYTES I + public fun ()V + public fun build ([BI)[B + public fun getAlgorithmName ()Ljava/lang/String; + public fun getDigestSize ()I + public fun reset ()V +} + +public final class org/ton/crypto/digest/sha2/SHA512Digest$Companion { +} + +public final class org/ton/crypto/encoding/Base64ByteArraySerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lorg/ton/crypto/encoding/Base64ByteArraySerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)[B + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;[B)V +} + +public final class org/ton/crypto/encoding/Base64Kt { + public static final fun base64 (Ljava/lang/String;)[B + public static final fun base64 ([B)Ljava/lang/String; + public static final fun base64url (Ljava/lang/String;)[B + public static final fun base64url ([B)Ljava/lang/String; +} + +public abstract class org/ton/crypto/kdf/PBEParametersGenerator { + public fun ()V + public fun ([B[BI)V + public abstract fun generateDerivedMacParameters (I)[B + public abstract fun generateDerivedParameters (I)[B + public final fun getIterationCount ()I + public final fun getPassword ()[B + public final fun getSalt ()[B + public final fun init ([B[BI)Lorg/ton/crypto/kdf/PBEParametersGenerator; + protected final fun setIterationCount (I)V + protected final fun setPassword ([B)V + protected final fun setSalt ([B)V +} + +public final class org/ton/crypto/kdf/PKCSS2ParametersGenerator : org/ton/crypto/kdf/PBEParametersGenerator { + public fun (Lorg/ton/crypto/digest/Digest;)V + public fun (Lorg/ton/crypto/digest/Digest;[B[BI)V + public fun (Lorg/ton/crypto/mac/hmac/HMac;)V + public fun (Lorg/ton/crypto/mac/hmac/HMac;[B[BI)V + public fun generateDerivedMacParameters (I)[B + public fun generateDerivedParameters (I)[B +} + +public abstract interface class org/ton/crypto/mac/Mac { + public fun build ()[B + public fun build ([B)[B + public abstract fun build ([BI)[B + public abstract fun getAlgorithmName ()Ljava/lang/String; + public abstract fun getMacSize ()I + public abstract fun init ([B)Lorg/ton/crypto/mac/Mac; + public fun plusAssign ([B)V + public abstract fun reset ()V + public fun update ([B)V + public abstract fun update ([BII)V +} + +public final class org/ton/crypto/mac/hmac/HMac : org/ton/crypto/mac/Mac { + public fun (Lorg/ton/crypto/digest/Digest;)V + public fun (Lorg/ton/crypto/digest/Digest;[B)V + public fun build ([BI)[B + public fun getAlgorithmName ()Ljava/lang/String; + public fun getMacSize ()I + public synthetic fun init ([B)Lorg/ton/crypto/mac/Mac; + public fun init ([B)Lorg/ton/crypto/mac/hmac/HMac; + public fun reset ()V + public fun update ([BII)V +} + +public final class org/ton/mnemonic/Mnemonic { + public static final field DEFAULT_BASIC_ITERATIONS I + public static final field DEFAULT_BASIC_SALT Ljava/lang/String; + public static final field DEFAULT_ITERATIONS I + public static final field DEFAULT_PASSWORD_ITERATIONS I + public static final field DEFAULT_PASSWORD_SALT Ljava/lang/String; + public static final field DEFAULT_SALT Ljava/lang/String; + public static final field DEFAULT_WORD_COUNT I + public static final field INSTANCE Lorg/ton/mnemonic/Mnemonic; + public static final fun generate (Ljava/lang/String;ILjava/util/List;Lkotlin/random/Random;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun generate$default (Ljava/lang/String;ILjava/util/List;Lkotlin/random/Random;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun isBasicSeed ([B)Z + public static final fun isPasswordNeeded (Ljava/util/List;)Z + public static final fun isPasswordSeed ([B)Z + public static final fun isValid (Ljava/util/List;Ljava/lang/String;Ljava/util/List;)Z + public static synthetic fun isValid$default (Ljava/util/List;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Z + public final fun mnemonicWords ()Ljava/util/List; + public static final fun toEntropy (Ljava/util/List;Ljava/lang/String;)[B + public static synthetic fun toEntropy$default (Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)[B + public static final fun toSeed (Ljava/util/List;Ljava/lang/String;)[B + public static synthetic fun toSeed$default (Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)[B +} + diff --git a/crypto/build.gradle.kts b/crypto/build.gradle.kts new file mode 100644 index 00000000..82ce2de6 --- /dev/null +++ b/crypto/build.gradle.kts @@ -0,0 +1,17 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(libs.ktor.utils) +// api(libs.crypto) + implementation(libs.curve25519) + implementation(libs.serialization.core) + } + } + } +} diff --git a/ton-kotlin-crypto/common/src/AesCtr.kt b/crypto/src/AesCtr.kt similarity index 98% rename from ton-kotlin-crypto/common/src/AesCtr.kt rename to crypto/src/AesCtr.kt index 98c39bf0..45695008 100644 --- a/ton-kotlin-crypto/common/src/AesCtr.kt +++ b/crypto/src/AesCtr.kt @@ -2,6 +2,7 @@ package org.ton.crypto import org.ton.crypto.digest.sha256 +@Deprecated("Use kotlinx-crypto instead") public expect class AesCtr(key: ByteArray, iv: ByteArray) { public fun update(input: ByteArray, output: ByteArray = ByteArray(input.size)): ByteArray public fun doFinal(output: ByteArray): ByteArray diff --git a/ton-kotlin-crypto/common/src/Decryptor.kt b/crypto/src/Decryptor.kt similarity index 100% rename from ton-kotlin-crypto/common/src/Decryptor.kt rename to crypto/src/Decryptor.kt diff --git a/ton-kotlin-crypto/common/src/Ed25519.kt b/crypto/src/Ed25519.kt similarity index 100% rename from ton-kotlin-crypto/common/src/Ed25519.kt rename to crypto/src/Ed25519.kt diff --git a/ton-kotlin-crypto/common/src/Encryptor.kt b/crypto/src/Encryptor.kt similarity index 100% rename from ton-kotlin-crypto/common/src/Encryptor.kt rename to crypto/src/Encryptor.kt diff --git a/crypto/src/HexByteArraySerializer.kt b/crypto/src/HexByteArraySerializer.kt new file mode 100644 index 00000000..8020e77a --- /dev/null +++ b/crypto/src/HexByteArraySerializer.kt @@ -0,0 +1,18 @@ +package org.ton.crypto + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.descriptors.serialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +@OptIn(ExperimentalStdlibApi::class) +public object HexByteArraySerializer : KSerializer { + override val descriptor: SerialDescriptor = serialDescriptor() + + override fun deserialize(decoder: Decoder): ByteArray = decoder.decodeString().hexToByteArray() + + override fun serialize(encoder: Encoder, value: ByteArray) { + encoder.encodeString(value.toHexString()) + } +} diff --git a/ton-kotlin-crypto/common/src/SecureRandom.kt b/crypto/src/SecureRandom.kt similarity index 100% rename from ton-kotlin-crypto/common/src/SecureRandom.kt rename to crypto/src/SecureRandom.kt diff --git a/ton-kotlin-crypto/common/src/crc16.kt b/crypto/src/crc16.kt similarity index 100% rename from ton-kotlin-crypto/common/src/crc16.kt rename to crypto/src/crc16.kt diff --git a/ton-kotlin-crypto/common/src/crc32.kt b/crypto/src/crc32.kt similarity index 97% rename from ton-kotlin-crypto/common/src/crc32.kt rename to crypto/src/crc32.kt index 0c203aef..0b31a79f 100644 --- a/ton-kotlin-crypto/common/src/crc32.kt +++ b/crypto/src/crc32.kt @@ -13,7 +13,10 @@ internal val CASTAGNOLI_TABLE by lazy { crc32slicingTable(0x82f63b78.toInt()) } +@Deprecated("Use kotlinx-crypto instead") public expect fun crc32(bytes: ByteArray, fromIndex: Int = 0, toIndex: Int = bytes.size - fromIndex): Int + +@Deprecated("Use kotlinx-crypto instead") public expect fun crc32c(bytes: ByteArray, fromIndex: Int = 0, toIndex: Int = bytes.size - fromIndex): Int private fun crc32table(poly: Int, table: IntArray = IntArray(256)): IntArray { diff --git a/ton-kotlin-crypto/common/src/digest/Digest.kt b/crypto/src/digest/Digest.kt similarity index 84% rename from ton-kotlin-crypto/common/src/digest/Digest.kt rename to crypto/src/digest/Digest.kt index 6c66f318..6450b046 100644 --- a/ton-kotlin-crypto/common/src/digest/Digest.kt +++ b/crypto/src/digest/Digest.kt @@ -1,5 +1,6 @@ package org.ton.crypto.digest +@Deprecated("Use kotlinx-crypto instead") public interface Digest { public val algorithmName: String public val digestSize: Int @@ -21,8 +22,11 @@ public interface Digest { } } +@Deprecated("Use kotlinx-crypto instead") public expect fun Digest(algorithm: String): Digest +@Deprecated("Use kotlinx-crypto instead") public expect fun sha256(bytes: ByteArray): ByteArray +@Deprecated("Use kotlinx-crypto instead") public expect fun sha512(bytes: ByteArray): ByteArray diff --git a/ton-kotlin-crypto/common/src/digest/md4/GeneralDigest.kt b/crypto/src/digest/md4/GeneralDigest.kt similarity index 97% rename from ton-kotlin-crypto/common/src/digest/md4/GeneralDigest.kt rename to crypto/src/digest/md4/GeneralDigest.kt index 2e4867bc..ed7a12a6 100644 --- a/ton-kotlin-crypto/common/src/digest/md4/GeneralDigest.kt +++ b/crypto/src/digest/md4/GeneralDigest.kt @@ -6,6 +6,7 @@ import org.ton.crypto.digest.Digest * base implementation of MD4 family style digest as outlined in "Handbook of Applied Cryptography", * pages 344 - 347. */ +@Deprecated("Use kotlinx-crypto instead") public abstract class GeneralDigest : Digest { private val xBuf = ByteArray(4) private var xBuffOff = 0 diff --git a/ton-kotlin-crypto/common/src/digest/sha2/LongDigest.kt b/crypto/src/digest/sha2/LongDigest.kt similarity index 99% rename from ton-kotlin-crypto/common/src/digest/sha2/LongDigest.kt rename to crypto/src/digest/sha2/LongDigest.kt index 5aa76be0..190acd40 100644 --- a/ton-kotlin-crypto/common/src/digest/sha2/LongDigest.kt +++ b/crypto/src/digest/sha2/LongDigest.kt @@ -5,6 +5,7 @@ import org.ton.crypto.digest.Digest /** * Base class for SHA-384 and SHA-512. */ +@Deprecated("Use kotlinx-crypto instead") public abstract class LongDigest : Digest { private val xBuf = ByteArray(8) private var xBufOff: Int = 0 diff --git a/ton-kotlin-crypto/common/src/digest/sha2/SHA256Digest.kt b/crypto/src/digest/sha2/SHA256Digest.kt similarity index 99% rename from ton-kotlin-crypto/common/src/digest/sha2/SHA256Digest.kt rename to crypto/src/digest/sha2/SHA256Digest.kt index 21957337..ea343af9 100644 --- a/ton-kotlin-crypto/common/src/digest/sha2/SHA256Digest.kt +++ b/crypto/src/digest/sha2/SHA256Digest.kt @@ -13,6 +13,7 @@ import org.ton.crypto.digest.md4.GeneralDigest * SHA-384 1024 64 384 * SHA-512 1024 64 512 */ +@Deprecated("Use kotlinx-crypto instead") public class SHA256Digest : GeneralDigest() { private var h1 = 0 private var h2 = 0 diff --git a/ton-kotlin-crypto/common/src/digest/sha2/SHA512Digest.kt b/crypto/src/digest/sha2/SHA512Digest.kt similarity index 97% rename from ton-kotlin-crypto/common/src/digest/sha2/SHA512Digest.kt rename to crypto/src/digest/sha2/SHA512Digest.kt index 061bfb88..2a28d4d6 100644 --- a/ton-kotlin-crypto/common/src/digest/sha2/SHA512Digest.kt +++ b/crypto/src/digest/sha2/SHA512Digest.kt @@ -12,6 +12,7 @@ import io.ktor.utils.io.bits.* * SHA-384 1024 64 384 * SHA-512 1024 64 512 */ +@Deprecated("Use kotlinx-crypto instead") public class SHA512Digest : LongDigest() { init { reset() diff --git a/ton-kotlin-crypto/common/src/encoding/base64.kt b/crypto/src/encoding/base64.kt similarity index 96% rename from ton-kotlin-crypto/common/src/encoding/base64.kt rename to crypto/src/encoding/base64.kt index 4b7592c1..f91b8aae 100644 --- a/ton-kotlin-crypto/common/src/encoding/base64.kt +++ b/crypto/src/encoding/base64.kt @@ -11,14 +11,18 @@ private val BASE64 = private val BASE64_URL = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".encodeToByteArray() +@Deprecated("Use kotlin stdlib instead") public fun base64(string: String): ByteArray = string.commonDecodeBase64ToArray() ?: throw IllegalArgumentException("Can't decode string: '${string.replace("\n", "")}'") +@Deprecated("Use kotlin stdlib instead") public fun base64(byteArray: ByteArray): String = byteArray.commonEncodeBse64(BASE64) +@Deprecated("Use kotlin stdlib instead") public fun base64url(string: String): ByteArray = string.commonDecodeBase64ToArray() ?: throw IllegalArgumentException("Can't decode string: '${string.replace("\n", "")}'") +@Deprecated("Use kotlin stdlib instead") public fun base64url(byteArray: ByteArray): String = byteArray.commonEncodeBse64(BASE64_URL) public object Base64ByteArraySerializer : KSerializer { diff --git a/crypto/src/hex.kt b/crypto/src/hex.kt new file mode 100644 index 00000000..fdfc5a4c --- /dev/null +++ b/crypto/src/hex.kt @@ -0,0 +1,35 @@ +package org.ton.crypto + +/** + * Encode [bytes] as a HEX string with no spaces, newlines and `0x` prefixes. + */ +@OptIn(ExperimentalStdlibApi::class) +@Deprecated("Use kotlin stdlib instead") +public fun hex(bytes: ByteArray): String = bytes.toHexString() + +@OptIn(ExperimentalStdlibApi::class) +@Deprecated("Use kotlin stdlib instead") +public fun hex(bytes: Iterable): String = bytes.toList().toByteArray().toHexString() + +@OptIn(ExperimentalStdlibApi::class) +@Deprecated("Use kotlin stdlib instead") +public fun hex(vararg longs: Long): String = buildString { + longs.asSequence().map { + it.toHexString() + }.joinToString("") +} + +/** + * Decode bytes from HEX string. It should be no spaces and `0x` prefixes. + */ +@OptIn(ExperimentalStdlibApi::class) +@Deprecated("Use kotlin stdlib instead") +public fun hex(s: String): ByteArray = s.hexToByteArray() + +@OptIn(ExperimentalStdlibApi::class) +@Deprecated("Use kotlin stdlib instead") +public fun String.decodeHex(): ByteArray = hexToByteArray() + +@OptIn(ExperimentalStdlibApi::class) +@Deprecated("Use kotlin stdlib instead") +public fun ByteArray.encodeHex(): String = toHexString() diff --git a/ton-kotlin-crypto/common/src/kdf/PBEParametersGenerator.kt b/crypto/src/kdf/PBEParametersGenerator.kt similarity index 100% rename from ton-kotlin-crypto/common/src/kdf/PBEParametersGenerator.kt rename to crypto/src/kdf/PBEParametersGenerator.kt diff --git a/ton-kotlin-crypto/common/src/kdf/PKCSS2ParametersGenerator.kt b/crypto/src/kdf/PKCSS2ParametersGenerator.kt similarity index 100% rename from ton-kotlin-crypto/common/src/kdf/PKCSS2ParametersGenerator.kt rename to crypto/src/kdf/PKCSS2ParametersGenerator.kt diff --git a/ton-kotlin-crypto/common/src/mac/Mac.kt b/crypto/src/mac/Mac.kt similarity index 100% rename from ton-kotlin-crypto/common/src/mac/Mac.kt rename to crypto/src/mac/Mac.kt diff --git a/ton-kotlin-crypto/common/src/mac/hmac/HMac.kt b/crypto/src/mac/hmac/HMac.kt similarity index 100% rename from ton-kotlin-crypto/common/src/mac/hmac/HMac.kt rename to crypto/src/mac/hmac/HMac.kt diff --git a/ton-kotlin-mnemonic/src/commonMain/kotlin/org/ton/mnemonic/Mnemonic.kt b/crypto/src/mnemonic/Mnemonic.kt similarity index 98% rename from ton-kotlin-mnemonic/src/commonMain/kotlin/org/ton/mnemonic/Mnemonic.kt rename to crypto/src/mnemonic/Mnemonic.kt index c3fb1c4e..652c7f6e 100644 --- a/ton-kotlin-mnemonic/src/commonMain/kotlin/org/ton/mnemonic/Mnemonic.kt +++ b/crypto/src/mnemonic/Mnemonic.kt @@ -6,6 +6,7 @@ import org.ton.crypto.SecureRandom import org.ton.crypto.digest.Digest import org.ton.crypto.kdf.PKCSS2ParametersGenerator import org.ton.crypto.mac.hmac.HMac +import org.ton.crypto.mnemonic.BIP39_ENGLISH import org.ton.mnemonic.Mnemonic.DEFAULT_BASIC_ITERATIONS import org.ton.mnemonic.Mnemonic.DEFAULT_BASIC_SALT import org.ton.mnemonic.Mnemonic.DEFAULT_PASSWORD_ITERATIONS @@ -43,7 +44,7 @@ public object Mnemonic { public const val DEFAULT_WORD_COUNT: Int = 24 - public fun mnemonicWords(): List = MNEMONIC_WORD_LIST + public fun mnemonicWords(): List = BIP39_ENGLISH @OptIn(DelicateCoroutinesApi::class) @JvmStatic diff --git a/ton-kotlin-mnemonic/src/commonMain/kotlin/org/ton/mnemonic/MnemonicWordList.kt b/crypto/src/mnemonic/bip39.kt similarity index 99% rename from ton-kotlin-mnemonic/src/commonMain/kotlin/org/ton/mnemonic/MnemonicWordList.kt rename to crypto/src/mnemonic/bip39.kt index 72e1d0bc..c379e25c 100644 --- a/ton-kotlin-mnemonic/src/commonMain/kotlin/org/ton/mnemonic/MnemonicWordList.kt +++ b/crypto/src/mnemonic/bip39.kt @@ -1,6 +1,6 @@ -package org.ton.mnemonic +package org.ton.crypto.mnemonic -internal val MNEMONIC_WORD_LIST +internal val BIP39_ENGLISH get() = listOf( "abandon", "ability", diff --git a/ton-kotlin-crypto/darwin/src/SecureRandom.kt b/crypto/src@apple/SecureRandom.kt similarity index 85% rename from ton-kotlin-crypto/darwin/src/SecureRandom.kt rename to crypto/src@apple/SecureRandom.kt index dc9cb11c..4b52549a 100644 --- a/ton-kotlin-crypto/darwin/src/SecureRandom.kt +++ b/crypto/src@apple/SecureRandom.kt @@ -6,6 +6,7 @@ import platform.posix.fopen import platform.posix.fread import kotlin.random.Random +@OptIn(ExperimentalForeignApi::class, UnsafeNumber::class) public actual object SecureRandom : Random() { override fun nextBits(bitCount: Int): Int = nextInt().takeUpperBits(bitCount) @@ -20,7 +21,7 @@ public actual object SecureRandom : Random() { override fun nextBytes(array: ByteArray, fromIndex: Int, toIndex: Int): ByteArray { val fd = fopen("/dev/urandom", "rb") ?: error("Can't open /dev/urandom") array.usePinned { - fread(it.addressOf(fromIndex), 1, (toIndex - fromIndex).convert(), fd) + fread(it.addressOf(fromIndex), 1u, (toIndex - fromIndex).convert(), fd) } fclose(fd) return array diff --git a/ton-kotlin-crypto/jvm/src/AesCtr.kt b/crypto/src@jvm/AesCtr.kt similarity index 100% rename from ton-kotlin-crypto/jvm/src/AesCtr.kt rename to crypto/src@jvm/AesCtr.kt diff --git a/ton-kotlin-crypto/jvm/src/SecureRandom.kt b/crypto/src@jvm/SecureRandom.kt similarity index 100% rename from ton-kotlin-crypto/jvm/src/SecureRandom.kt rename to crypto/src@jvm/SecureRandom.kt diff --git a/ton-kotlin-crypto/jvm/src/crc32.kt b/crypto/src@jvm/crc32.kt similarity index 100% rename from ton-kotlin-crypto/jvm/src/crc32.kt rename to crypto/src@jvm/crc32.kt diff --git a/ton-kotlin-crypto/jvm/src/digest/DigestJvm.kt b/crypto/src@jvm/digest/DigestJvm.kt similarity index 100% rename from ton-kotlin-crypto/jvm/src/digest/DigestJvm.kt rename to crypto/src@jvm/digest/DigestJvm.kt diff --git a/ton-kotlin-crypto/linux/src/SecureRandom.kt b/crypto/src@linux/SecureRandom.kt similarity index 87% rename from ton-kotlin-crypto/linux/src/SecureRandom.kt rename to crypto/src@linux/SecureRandom.kt index dc9cb11c..eb1ade2b 100644 --- a/ton-kotlin-crypto/linux/src/SecureRandom.kt +++ b/crypto/src@linux/SecureRandom.kt @@ -6,6 +6,7 @@ import platform.posix.fopen import platform.posix.fread import kotlin.random.Random +@OptIn(ExperimentalForeignApi::class) public actual object SecureRandom : Random() { override fun nextBits(bitCount: Int): Int = nextInt().takeUpperBits(bitCount) @@ -20,7 +21,7 @@ public actual object SecureRandom : Random() { override fun nextBytes(array: ByteArray, fromIndex: Int, toIndex: Int): ByteArray { val fd = fopen("/dev/urandom", "rb") ?: error("Can't open /dev/urandom") array.usePinned { - fread(it.addressOf(fromIndex), 1, (toIndex - fromIndex).convert(), fd) + fread(it.addressOf(fromIndex), 1u, (toIndex - fromIndex).convert(), fd) } fclose(fd) return array diff --git a/ton-kotlin-crypto/mingw/src/SecureRandom.kt b/crypto/src@mingw/SecureRandom.kt similarity index 86% rename from ton-kotlin-crypto/mingw/src/SecureRandom.kt rename to crypto/src@mingw/SecureRandom.kt index 0723d67d..e92dfd91 100644 --- a/ton-kotlin-crypto/mingw/src/SecureRandom.kt +++ b/crypto/src@mingw/SecureRandom.kt @@ -5,14 +5,15 @@ import platform.windows.BCRYPT_USE_SYSTEM_PREFERRED_RNG import platform.windows.BCryptGenRandom import kotlin.random.Random +@OptIn(ExperimentalForeignApi::class) public actual object SecureRandom : Random() { override fun nextInt(): Int = memScoped { val int = alloc() val result = BCryptGenRandom( null, int.ptr.reinterpret(), - 4, - BCRYPT_USE_SYSTEM_PREFERRED_RNG + 4u, + BCRYPT_USE_SYSTEM_PREFERRED_RNG.convert() ) if (result != 0) { error("Can't generate random values using BCryptGenRandom: $result") @@ -28,7 +29,7 @@ public actual object SecureRandom : Random() { null, it.addressOf(fromIndex).reinterpret(), (toIndex - fromIndex).convert(), - BCRYPT_USE_SYSTEM_PREFERRED_RNG + BCRYPT_USE_SYSTEM_PREFERRED_RNG.convert() ) if (result != 0) { error("Can't generate random values using BCryptGenRandom: $result") diff --git a/ton-kotlin-crypto/native/src/internal/Aes256.kt b/crypto/src@native/Aes256.kt similarity index 100% rename from ton-kotlin-crypto/native/src/internal/Aes256.kt rename to crypto/src@native/Aes256.kt diff --git a/ton-kotlin-crypto/native/src/AesCtr.kt b/crypto/src@native/AesCtr.kt similarity index 100% rename from ton-kotlin-crypto/native/src/AesCtr.kt rename to crypto/src@native/AesCtr.kt diff --git a/ton-kotlin-crypto/native/src/digest/Digest.kt b/crypto/src@native/Digest.kt similarity index 100% rename from ton-kotlin-crypto/native/src/digest/Digest.kt rename to crypto/src@native/Digest.kt diff --git a/ton-kotlin-crypto/native/src/crc32.kt b/crypto/src@native/crc32.kt similarity index 100% rename from ton-kotlin-crypto/native/src/crc32.kt rename to crypto/src@native/crc32.kt diff --git a/ton-kotlin-crypto/common/test/Crc16Test.kt b/crypto/test/Crc16Test.kt similarity index 100% rename from ton-kotlin-crypto/common/test/Crc16Test.kt rename to crypto/test/Crc16Test.kt diff --git a/ton-kotlin-crypto/common/test/HexTest.kt b/crypto/test/HexTest.kt similarity index 100% rename from ton-kotlin-crypto/common/test/HexTest.kt rename to crypto/test/HexTest.kt diff --git a/ton-kotlin-mnemonic/src/commonTest/kotlin/org/ton/mnemonic/MnemonicTest.kt b/crypto/test/MnemonicTest.kt similarity index 100% rename from ton-kotlin-mnemonic/src/commonTest/kotlin/org/ton/mnemonic/MnemonicTest.kt rename to crypto/test/MnemonicTest.kt diff --git a/ton-kotlin-crypto/common/test/Sha256Test.kt b/crypto/test/Sha256Test.kt similarity index 100% rename from ton-kotlin-crypto/common/test/Sha256Test.kt rename to crypto/test/Sha256Test.kt diff --git a/ton-kotlin-crypto/jvm/test/hmacSha512.kt b/crypto/test@jvm/hmacSha512.kt similarity index 100% rename from ton-kotlin-crypto/jvm/test/hmacSha512.kt rename to crypto/test@jvm/hmacSha512.kt diff --git a/gradle.properties b/gradle.properties index afa9f49d..a3cc7bfa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,4 @@ kotlin.code.style=official org.gradle.jvmargs=-Xmx4G org.gradle.parallel=true -kotlin.mpp.stability.nowarn=true -kotlin.incremental.multiplatform=true -kotlin.version=1.8.0 +kotlin.version=1.9.20 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e1bef7e8..a5952066 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/hashmap-tlb/api/ton-kotlin-hashmap-tlb.api b/hashmap-tlb/api/ton-kotlin-hashmap-tlb.api new file mode 100644 index 00000000..b92803fe --- /dev/null +++ b/hashmap-tlb/api/ton-kotlin-hashmap-tlb.api @@ -0,0 +1,393 @@ +public abstract interface class org/ton/hashmap/AugmentedDictionary : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { + public abstract fun get (Lorg/ton/bitstring/BitString;)Lorg/ton/hashmap/AugmentedDictionary$Leaf; +} + +public abstract interface class org/ton/hashmap/AugmentedDictionary$Leaf : org/ton/hashmap/AugmentedDictionary$Node { + public abstract fun getExtra ()Ljava/lang/Object; + public abstract fun getValue ()Ljava/lang/Object; +} + +public abstract interface class org/ton/hashmap/AugmentedDictionary$Node { + public abstract fun getExtra ()Ljava/lang/Object; + public abstract fun getValue ()Ljava/lang/Object; +} + +public abstract interface class org/ton/hashmap/Dictionary { +} + +public abstract interface class org/ton/hashmap/Dictionary$Entry { + public fun component1 ()Lorg/ton/bitstring/BitString; + public fun component2 ()Ljava/lang/Object; + public abstract fun getKey ()Lorg/ton/bitstring/BitString; + public abstract fun getLeaf ()Lorg/ton/hashmap/Dictionary$Leaf; +} + +public abstract interface class org/ton/hashmap/Dictionary$Leaf { + public abstract fun getValue ()Ljava/lang/Object; +} + +public abstract interface class org/ton/hashmap/HashMapE : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/HashMapE$Companion; + public static fun empty ()Lorg/ton/hashmap/HashMapE; + public abstract fun iterator ()Ljava/util/Iterator; + public static fun of ()Lorg/ton/hashmap/HashMapE; + public static fun root (Lorg/ton/tlb/CellRef;)Lorg/ton/hashmap/HashMapE; + public abstract fun set (Lorg/ton/bitstring/BitString;Ljava/lang/Object;)Lorg/ton/hashmap/HmeRoot; + public static fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashMapE$Companion { + public final fun empty ()Lorg/ton/hashmap/HashMapE; + public final fun fromMap (Ljava/util/Map;)Lorg/ton/hashmap/HashMapE; + public final fun of ()Lorg/ton/hashmap/HashMapE; + public final fun root (Lorg/ton/tlb/CellRef;)Lorg/ton/hashmap/HashMapE; + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashMapNode : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/HashMapNode$Companion; + public static fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashMapNode$Companion { + public final fun fork (Lorg/ton/hashmap/HmEdge;Lorg/ton/hashmap/HmEdge;)Lorg/ton/hashmap/HmnFork; + public final fun leaf (Ljava/lang/Object;)Lorg/ton/hashmap/HmnLeaf; + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashmapAug : org/ton/hashmap/AugmentedDictionary, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/HashmapAug$Companion; + public static fun edge (ILorg/ton/hashmap/HashmapAugNode;)Lorg/ton/hashmap/HashmapAug$AhmEdge; + public static fun edge (ILorg/ton/hashmap/HmLabel;Lorg/ton/hashmap/HashmapAugNode;)Lorg/ton/hashmap/HashmapAug$AhmEdge; + public abstract fun get (Lorg/ton/bitstring/BitString;)Lorg/ton/hashmap/HashmapAugNode$AhmnLeaf; + public abstract fun getN ()I + public abstract fun iterator ()Ljava/util/Iterator; +} + +public abstract interface class org/ton/hashmap/HashmapAug$AhmEdge : org/ton/hashmap/HashmapAug { + public static final field Companion Lorg/ton/hashmap/HashmapAug$AhmEdge$Companion; + public abstract fun getLabel ()Lorg/ton/hashmap/HmLabel; + public abstract fun getN ()I + public abstract fun getNode ()Lorg/ton/hashmap/HashmapAugNode; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; +} + +public final class org/ton/hashmap/HashmapAug$AhmEdge$Companion { + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashmapAug$Companion { + public final fun edge (ILorg/ton/hashmap/HashmapAugNode;)Lorg/ton/hashmap/HashmapAug$AhmEdge; + public final fun edge (ILorg/ton/hashmap/HmLabel;Lorg/ton/hashmap/HashmapAugNode;)Lorg/ton/hashmap/HashmapAug$AhmEdge; + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashmapAugE : org/ton/hashmap/AugmentedDictionary, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/HashmapAugE$Companion; + public static fun empty (ILjava/lang/Object;)Lorg/ton/hashmap/HashmapAugE$AhmeEmpty; + public abstract fun get (Lorg/ton/bitstring/BitString;)Lorg/ton/hashmap/HashmapAugNode$AhmnLeaf; + public abstract fun getN ()I + public abstract fun iterator ()Ljava/util/Iterator; + public static fun root (ILorg/ton/tlb/CellRef;Ljava/lang/Object;)Lorg/ton/hashmap/HashmapAugE$AhmeRoot; +} + +public abstract interface class org/ton/hashmap/HashmapAugE$AhmeEmpty : org/ton/hashmap/HashmapAugE { + public static final field Companion Lorg/ton/hashmap/HashmapAugE$AhmeEmpty$Companion; + public abstract fun getExtra ()Ljava/lang/Object; + public abstract fun getN ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; +} + +public final class org/ton/hashmap/HashmapAugE$AhmeEmpty$Companion { + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashmapAugE$AhmeRoot : org/ton/hashmap/HashmapAugE { + public static final field Companion Lorg/ton/hashmap/HashmapAugE$AhmeRoot$Companion; + public abstract fun getExtra ()Ljava/lang/Object; + public abstract fun getN ()I + public abstract fun getRoot ()Lorg/ton/tlb/CellRef; + public fun loadRoot ()Lorg/ton/hashmap/HashmapAug; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; +} + +public final class org/ton/hashmap/HashmapAugE$AhmeRoot$Companion { + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashmapAugE$Companion { + public final fun empty (ILjava/lang/Object;)Lorg/ton/hashmap/HashmapAugE$AhmeEmpty; + public final fun root (ILorg/ton/tlb/CellRef;Ljava/lang/Object;)Lorg/ton/hashmap/HashmapAugE$AhmeRoot; + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashmapAugNode : org/ton/hashmap/AugmentedDictionary$Node, org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/HashmapAugNode$Companion; + public static fun fork (ILorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Ljava/lang/Object;)Lorg/ton/hashmap/HashmapAugNode$AhmnFork; + public abstract fun getN ()I + public static fun leaf (Ljava/lang/Object;Ljava/lang/Object;)Lorg/ton/hashmap/HashmapAugNode$AhmnLeaf; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;I)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashmapAugNode$AhmnFork : org/ton/hashmap/HashmapAugNode { + public static final field Companion Lorg/ton/hashmap/HashmapAugNode$AhmnFork$Companion; + public abstract fun getExtra ()Ljava/lang/Object; + public abstract fun getLeft ()Lorg/ton/tlb/CellRef; + public abstract fun getN ()I + public abstract fun getRight ()Lorg/ton/tlb/CellRef; + public fun getValue ()Ljava/lang/Object; + public fun loadLeft ()Lorg/ton/hashmap/HashmapAug; + public fun loadRight ()Lorg/ton/hashmap/HashmapAug; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashmapAugNode$AhmnFork$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;I)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HashmapAugNode$AhmnLeaf : org/ton/hashmap/AugmentedDictionary$Leaf, org/ton/hashmap/HashmapAugNode { + public static final field Companion Lorg/ton/hashmap/HashmapAugNode$AhmnLeaf$Companion; + public abstract fun getExtra ()Ljava/lang/Object; + public fun getN ()I + public abstract fun getValue ()Ljava/lang/Object; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashmapAugNode$AhmnLeaf$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HashmapAugNode$Companion { + public final fun fork (ILorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;Ljava/lang/Object;)Lorg/ton/hashmap/HashmapAugNode$AhmnFork; + public final fun leaf (Ljava/lang/Object;Ljava/lang/Object;)Lorg/ton/hashmap/HashmapAugNode$AhmnLeaf; + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/TlbCodec;I)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HmEdge : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker, org/ton/tlb/TlbObject { + public static final field ADD I + public static final field Companion Lorg/ton/hashmap/HmEdge$Companion; + public static final field REPLACE I + public fun (Lorg/ton/hashmap/HmLabel;Lorg/ton/hashmap/HashMapNode;)V + public final fun component1 ()Lorg/ton/hashmap/HmLabel; + public final fun component2 ()Lorg/ton/hashmap/HashMapNode; + public final fun copy (Lorg/ton/hashmap/HmLabel;Lorg/ton/hashmap/HashMapNode;)Lorg/ton/hashmap/HmEdge; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmEdge;Lorg/ton/hashmap/HmLabel;Lorg/ton/hashmap/HashMapNode;ILjava/lang/Object;)Lorg/ton/hashmap/HmEdge; + public fun equals (Ljava/lang/Object;)Z + public final fun getLabel ()Lorg/ton/hashmap/HmLabel; + public final fun getNode ()Lorg/ton/hashmap/HashMapNode; + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun set (Lorg/ton/bitstring/BitString;Ljava/lang/Object;)Lorg/ton/hashmap/HmEdge; + public static final fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmEdge$Companion { + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract interface class org/ton/hashmap/HmLabel : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/HmLabel$Companion; + public static fun empty ()Lorg/ton/hashmap/HmLabel; + public static fun of (Lorg/ton/bitstring/BitString;I)Lorg/ton/hashmap/HmLabel; + public static fun tlbCodec (I)Lorg/ton/tlb/TlbNegatedCodec; + public abstract fun toBitString ()Lorg/ton/bitstring/BitString; +} + +public final class org/ton/hashmap/HmLabel$Companion { + public final fun empty ()Lorg/ton/hashmap/HmLabel; + public final fun of (Lorg/ton/bitstring/BitString;I)Lorg/ton/hashmap/HmLabel; + public static synthetic fun of$default (Lorg/ton/hashmap/HmLabel$Companion;Lorg/ton/bitstring/BitString;IILjava/lang/Object;)Lorg/ton/hashmap/HmLabel; + public final fun tlbCodec (I)Lorg/ton/tlb/TlbNegatedCodec; +} + +public final class org/ton/hashmap/HmLabelKt { + public static final fun HmLabel (Lorg/ton/bitstring/BitString;I)Lorg/ton/hashmap/HmLabel; + public static synthetic fun HmLabel$default (Lorg/ton/bitstring/BitString;IILjava/lang/Object;)Lorg/ton/hashmap/HmLabel; +} + +public final class org/ton/hashmap/HmeEmpty : org/ton/hashmap/HashMapE { + public fun ()V + public fun iterator ()Ljava/util/Iterator; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun set (Lorg/ton/bitstring/BitString;Ljava/lang/Object;)Lorg/ton/hashmap/HmeRoot; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmeRoot : org/ton/hashmap/HashMapE { + public static final field Companion Lorg/ton/hashmap/HmeRoot$Companion; + public fun (Lorg/ton/cell/Cell;Lorg/ton/tlb/TlbCodec;)V + public fun (Lorg/ton/hashmap/HmEdge;)V + public fun (Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;)Lorg/ton/hashmap/HmeRoot; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmeRoot;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/hashmap/HmeRoot; + public fun equals (Ljava/lang/Object;)Z + public final fun getRoot ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun set (Lorg/ton/bitstring/BitString;Ljava/lang/Object;)Lorg/ton/hashmap/HmeRoot; + public static final fun tlbConstructor (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmeRoot$Companion { + public final fun tlbConstructor (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/hashmap/HmlLong : org/ton/hashmap/HmLabel { + public static final field Companion Lorg/ton/hashmap/HmlLong$Companion; + public fun (ILorg/ton/bitstring/BitString;)V + public fun (Lorg/ton/bitstring/BitString;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy (ILorg/ton/bitstring/BitString;)Lorg/ton/hashmap/HmlLong; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmlLong;ILorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/hashmap/HmlLong; + public fun equals (Ljava/lang/Object;)Z + public final fun getN ()I + public final fun getS ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toBitString ()Lorg/ton/bitstring/BitString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmlLong$Companion { + public final fun tlbCodec (I)Lorg/ton/tlb/TlbNegatedConstructor; +} + +public final class org/ton/hashmap/HmlSame : org/ton/hashmap/HmLabel { + public static final field Companion Lorg/ton/hashmap/HmlSame$Companion; + public fun (II)V + public fun (ZI)V + public final fun component1 ()Z + public final fun component2 ()I + public final fun copy (ZI)Lorg/ton/hashmap/HmlSame; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmlSame;ZIILjava/lang/Object;)Lorg/ton/hashmap/HmlSame; + public fun equals (Ljava/lang/Object;)Z + public final fun getN ()I + public final fun getV ()Z + public fun hashCode ()I + public static final fun of (Lorg/ton/bitstring/BitString;I)Lorg/ton/hashmap/HmlSame; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toBitString ()Lorg/ton/bitstring/BitString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmlSame$Companion { + public final fun of (Lorg/ton/bitstring/BitString;I)Lorg/ton/hashmap/HmlSame; + public static synthetic fun of$default (Lorg/ton/hashmap/HmlSame$Companion;Lorg/ton/bitstring/BitString;IILjava/lang/Object;)Lorg/ton/hashmap/HmlSame; + public final fun tlbCodec (I)Lorg/ton/tlb/TlbNegatedConstructor; +} + +public final class org/ton/hashmap/HmlShort : org/ton/hashmap/HmLabel { + public static final field Companion Lorg/ton/hashmap/HmlShort$Companion; + public fun (Lorg/ton/bitstring/BitString;)V + public fun (Lorg/ton/hashmap/Unary;Lorg/ton/bitstring/BitString;)V + public final fun component1 ()Lorg/ton/hashmap/Unary; + public final fun component2 ()Lorg/ton/bitstring/BitString; + public final fun copy (Lorg/ton/hashmap/Unary;Lorg/ton/bitstring/BitString;)Lorg/ton/hashmap/HmlShort; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmlShort;Lorg/ton/hashmap/Unary;Lorg/ton/bitstring/BitString;ILjava/lang/Object;)Lorg/ton/hashmap/HmlShort; + public static final fun empty ()Lorg/ton/hashmap/HmlShort; + public fun equals (Ljava/lang/Object;)Z + public final fun getLen ()Lorg/ton/hashmap/Unary; + public final fun getS ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbNegatedConstructor; + public fun toBitString ()Lorg/ton/bitstring/BitString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmlShort$Companion { + public final fun empty ()Lorg/ton/hashmap/HmlShort; + public final fun tlbCodec ()Lorg/ton/tlb/TlbNegatedConstructor; +} + +public final class org/ton/hashmap/HmnFork : org/ton/hashmap/HashMapNode { + public static final field Companion Lorg/ton/hashmap/HmnFork$Companion; + public fun (Lorg/ton/hashmap/HmEdge;Lorg/ton/hashmap/HmEdge;)V + public fun (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)V + public final fun component1 ()Lorg/ton/tlb/CellRef; + public final fun component2 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;)Lorg/ton/hashmap/HmnFork; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmnFork;Lorg/ton/tlb/CellRef;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/hashmap/HmnFork; + public fun equals (Ljava/lang/Object;)Z + public final fun getLeft ()Lorg/ton/tlb/CellRef; + public final fun getRight ()Lorg/ton/tlb/CellRef; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun set (Lorg/ton/bitstring/BitString;Ljava/lang/Object;)Lorg/ton/hashmap/HmnFork; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmnFork$Companion { + public final fun tlbCodec (ILorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/hashmap/HmnLeaf : org/ton/hashmap/HashMapNode { + public static final field Companion Lorg/ton/hashmap/HmnLeaf$Companion; + public fun (Ljava/lang/Object;)V + public final fun component1 ()Ljava/lang/Object; + public final fun copy (Ljava/lang/Object;)Lorg/ton/hashmap/HmnLeaf; + public static synthetic fun copy$default (Lorg/ton/hashmap/HmnLeaf;Ljava/lang/Object;ILjava/lang/Object;)Lorg/ton/hashmap/HmnLeaf; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()Ljava/lang/Object; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/HmnLeaf$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public abstract class org/ton/hashmap/Unary : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/hashmap/Unary$Companion; + public static final fun of (I)Lorg/ton/hashmap/Unary; + public static final fun tlbCodec ()Lorg/ton/tlb/TlbNegatedCodec; +} + +public final class org/ton/hashmap/Unary$Companion : org/ton/tlb/TlbNegatedCodec { + public synthetic fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public fun createCell (Lorg/ton/hashmap/Unary;)Lorg/ton/cell/Cell; + public fun loadNegatedTlb (Lorg/ton/cell/Cell;)Lorg/ton/tlb/TlbNegatedResult; + public fun loadNegatedTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/tlb/TlbNegatedResult; + public synthetic fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/Cell;)Lorg/ton/hashmap/Unary; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/hashmap/Unary; + public final fun of (I)Lorg/ton/hashmap/Unary; + public synthetic fun storeNegatedTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)I + public fun storeNegatedTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/hashmap/Unary;)I + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/hashmap/Unary;)V + public final fun tlbCodec ()Lorg/ton/tlb/TlbNegatedCodec; +} + +public final class org/ton/hashmap/UnaryKt { + public static final fun Unary (I)Lorg/ton/hashmap/Unary; +} + +public final class org/ton/hashmap/UnarySuccess : org/ton/hashmap/Unary { + public fun (Lorg/ton/hashmap/Unary;)V + public final fun component1 ()Lorg/ton/hashmap/Unary; + public final fun copy (Lorg/ton/hashmap/Unary;)Lorg/ton/hashmap/UnarySuccess; + public static synthetic fun copy$default (Lorg/ton/hashmap/UnarySuccess;Lorg/ton/hashmap/Unary;ILjava/lang/Object;)Lorg/ton/hashmap/UnarySuccess; + public fun equals (Ljava/lang/Object;)Z + public final fun getX ()Lorg/ton/hashmap/Unary; + public fun hashCode ()I + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/hashmap/UnaryZero : org/ton/hashmap/Unary { + public static final field INSTANCE Lorg/ton/hashmap/UnaryZero; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; +} + diff --git a/ton-kotlin-hashmap/build.gradle.kts b/hashmap-tlb/build.gradle.kts similarity index 56% rename from ton-kotlin-hashmap/build.gradle.kts rename to hashmap-tlb/build.gradle.kts index 35f05141..b174e1ee 100644 --- a/ton-kotlin-hashmap/build.gradle.kts +++ b/hashmap-tlb/build.gradle.kts @@ -1,16 +1,16 @@ +plugins { + id("multiplatform") + id("publish") +} + kotlin { sourceSets { - val commonMain by getting { + commonMain { dependencies { api(projects.tonKotlinBitstring) api(projects.tonKotlinTlb) implementation(libs.serialization.json) } } - val commonTest by getting { - dependencies { - implementation(projects.tonKotlinBoc) - } - } } } diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/AugmentedDictionary.kt b/hashmap-tlb/src/AugmentedDictionary.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/AugmentedDictionary.kt rename to hashmap-tlb/src/AugmentedDictionary.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/Dictionary.kt b/hashmap-tlb/src/Dictionary.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/Dictionary.kt rename to hashmap-tlb/src/Dictionary.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashMapE.kt b/hashmap-tlb/src/HashMapE.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashMapE.kt rename to hashmap-tlb/src/HashMapE.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashMapNode.kt b/hashmap-tlb/src/HashMapNode.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashMapNode.kt rename to hashmap-tlb/src/HashMapNode.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashmapAug.kt b/hashmap-tlb/src/HashmapAug.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashmapAug.kt rename to hashmap-tlb/src/HashmapAug.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashmapAugE.kt b/hashmap-tlb/src/HashmapAugE.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashmapAugE.kt rename to hashmap-tlb/src/HashmapAugE.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashmapAugNode.kt b/hashmap-tlb/src/HashmapAugNode.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HashmapAugNode.kt rename to hashmap-tlb/src/HashmapAugNode.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmEdge.kt b/hashmap-tlb/src/HmEdge.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmEdge.kt rename to hashmap-tlb/src/HmEdge.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmLabel.kt b/hashmap-tlb/src/HmLabel.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmLabel.kt rename to hashmap-tlb/src/HmLabel.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmeEmpty.kt b/hashmap-tlb/src/HmeEmpty.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmeEmpty.kt rename to hashmap-tlb/src/HmeEmpty.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmeRoot.kt b/hashmap-tlb/src/HmeRoot.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmeRoot.kt rename to hashmap-tlb/src/HmeRoot.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmlLong.kt b/hashmap-tlb/src/HmlLong.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmlLong.kt rename to hashmap-tlb/src/HmlLong.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmlSame.kt b/hashmap-tlb/src/HmlSame.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmlSame.kt rename to hashmap-tlb/src/HmlSame.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmlShort.kt b/hashmap-tlb/src/HmlShort.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmlShort.kt rename to hashmap-tlb/src/HmlShort.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmnFork.kt b/hashmap-tlb/src/HmnFork.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmnFork.kt rename to hashmap-tlb/src/HmnFork.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmnLeaf.kt b/hashmap-tlb/src/HmnLeaf.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/HmnLeaf.kt rename to hashmap-tlb/src/HmnLeaf.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/Unary.kt b/hashmap-tlb/src/Unary.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/Unary.kt rename to hashmap-tlb/src/Unary.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/UnarySuccess.kt b/hashmap-tlb/src/UnarySuccess.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/UnarySuccess.kt rename to hashmap-tlb/src/UnarySuccess.kt diff --git a/ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/UnaryZero.kt b/hashmap-tlb/src/UnaryZero.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonMain/kotlin/org/ton/hashmap/UnaryZero.kt rename to hashmap-tlb/src/UnaryZero.kt diff --git a/ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/HashMapEdgeTest.kt b/hashmap-tlb/test/HashMapEdgeTest.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/HashMapEdgeTest.kt rename to hashmap-tlb/test/HashMapEdgeTest.kt diff --git a/ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/HashMapEditTest.kt b/hashmap-tlb/test/HashMapEditTest.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/HashMapEditTest.kt rename to hashmap-tlb/test/HashMapEditTest.kt diff --git a/ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/HashMapLabelTest.kt b/hashmap-tlb/test/HashMapLabelTest.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/HashMapLabelTest.kt rename to hashmap-tlb/test/HashMapLabelTest.kt diff --git a/ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/UnaryTest.kt b/hashmap-tlb/test/UnaryTest.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/UnaryTest.kt rename to hashmap-tlb/test/UnaryTest.kt diff --git a/ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/util.kt b/hashmap-tlb/test/util.kt similarity index 100% rename from ton-kotlin-hashmap/src/commonTest/kotlin/org/ton/hashmap/util.kt rename to hashmap-tlb/test/util.kt diff --git a/libs.versions.toml b/libs.versions.toml index 75234e6f..15cf1d6f 100644 --- a/libs.versions.toml +++ b/libs.versions.toml @@ -1,11 +1,15 @@ [versions] -coroutines = "1.7.0-Beta" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core -datetime = "0.4.0" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-datetime -atomicfu = "0.20.0" # https://search.maven.org/artifact/org.jetbrains.kotlinx/atomicfu +coroutines = "1.7.3" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core +datetime = "0.5.0" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-datetime +atomicfu = "0.23.1" # https://search.maven.org/artifact/org.jetbrains.kotlinx/atomicfu benchmark = "0.4.7" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-benchmark-runtime -serialization = "1.5.0" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core -ktor = "2.2.4" # https://search.maven.org/artifact/io.ktor/ktor +serialization = "1.6.2" # https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core +ktor = "2.3.7" # https://search.maven.org/artifact/io.ktor/ktor curve25519 = "0.0.4" # https://search.maven.org/artifact/io.github.andreypfau/curve25519-kotlin +bignum = "0.3.8" # https://search.maven.org/artifact/com.ionspin.kotlin/bignum +crypto = "0.0.1" +cache4k = "0.12.0" # https://central.sonatype.com/namespace/io.github.reactivecircus.cache4k +bcv = "0.13.2" [libraries] coroutines-jvm = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8", version.ref = "coroutines" } @@ -24,3 +28,8 @@ ktor-server-cio = { module = "io.ktor:ktor-server-cio", version.ref = "ktor" } ktor-network = { module = "io.ktor:ktor-network", version.ref = "ktor" } ktor-utils = { module = "io.ktor:ktor-utils", version.ref = "ktor" } curve25519 = { module = "io.github.andreypfau:curve25519-kotlin", version.ref = "curve25519" } +bignum = { module = "com.ionspin.kotlin:bignum", version.ref = "bignum" } +crypto = { module = "io.github.andreypfau:kotlinx-crypto", version.ref = "crypto" } + +[plugins] +bcv = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "bcv" } diff --git a/liteapi-tl/api/ton-kotlin-liteapi-tl.api b/liteapi-tl/api/ton-kotlin-liteapi-tl.api new file mode 100644 index 00000000..2c4b4a0a --- /dev/null +++ b/liteapi-tl/api/ton-kotlin-liteapi-tl.api @@ -0,0 +1,2503 @@ +public abstract interface class org/ton/lite/api/LiteApi { + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$default (Lorg/ton/lite/api/LiteApi;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;ILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun invoke$default (Lorg/ton/lite/api/LiteApi;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;ILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun invoke$default (Lorg/ton/lite/api/LiteApi;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;ILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun invoke$default (Lorg/ton/lite/api/LiteApi;Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;ILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; +} + +public abstract interface class org/ton/lite/api/LiteApiClient : org/ton/lite/api/LiteApi { + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke (Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun invoke$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun sendQuery (Lorg/ton/tl/TlCodec;Lorg/ton/tl/TlCodec;Ljava/lang/Object;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendQuery$default (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/tl/TlCodec;Lorg/ton/tl/TlCodec;Ljava/lang/Object;ILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun sendQuery$suspendImpl (Lorg/ton/lite/api/LiteApiClient;Lorg/ton/tl/TlCodec;Lorg/ton/tl/TlCodec;Ljava/lang/Object;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun sendRawQuery (Lio/ktor/utils/io/core/ByteReadPacket;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/lite/api/exception/LiteServerCancelledException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerCancelledException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerCancelledException$Companion { +} + +public final class org/ton/lite/api/exception/LiteServerErrorException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerErrorException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerErrorException$Companion { +} + +public abstract class org/ton/lite/api/exception/LiteServerException : java/lang/RuntimeException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerException$Companion; + public synthetic fun (ILjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public static final fun create (ILjava/lang/String;)Lorg/ton/lite/api/exception/LiteServerException; + public final fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/lite/api/exception/LiteServerException$Companion { + public final fun create (ILjava/lang/String;)Lorg/ton/lite/api/exception/LiteServerException; +} + +public final class org/ton/lite/api/exception/LiteServerFailureException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerFailureException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerFailureException$Companion { +} + +public final class org/ton/lite/api/exception/LiteServerNotReadyException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerNotReadyException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerNotReadyException$Companion { +} + +public final class org/ton/lite/api/exception/LiteServerProtoviolationException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerProtoviolationException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerProtoviolationException$Companion { +} + +public final class org/ton/lite/api/exception/LiteServerTimeoutException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerTimeoutException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerTimeoutException$Companion { +} + +public final class org/ton/lite/api/exception/LiteServerUnknownException : org/ton/lite/api/exception/LiteServerException { + public fun (ILjava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerWarningException : org/ton/lite/api/exception/LiteServerException { + public static final field Companion Lorg/ton/lite/api/exception/LiteServerWarningException$Companion; + public static final field ERROR_CODE I + public fun (Ljava/lang/String;)V +} + +public final class org/ton/lite/api/exception/LiteServerWarningException$Companion { +} + +public final class org/ton/lite/api/liteserver/LiteServerAccountId { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerAccountId$Companion; + public fun (ILorg/ton/bitstring/BitString;)V + public fun (ILorg/ton/tl/ByteString;)V + public fun (I[B)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerAccountId;ILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; + public final fun workchain ()I +} + +public final class org/ton/lite/api/liteserver/LiteServerAccountId$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerAccountId;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerAccountState { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerAccountState$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerAccountState; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerAccountState;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerAccountState; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun proof ()Lorg/ton/tl/ByteString; + public final fun shardBlock ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun shardProof ()Lorg/ton/tl/ByteString; + public final fun state ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerAccountState$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerAccountState; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerAccountState;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerAllShardsInfo { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public final fun data ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun proof ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerAllShardsInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerAllShardsInfo;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockData { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockData$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;)V + public final fun data ()Lorg/ton/tl/ByteString; + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockData$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockData; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockData;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockHeader { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockHeader$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()I + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun headerProof ()Lorg/ton/tl/ByteString; + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockHeader$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockHeader; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerBlockHeader;)[B +} + +public abstract interface class org/ton/lite/api/liteserver/LiteServerBlockLink { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockLink$Companion; + public abstract fun getFrom ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public abstract fun getTo ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public abstract fun getToKeyBlock ()Z +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockLink$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockLink; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockLink;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockLink;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockLink;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockLink;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerBlockLink;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerBlockLink;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerBlockLink;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockLinkBack : org/ton/lite/api/liteserver/LiteServerBlockLink { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack$Companion; + public fun (ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun component6 ()Lorg/ton/tl/ByteString; + public final fun copy (ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public final fun destProof ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun from ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun getFrom ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun getTo ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun getToKeyBlock ()Z + public fun hashCode ()I + public final fun proof ()Lorg/ton/tl/ByteString; + public final fun stateProof ()Lorg/ton/tl/ByteString; + public static final fun tlConstructor ()Lorg/ton/tl/TlConstructor; + public fun to ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun toKeyBlock ()Z + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockLinkBack$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkBack;)[B + public final fun tlConstructor ()Lorg/ton/tl/TlConstructor; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockLinkForward : org/ton/lite/api/liteserver/LiteServerBlockLink { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward$Companion; + public fun (ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)V + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun component6 ()Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public final fun configProof ()Lorg/ton/tl/ByteString; + public final fun copy (ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public final fun destProof ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun from ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun getFrom ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun getTo ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun getToKeyBlock ()Z + public fun hashCode ()I + public final fun signatures ()Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public static final fun tlConstructor ()Lorg/ton/tl/TlConstructor; + public fun to ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun toKeyBlock ()Z + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockLinkForward$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerBlockLinkForward;)[B + public final fun tlConstructor ()Lorg/ton/tl/TlConstructor; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockState { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockState$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerBlockState;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public final fun data ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public final fun fileHash ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun rootHash ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockState$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockState; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockState;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockState;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockState;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockState;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerBlockState;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerBlockState;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerBlockState;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockTransactions { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IZLjava/util/List;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()I + public final fun component3 ()Z + public final fun component4 ()Ljava/util/List; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IZLjava/util/List;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;Lorg/ton/api/tonnode/TonNodeBlockIdExt;IZLjava/util/List;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun ids ()Ljava/util/List; + public final fun incomplete ()Z + public final fun proof ()Lorg/ton/tl/ByteString; + public final fun reqCount ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerBlockTransactions$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerBlockTransactions;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerConfigInfo { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerConfigInfo$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun configProof ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public final fun stateProof ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerConfigInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerConfigInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerConfigInfo;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerCurrentTime { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerCurrentTime$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/lite/api/liteserver/LiteServerCurrentTime; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerCurrentTime;IILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerCurrentTime; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun now ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerCurrentTime$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerCurrentTime; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerCurrentTime;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerDebugVerbosity { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;IILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public final fun value ()I +} + +public final class org/ton/lite/api/liteserver/LiteServerDebugVerbosity$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerDebugVerbosity;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerError { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerError$Companion; + public fun (ILjava/lang/String;)V + public final fun code ()I + public final fun component1 ()I + public final fun component2 ()Ljava/lang/String; + public final fun copy (ILjava/lang/String;)Lorg/ton/lite/api/liteserver/LiteServerError; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerError;ILjava/lang/String;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerError; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun message ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerError$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerError; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerError;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerMasterchainInfo { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun init ()Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public final fun last ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun stateRootHash ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerMasterchainInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfo;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerMasterchainInfoExt { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfoExt$Companion; + public fun (IIJLorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/tl/ByteString;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;)V + public final fun capabilities ()J + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()J + public final fun component4 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component5 ()I + public final fun component6 ()I + public final fun component7 ()Lorg/ton/tl/ByteString; + public final fun component8 ()Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public final fun copy (IIJLorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/tl/ByteString;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfoExt; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfoExt;IIJLorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/tl/ByteString;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfoExt; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun init ()Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public final fun last ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun lastUTime ()I + public final fun mode ()I + public final fun name ()I + public final fun stateRootHash ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; + public final fun version ()I +} + +public final class org/ton/lite/api/liteserver/LiteServerMasterchainInfoExt$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfoExt; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerMasterchainInfoExt;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerPartialBlockProof { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof$Companion; + public fun (ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/List;)V + public final fun complete ()Z + public final fun component1 ()Z + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component4 ()Ljava/util/List; + public final fun copy (ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/List;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;ZLorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/List;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public fun equals (Ljava/lang/Object;)Z + public final fun from ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun hashCode ()I + public final fun steps ()Ljava/util/List; + public final fun to ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerPartialBlockProof$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerPartialBlockProof;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerQueryPrefix : org/ton/tl/TlCodec { + public static final field INSTANCE Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerQueryPrefix;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerRunMethodResult { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;[B[B[B[B[BI[B)V + public final fun component1 ()I + public final fun component10 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun component6 ()Lorg/ton/tl/ByteString; + public final fun component7 ()Lorg/ton/tl/ByteString; + public final fun component8 ()Lorg/ton/tl/ByteString; + public final fun component9 ()I + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public fun equals (Ljava/lang/Object;)Z + public final fun exitCode ()I + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun initC7 ()Lorg/ton/tl/ByteString; + public final fun libExtras ()Lorg/ton/tl/ByteString; + public final fun mode ()I + public static final fun mode (ZZZZZ)I + public final fun proof ()Lorg/ton/tl/ByteString; + public final fun result ()Lorg/ton/tl/ByteString; + public final fun shardBlock ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun shardProof ()Lorg/ton/tl/ByteString; + public final fun stateProof ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerRunMethodResult$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult;)[B + public final fun mode (ZZZZZ)I + public static synthetic fun mode$default (Lorg/ton/lite/api/liteserver/LiteServerRunMethodResult$Companion;ZZZZZILjava/lang/Object;)I +} + +public final class org/ton/lite/api/liteserver/LiteServerSendMsgStatus { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerSendMsgStatus$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/lite/api/liteserver/LiteServerSendMsgStatus; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerSendMsgStatus;IILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerSendMsgStatus; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun status ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerSendMsgStatus$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerSendMsgStatus; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerSendMsgStatus;)V +} + +public final class org/ton/lite/api/liteserver/LiteServerShardInfo { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerShardInfo$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerShardInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun shardBlock ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun shardDescr ()Lorg/ton/tl/ByteString; + public final fun shardProof ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerShardInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerShardInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerShardInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerShardInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerShardInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerShardInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerShardInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerShardInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerShardInfo;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerSignature { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerSignature$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public fun ([B[B)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerSignature;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun nodeIdShort ()Lorg/ton/tl/ByteString; + public final fun signature ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerSignature$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerSignature; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerSignature;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerSignature;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerSignature;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerSignature;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerSignature;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerSignature;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerSignature;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerSignatureSet { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerSignatureSet$Companion; + public fun (IILjava/util/List;)V + public final fun catchainSeqno ()I + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()Ljava/util/List; + public final fun copy (IILjava/util/List;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;IILjava/util/List;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun signatures ()Ljava/util/List; + public fun toString ()Ljava/lang/String; + public final fun validatorSetHash ()I +} + +public final class org/ton/lite/api/liteserver/LiteServerSignatureSet$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerSignatureSet; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerSignatureSet;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionId { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerTransactionId$Companion; + public fun ([BLjava/lang/Long;[B)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()Ljava/lang/Long; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/tl/ByteString;Ljava/lang/Long;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerTransactionId;ILorg/ton/tl/ByteString;Ljava/lang/Long;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public fun equals (Ljava/lang/Object;)Z + public final fun getAccount ()Lorg/ton/tl/ByteString; + public final fun getHash ()Lorg/ton/tl/ByteString; + public final fun getLt ()Ljava/lang/Long; + public final fun getMode ()I + public fun hashCode ()I + public static final fun mode (ZZZ)I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionId$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionId; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionId;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionId;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionId;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionId;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerTransactionId;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerTransactionId;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerTransactionId;)[B + public final fun mode (ZZZ)I +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionId3 { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerTransactionId3$Companion; + public fun (Lorg/ton/tl/ByteString;J)V + public final fun account ()Lorg/ton/tl/ByteString; + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()J + public final fun copy (Lorg/ton/tl/ByteString;J)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;Lorg/ton/tl/ByteString;JILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun lt ()J + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionId3$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerTransactionId3;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionInfo { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun proof ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; + public final fun transaction ()Lorg/ton/tl/ByteString; +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerTransactionInfo;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionList { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerTransactionList$Companion; + public fun (Ljava/util/List;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Ljava/util/List;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerTransactionList;Ljava/util/List;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun ids ()Ljava/util/List; + public fun toString ()Ljava/lang/String; + public final fun transactions ()Lorg/ton/tl/ByteString; +} + +public final class org/ton/lite/api/liteserver/LiteServerTransactionList$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerTransactionList; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionList;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionList;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerTransactionList;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerTransactionList;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerTransactionList;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerTransactionList;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerTransactionList;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerValidatorStats { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerValidatorStats$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;IZLorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun complete ()Z + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()I + public final fun component4 ()Z + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun component6 ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;IZLorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;ILorg/ton/api/tonnode/TonNodeBlockIdExt;IZLorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public final fun count ()I + public final fun dataProof ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public final fun stateProof ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/LiteServerValidatorStats$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerValidatorStats; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerValidatorStats;)[B +} + +public final class org/ton/lite/api/liteserver/LiteServerVersion { + public static final field Companion Lorg/ton/lite/api/liteserver/LiteServerVersion$Companion; + public fun (IIJI)V + public final fun capabilities ()J + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()J + public final fun component4 ()I + public final fun copy (IIJI)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/LiteServerVersion;IIJIILjava/lang/Object;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun mode ()I + public final fun now ()I + public fun toString ()Ljava/lang/String; + public final fun version ()I +} + +public final class org/ton/lite/api/liteserver/LiteServerVersion$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/LiteServerVersion; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerVersion;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerVersion;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/LiteServerVersion;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/LiteServerVersion;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/LiteServerVersion;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/LiteServerVersion;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/LiteServerVersion;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetAccountState : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;)V + public final fun account ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetAccountState$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAccountState;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetBlock : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetBlock$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlock;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;I)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()I + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;I)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;Lorg/ton/api/tonnode/TonNodeBlockIdExt;IILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetBlockProof : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public synthetic fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun knownBlock ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public final fun targetBlock ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetBlockProof$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetBlockProof;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetConfigAll : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;ILorg/ton/api/tonnode/TonNodeBlockIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetConfigAll$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigAll;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetConfigParams : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/List;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Ljava/util/List; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/List;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;ILorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/List;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public final fun paramList ()Ljava/util/List; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetConfigParams$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetConfigParams;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo : org/ton/tl/TLFunction, org/ton/tl/TlCodec { + public static final field INSTANCE Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo;)[B + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;IILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun mode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;J)V + public final fun account ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component3 ()J + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;J)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;JILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun lt ()J + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetShardInfo : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IJZ)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()I + public final fun component3 ()J + public final fun component4 ()Z + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IJZ)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;IJZILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public fun equals (Ljava/lang/Object;)Z + public final fun exact ()Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public final fun shard ()J + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public final fun workchain ()I +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetShardInfo$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetShardInfo;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetState : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetState$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;Lorg/ton/api/tonnode/TonNodeBlockIdExt;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetState$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetState; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetState;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetTime : org/ton/tl/TLFunction, org/ton/tl/TlCodec { + public static final field INSTANCE Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTime;)[B + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetTransactions : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions$Companion; + public fun (ILorg/ton/lite/api/liteserver/LiteServerAccountId;JLorg/ton/tl/ByteString;)V + public fun (ILorg/ton/lite/api/liteserver/LiteServerAccountId;J[B)V + public final fun account ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component1 ()I + public final fun component2 ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component3 ()J + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/lite/api/liteserver/LiteServerAccountId;JLorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;ILorg/ton/lite/api/liteserver/LiteServerAccountId;JLorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public final fun count ()I + public fun equals (Ljava/lang/Object;)Z + public final fun hash ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public final fun lt ()J + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetTransactions$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetTransactionsTlConstructor : org/ton/tl/TlConstructor { + public static final field INSTANCE Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactionsTlConstructor; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetTransactions;)V +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;ILorg/ton/tl/ByteString;Ljava/lang/Integer;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Ljava/lang/Integer; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;ILorg/ton/tl/ByteString;Ljava/lang/Integer;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;ILorg/ton/api/tonnode/TonNodeBlockIdExt;ILorg/ton/tl/ByteString;Ljava/lang/Integer;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun limit ()I + public final fun mode ()I + public final fun modifiedAfter ()Ljava/lang/Integer; + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public final fun startAfter ()Lorg/ton/tl/ByteString; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerGetVersion : org/ton/tl/TLFunction, org/ton/tl/TlCodec { + public static final field INSTANCE Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerGetVersion;)[B + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions$Companion; + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/lite/api/liteserver/LiteServerTransactionId3;ZZ)V + public synthetic fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/lite/api/liteserver/LiteServerTransactionId3;ZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun after ()Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()Lorg/ton/lite/api/liteserver/LiteServerTransactionId3; + public final fun component5 ()Z + public final fun component6 ()Z + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/lite/api/liteserver/LiteServerTransactionId3;ZZ)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;Lorg/ton/api/tonnode/TonNodeBlockIdExt;IILorg/ton/lite/api/liteserver/LiteServerTransactionId3;ZZILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public final fun count ()I + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun mode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public final fun reverseOrder ()Z + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public final fun wantProof ()Z +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerLookupBlock : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock$Companion; + public static final field ID_MASK I + public static final field LT_MASK I + public static final field UTIME_MASK I + public fun (ILorg/ton/api/tonnode/TonNodeBlockId;Ljava/lang/Long;Ljava/lang/Integer;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockId; + public final fun component3 ()Ljava/lang/Long; + public final fun component4 ()Ljava/lang/Integer; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockId;Ljava/lang/Long;Ljava/lang/Integer;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;ILorg/ton/api/tonnode/TonNodeBlockId;Ljava/lang/Long;Ljava/lang/Integer;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockId; + public final fun lt ()Ljava/lang/Long; + public final fun mode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public final fun utime ()Ljava/lang/Integer; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerLookupBlock$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerLookupBlock;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerQuery { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerQuery$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public final fun data ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerQuery$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerQuery; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerQuery;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod$Companion; + public fun (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;JLorg/ton/tl/ByteString;)V + public final fun account ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component1 ()I + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Lorg/ton/lite/api/liteserver/LiteServerAccountId; + public final fun component4 ()J + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;JLorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;ILorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/api/liteserver/LiteServerAccountId;JLorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun methodId ()J + public static final fun methodId (Ljava/lang/String;)J + public final fun mode ()I + public final fun params ()Lorg/ton/tl/ByteString; + public static final fun params (Ljava/lang/Iterable;)[B + public static final fun params (Lorg/ton/block/VmStack;)[B + public static final fun params (Lorg/ton/block/VmStackList;)[B + public static final fun params ([Lorg/ton/block/VmStackValue;)[B + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod;)[B + public final fun methodId (Ljava/lang/String;)J + public final fun params (Ljava/lang/Iterable;)[B + public final fun params (Lorg/ton/block/VmStack;)[B + public final fun params (Lorg/ton/block/VmStackList;)[B + public final fun params ([Lorg/ton/block/VmStackValue;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerSendMessage : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun body ()Lorg/ton/tl/ByteString; + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerSendMessage$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerSendMessage;)[B +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno { + public static final field Companion Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno$Companion; + public fun (II)V + public final fun component1 ()I + public final fun component2 ()I + public final fun copy (II)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public static synthetic fun copy$default (Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;IIILjava/lang/Object;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun seqno ()I + public final fun timeoutMs ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno;)[B +} + diff --git a/liteapi-tl/build.gradle.kts b/liteapi-tl/build.gradle.kts new file mode 100644 index 00000000..709dd61b --- /dev/null +++ b/liteapi-tl/build.gradle.kts @@ -0,0 +1,15 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(projects.tonKotlinTonapiTl) + api(projects.tonKotlinBlockTlb) //TODO: remove dependency + } + } + } +} diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/LiteApi.kt b/liteapi-tl/src/LiteApi.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/LiteApi.kt rename to liteapi-tl/src/LiteApi.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/LiteApiClient.kt b/liteapi-tl/src/LiteApiClient.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/LiteApiClient.kt rename to liteapi-tl/src/LiteApiClient.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/exception/LiteServerException.kt b/liteapi-tl/src/exception/LiteServerException.kt similarity index 57% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/exception/LiteServerException.kt rename to liteapi-tl/src/exception/LiteServerException.kt index 1a13c6a8..09295da9 100644 --- a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/exception/LiteServerException.kt +++ b/liteapi-tl/src/exception/LiteServerException.kt @@ -2,13 +2,13 @@ package org.ton.lite.api.exception import kotlin.jvm.JvmStatic -sealed class LiteServerException constructor( - val code: Int, +public sealed class LiteServerException constructor( + public val code: Int, override val message: String ) : RuntimeException() { - companion object { + public companion object { @JvmStatic - fun create(code: Int, message: String): LiteServerException = when (code) { + public fun create(code: Int, message: String): LiteServerException = when (code) { LiteServerCancelledException.ERROR_CODE -> LiteServerCancelledException(message) LiteServerFailureException.ERROR_CODE -> LiteServerFailureException(message) LiteServerErrorException.ERROR_CODE -> LiteServerErrorException(message) @@ -21,63 +21,63 @@ sealed class LiteServerException constructor( } } -class LiteServerFailureException( +public class LiteServerFailureException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 601 + public companion object { + public const val ERROR_CODE: Int = 601 } } -class LiteServerErrorException( +public class LiteServerErrorException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 602 + public companion object { + public const val ERROR_CODE: Int = 602 } } -class LiteServerWarningException( +public class LiteServerWarningException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 603 + public companion object { + public const val ERROR_CODE: Int = 603 } } -class LiteServerProtoviolationException( +public class LiteServerProtoviolationException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 621 + public companion object { + public const val ERROR_CODE: Int = 621 } } -class LiteServerNotReadyException( +public class LiteServerNotReadyException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 651 + public companion object { + public const val ERROR_CODE: Int = 651 } } -class LiteServerTimeoutException( +public class LiteServerTimeoutException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 652 + public companion object { + public const val ERROR_CODE: Int = 652 } } -class LiteServerCancelledException( +public class LiteServerCancelledException( message: String ) : LiteServerException(ERROR_CODE, message) { - companion object { - const val ERROR_CODE = 653 + public companion object { + public const val ERROR_CODE: Int = 653 } } -class LiteServerUnknownException( +public class LiteServerUnknownException( code: Int, message: String ) : LiteServerException(code, message) diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerAccountId.kt b/liteapi-tl/src/liteserver/LiteServerAccountId.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerAccountId.kt rename to liteapi-tl/src/liteserver/LiteServerAccountId.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerAccountState.kt b/liteapi-tl/src/liteserver/LiteServerAccountState.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerAccountState.kt rename to liteapi-tl/src/liteserver/LiteServerAccountState.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerAllShardsInfo.kt b/liteapi-tl/src/liteserver/LiteServerAllShardsInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerAllShardsInfo.kt rename to liteapi-tl/src/liteserver/LiteServerAllShardsInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockData.kt b/liteapi-tl/src/liteserver/LiteServerBlockData.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockData.kt rename to liteapi-tl/src/liteserver/LiteServerBlockData.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockHeader.kt b/liteapi-tl/src/liteserver/LiteServerBlockHeader.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockHeader.kt rename to liteapi-tl/src/liteserver/LiteServerBlockHeader.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockLink.kt b/liteapi-tl/src/liteserver/LiteServerBlockLink.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockLink.kt rename to liteapi-tl/src/liteserver/LiteServerBlockLink.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockLinkBack.kt b/liteapi-tl/src/liteserver/LiteServerBlockLinkBack.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockLinkBack.kt rename to liteapi-tl/src/liteserver/LiteServerBlockLinkBack.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockLinkForward.kt b/liteapi-tl/src/liteserver/LiteServerBlockLinkForward.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockLinkForward.kt rename to liteapi-tl/src/liteserver/LiteServerBlockLinkForward.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockState.kt b/liteapi-tl/src/liteserver/LiteServerBlockState.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockState.kt rename to liteapi-tl/src/liteserver/LiteServerBlockState.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockTransactions.kt b/liteapi-tl/src/liteserver/LiteServerBlockTransactions.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerBlockTransactions.kt rename to liteapi-tl/src/liteserver/LiteServerBlockTransactions.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerConfigInfo.kt b/liteapi-tl/src/liteserver/LiteServerConfigInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerConfigInfo.kt rename to liteapi-tl/src/liteserver/LiteServerConfigInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerCurrentTime.kt b/liteapi-tl/src/liteserver/LiteServerCurrentTime.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerCurrentTime.kt rename to liteapi-tl/src/liteserver/LiteServerCurrentTime.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerDebugVerbosity.kt b/liteapi-tl/src/liteserver/LiteServerDebugVerbosity.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerDebugVerbosity.kt rename to liteapi-tl/src/liteserver/LiteServerDebugVerbosity.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerError.kt b/liteapi-tl/src/liteserver/LiteServerError.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerError.kt rename to liteapi-tl/src/liteserver/LiteServerError.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerMasterchainInfo.kt b/liteapi-tl/src/liteserver/LiteServerMasterchainInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerMasterchainInfo.kt rename to liteapi-tl/src/liteserver/LiteServerMasterchainInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerMasterchainInfoExt.kt b/liteapi-tl/src/liteserver/LiteServerMasterchainInfoExt.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerMasterchainInfoExt.kt rename to liteapi-tl/src/liteserver/LiteServerMasterchainInfoExt.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerPartialBlockProof.kt b/liteapi-tl/src/liteserver/LiteServerPartialBlockProof.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerPartialBlockProof.kt rename to liteapi-tl/src/liteserver/LiteServerPartialBlockProof.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerQueryPrefix.kt b/liteapi-tl/src/liteserver/LiteServerQueryPrefix.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerQueryPrefix.kt rename to liteapi-tl/src/liteserver/LiteServerQueryPrefix.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerRunMethodResult.kt b/liteapi-tl/src/liteserver/LiteServerRunMethodResult.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerRunMethodResult.kt rename to liteapi-tl/src/liteserver/LiteServerRunMethodResult.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerSendMsgStatus.kt b/liteapi-tl/src/liteserver/LiteServerSendMsgStatus.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerSendMsgStatus.kt rename to liteapi-tl/src/liteserver/LiteServerSendMsgStatus.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerShardInfo.kt b/liteapi-tl/src/liteserver/LiteServerShardInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerShardInfo.kt rename to liteapi-tl/src/liteserver/LiteServerShardInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerSignature.kt b/liteapi-tl/src/liteserver/LiteServerSignature.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerSignature.kt rename to liteapi-tl/src/liteserver/LiteServerSignature.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerSignatureSet.kt b/liteapi-tl/src/liteserver/LiteServerSignatureSet.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerSignatureSet.kt rename to liteapi-tl/src/liteserver/LiteServerSignatureSet.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionId.kt b/liteapi-tl/src/liteserver/LiteServerTransactionId.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionId.kt rename to liteapi-tl/src/liteserver/LiteServerTransactionId.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionId3.kt b/liteapi-tl/src/liteserver/LiteServerTransactionId3.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionId3.kt rename to liteapi-tl/src/liteserver/LiteServerTransactionId3.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionInfo.kt b/liteapi-tl/src/liteserver/LiteServerTransactionInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionInfo.kt rename to liteapi-tl/src/liteserver/LiteServerTransactionInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionList.kt b/liteapi-tl/src/liteserver/LiteServerTransactionList.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerTransactionList.kt rename to liteapi-tl/src/liteserver/LiteServerTransactionList.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerValidatorStats.kt b/liteapi-tl/src/liteserver/LiteServerValidatorStats.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerValidatorStats.kt rename to liteapi-tl/src/liteserver/LiteServerValidatorStats.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerVersion.kt b/liteapi-tl/src/liteserver/LiteServerVersion.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/LiteServerVersion.kt rename to liteapi-tl/src/liteserver/LiteServerVersion.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetAccountState.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetAccountState.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetAccountState.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetAccountState.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetAllShardsInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetAllShardsInfo.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetAllShardsInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetBlock.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetBlock.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetBlock.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetBlock.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetBlockHeader.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetBlockHeader.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetBlockHeader.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetBlockProof.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetBlockProof.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetBlockProof.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetBlockProof.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetConfigAll.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetConfigAll.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetConfigAll.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetConfigAll.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetConfigParams.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetConfigParams.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetConfigParams.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetConfigParams.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetMasterchainInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfo.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetMasterchainInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetMasterchainInfoExt.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetMasterchainInfoExt.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetMasterchainInfoExt.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetOneTransaction.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetOneTransaction.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetOneTransaction.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetShardInfo.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetShardInfo.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetShardInfo.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetShardInfo.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetState.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetState.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetState.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetState.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetTime.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetTime.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetTime.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetTime.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetTransactions.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetTransactions.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetTransactions.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetTransactions.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetValidatorStats.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetValidatorStats.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetValidatorStats.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetVersion.kt b/liteapi-tl/src/liteserver/functions/LiteServerGetVersion.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerGetVersion.kt rename to liteapi-tl/src/liteserver/functions/LiteServerGetVersion.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions.kt b/liteapi-tl/src/liteserver/functions/LiteServerListBlockTransactions.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerListBlockTransactions.kt rename to liteapi-tl/src/liteserver/functions/LiteServerListBlockTransactions.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerLookupBlock.kt b/liteapi-tl/src/liteserver/functions/LiteServerLookupBlock.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerLookupBlock.kt rename to liteapi-tl/src/liteserver/functions/LiteServerLookupBlock.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerQuery.kt b/liteapi-tl/src/liteserver/functions/LiteServerQuery.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerQuery.kt rename to liteapi-tl/src/liteserver/functions/LiteServerQuery.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod.kt b/liteapi-tl/src/liteserver/functions/LiteServerRunSmcMethod.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerRunSmcMethod.kt rename to liteapi-tl/src/liteserver/functions/LiteServerRunSmcMethod.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerSendMessage.kt b/liteapi-tl/src/liteserver/functions/LiteServerSendMessage.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerSendMessage.kt rename to liteapi-tl/src/liteserver/functions/LiteServerSendMessage.kt diff --git a/ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno.kt b/liteapi-tl/src/liteserver/functions/LiteServerWaitMasterchainSeqno.kt similarity index 100% rename from ton-kotlin-liteapi/src/commonMain/kotlin/org/ton/lite/api/liteserver/functions/LiteServerWaitMasterchainSeqno.kt rename to liteapi-tl/src/liteserver/functions/LiteServerWaitMasterchainSeqno.kt diff --git a/liteclient/api/ton-kotlin-liteclient.api b/liteclient/api/ton-kotlin-liteclient.api new file mode 100644 index 00000000..42127bac --- /dev/null +++ b/liteclient/api/ton-kotlin-liteclient.api @@ -0,0 +1,89 @@ +public final class org/ton/lite/client/LiteClient : java/io/Closeable, kotlinx/coroutines/CoroutineScope, org/ton/lite/client/LiteClientApi { + public fun (Lkotlin/coroutines/CoroutineContext;Ljava/util/Collection;)V + public fun (Lkotlin/coroutines/CoroutineContext;Lorg/ton/api/liteclient/config/LiteClientConfigGlobal;)V + public fun (Lkotlin/coroutines/CoroutineContext;[Lorg/ton/api/liteserver/LiteServerDesc;)V + public fun close ()V + public fun getAccountState (Lorg/ton/block/MsgAddressInt;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getAccountState (Lorg/ton/block/MsgAddressInt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getBlock (Lorg/ton/api/tonnode/TonNodeBlockId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getBlock (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getBlock-8Mi8wO0 (Lorg/ton/api/tonnode/TonNodeBlockIdExt;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext; + public final fun getLastBlockId (ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getLastBlockId$default (Lorg/ton/lite/client/LiteClient;ILkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun getLiteApi ()Lorg/ton/lite/api/LiteApiClient; + public final fun getServerTime (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getServerVersion (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getTransactions (Lorg/ton/block/MsgAddressInt;Lorg/ton/lite/client/internal/TransactionId;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun latency-UwyO8pc ()J + public final fun lookupBlock (Lorg/ton/api/tonnode/TonNodeBlockId;Ljava/lang/Long;Lkotlinx/datetime/Instant;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun lookupBlock$default (Lorg/ton/lite/client/LiteClient;Lorg/ton/api/tonnode/TonNodeBlockId;Ljava/lang/Long;Lkotlinx/datetime/Instant;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun lookupBlock-8Mi8wO0 (Lorg/ton/api/tonnode/TonNodeBlockId;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;JLjava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;J[Lorg/ton/block/VmStackValue;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;Ljava/lang/String;[Lorg/ton/block/VmStackValue;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;Lorg/ton/api/tonnode/TonNodeBlockIdExt;JLjava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;Lorg/ton/api/tonnode/TonNodeBlockIdExt;J[Lorg/ton/block/VmStackValue;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun runSmcMethod (Lorg/ton/lite/api/liteserver/LiteServerAccountId;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/lang/String;[Lorg/ton/block/VmStackValue;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun sendMessage (Lorg/ton/block/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun sendMessage (Lorg/ton/boc/BagOfCells;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun sendMessage (Lorg/ton/cell/Cell;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun sendMessage (Lorg/ton/tlb/CellRef;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun setServerTime-5sfh64U (I)J + public final fun setServerVersion (IJ)V +} + +public abstract interface class org/ton/lite/client/LiteClientApi { + public abstract fun getAccountState (Lorg/ton/block/MsgAddressInt;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun getAccountState (Lorg/ton/block/MsgAddressInt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun getTransactions (Lorg/ton/block/MsgAddressInt;Lorg/ton/lite/client/internal/TransactionId;ILkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class org/ton/lite/client/internal/FullAccountState { + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/block/MsgAddressInt;Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/tlb/CellRef;)V + public final fun account ()Lorg/ton/tlb/CellRef; + public final fun address ()Lorg/ton/block/MsgAddressInt; + public final fun blockId ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/block/MsgAddressInt; + public final fun component3 ()Lorg/ton/lite/client/internal/TransactionId; + public final fun component4 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/block/MsgAddressInt;Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/tlb/CellRef;)Lorg/ton/lite/client/internal/FullAccountState; + public static synthetic fun copy$default (Lorg/ton/lite/client/internal/FullAccountState;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/block/MsgAddressInt;Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/lite/client/internal/FullAccountState; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun lastTransactionId ()Lorg/ton/lite/client/internal/TransactionId; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/client/internal/TransactionId { + public fun (Lorg/ton/bitstring/BitString;J)V + public fun ([BJ)V + public final fun component1 ()Lorg/ton/bitstring/BitString; + public final fun component2 ()J + public final fun copy (Lorg/ton/bitstring/BitString;J)Lorg/ton/lite/client/internal/TransactionId; + public static synthetic fun copy$default (Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/bitstring/BitString;JILjava/lang/Object;)Lorg/ton/lite/client/internal/TransactionId; + public fun equals (Ljava/lang/Object;)Z + public final fun hash ()Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public final fun lt ()J + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/lite/client/internal/TransactionInfo { + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/tlb/CellRef;)V + public final fun blockId ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/lite/client/internal/TransactionId; + public final fun component3 ()Lorg/ton/tlb/CellRef; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/tlb/CellRef;)Lorg/ton/lite/client/internal/TransactionInfo; + public static synthetic fun copy$default (Lorg/ton/lite/client/internal/TransactionInfo;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/lite/client/internal/TransactionId;Lorg/ton/tlb/CellRef;ILjava/lang/Object;)Lorg/ton/lite/client/internal/TransactionInfo; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/lite/client/internal/TransactionId; + public fun toString ()Ljava/lang/String; + public final fun transaction ()Lorg/ton/tlb/CellRef; +} + diff --git a/liteclient/build.gradle.kts b/liteclient/build.gradle.kts new file mode 100644 index 00000000..43ae5139 --- /dev/null +++ b/liteclient/build.gradle.kts @@ -0,0 +1,17 @@ +plugins { + id("multiplatform") + id("publish") +} + +kotlin { + sourceSets { + commonMain { + dependencies { + api(projects.tonKotlinAdnl) + api(projects.tonKotlinLiteapiTl) + api(projects.tonKotlinBlockTlb) + implementation(libs.atomicfu) + } + } + } +} diff --git a/ton-kotlin-liteclient/src/commonMain/kotlin/CheckProofUtils.kt b/liteclient/src/CheckProofUtils.kt similarity index 100% rename from ton-kotlin-liteclient/src/commonMain/kotlin/CheckProofUtils.kt rename to liteclient/src/CheckProofUtils.kt diff --git a/ton-kotlin-liteclient/src/commonMain/kotlin/LiteClient.kt b/liteclient/src/LiteClient.kt similarity index 92% rename from ton-kotlin-liteclient/src/commonMain/kotlin/LiteClient.kt rename to liteclient/src/LiteClient.kt index 396e8a8f..846d38db 100644 --- a/ton-kotlin-liteclient/src/commonMain/kotlin/LiteClient.kt +++ b/liteclient/src/LiteClient.kt @@ -27,8 +27,6 @@ import org.ton.lite.api.liteserver.functions.* import org.ton.lite.client.internal.FullAccountState import org.ton.lite.client.internal.TransactionId import org.ton.lite.client.internal.TransactionInfo -import org.ton.logger.Logger -import org.ton.logger.PrintLnLogger import org.ton.tl.ByteReadPacket import org.ton.tl.asByteString import org.ton.tlb.CellRef @@ -58,7 +56,6 @@ public class LiteClient( require(liteClientConfigGlobal.liteServers.isNotEmpty()) { "No lite servers provided" } } - private val logger: Logger = PrintLnLogger("LiteClient") override val coroutineContext: CoroutineContext = coroutineContext + CoroutineName("LiteClient") private val knownBlockIds: ArrayDeque = ArrayDeque(100) private var lastMasterchainBlockId: TonNodeBlockIdExt by atomic( @@ -108,7 +105,7 @@ public class LiteClient( if (serverVersion != version || serverCapabilities != capabilities) { serverVersion = version serverCapabilities = capabilities - logger.info { "server version is ${version shr 8}.${serverVersion and 0xFF}, capabilities $serverCapabilities" } +// logger.info { "server version is ${version shr 8}.${serverVersion and 0xFF}, capabilities $serverCapabilities" } } } @@ -116,7 +113,7 @@ public class LiteClient( serverTime = Instant.fromEpochSeconds(time.toLong()) serverTimeGotAt = Clock.System.now() val latency = latency() - logger.debug { "server time is $serverTime (latency $latency)" } +// logger.debug { "server time is $serverTime (latency $latency)" } return latency } @@ -163,7 +160,7 @@ public class LiteClient( init = ext.init } - logger.debug { "last masterchain block is $last" } +// logger.debug { "last masterchain block is $last" } var createdAt: Instant? = null if (ext != null) { @@ -173,24 +170,24 @@ public class LiteClient( val lastUtime = Instant.fromEpochSeconds(ext.lastUTime.toLong()) createdAt = lastUtime if (lastUtime > serverNow) { - logger.warn { - "server claims to have a masterchain block $last created at $lastUtime (${lastUtime - serverNow} in future)" - } +// logger.warn { +// "server claims to have a masterchain block $last created at $lastUtime (${lastUtime - serverNow} in future)" +// } } else if (lastUtime < serverNow - 60.seconds) { - logger.warn { - "server appears to be out of sync: its newest masterchain block is $last created at $lastUtime (${serverNow - lastUtime} ago according to the server's clock)" - } +// logger.warn { +// "server appears to be out of sync: its newest masterchain block is $last created at $lastUtime (${serverNow - lastUtime} ago according to the server's clock)" +// } } else if (lastUtime < serverTimeGotAt - 60.seconds) { - logger.warn { - "either the server is out of sync, or the local clock is set incorrectly: the newest masterchain block known to server is $last created at $lastUtime (${serverNow - serverTimeGotAt} ago according to the local clock)" - } +// logger.warn { +// "either the server is out of sync, or the local clock is set incorrectly: the newest masterchain block known to server is $last created at $lastUtime (${serverNow - serverTimeGotAt} ago according to the local clock)" +// } } } val currentZeroStateId = zeroStateId if (!currentZeroStateId.isValid()) { zeroStateId = init - logger.info { "zero state id set to ${init}" } +// logger.info { "zero state id set to ${init}" } } else if (init != currentZeroStateId) { use { throw IllegalStateException("masterchain zero state id suddenly changed: expected $zeroStateId, actual $init") @@ -209,13 +206,13 @@ public class LiteClient( lastMasterchainBlockId = last lastMasterchainBlockIdTime = Clock.System.now() } - logger.debug { - "latest masterchain block known to server is:\n$last${ - if (createdAt != null) { - "\n created at $createdAt (${Clock.System.now() - createdAt} ago)" - } else "" - }" - } +// logger.debug { +// "latest masterchain block known to server is:\n$last${ +// if (createdAt != null) { +// "\n created at $createdAt (${Clock.System.now() - createdAt} ago)" +// } else "" +// }" +// } return last } @@ -434,7 +431,7 @@ public class LiteClient( public suspend fun runSmcMethod( address: LiteServerAccountId, blockId: TonNodeBlockIdExt, method: Long, params: Iterable ): VmStack { - logger.debug { "run: $address - ${params.toList()}" } +// logger.debug { "run: $address - ${params.toList()}" } val result = liteApi( LiteServerRunSmcMethod( 0b100, blockId, address, method, smcCreateParams(params).toByteArray().asByteString() diff --git a/ton-kotlin-liteclient/src/commonMain/kotlin/LiteClientApi.kt b/liteclient/src/LiteClientApi.kt similarity index 94% rename from ton-kotlin-liteclient/src/commonMain/kotlin/LiteClientApi.kt rename to liteclient/src/LiteClientApi.kt index 682b6654..e7fc2ac6 100644 --- a/ton-kotlin-liteclient/src/commonMain/kotlin/LiteClientApi.kt +++ b/liteclient/src/LiteClientApi.kt @@ -6,7 +6,7 @@ import org.ton.lite.client.internal.FullAccountState import org.ton.lite.client.internal.TransactionId import org.ton.lite.client.internal.TransactionInfo -public expect interface LiteClientApi { +public interface LiteClientApi { public suspend fun getAccountState( accountAddress: MsgAddressInt ): FullAccountState diff --git a/ton-kotlin-liteclient/src/commonMain/kotlin/org/ton/lite/client/internal/BlockHeaderResult.kt b/liteclient/src/intetnal/BlockHeaderResult.kt similarity index 100% rename from ton-kotlin-liteclient/src/commonMain/kotlin/org/ton/lite/client/internal/BlockHeaderResult.kt rename to liteclient/src/intetnal/BlockHeaderResult.kt diff --git a/settings.gradle.kts b/settings.gradle.kts index 7abfdfaf..9f943357 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,8 @@ rootProject.name = "ton-kotlin" pluginManagement { + includeBuild("build-logic") + repositories { maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/maven") mavenCentral() @@ -8,8 +10,8 @@ pluginManagement { } plugins { - kotlin("multiplatform") version "1.8.0" - kotlin("plugin.serialization") version "1.8.0" + kotlin("multiplatform") version "1.9.20" + kotlin("plugin.serialization") version "1.9.20" } } @@ -26,23 +28,45 @@ dependencyResolutionManagement { } } -include(":ton-kotlin-adnl") -include(":ton-kotlin-api") -include(":ton-kotlin-bigint") -include(":ton-kotlin-bitstring") -include(":ton-kotlin-block") -include(":ton-kotlin-boc") -include(":ton-kotlin-cell") -include(":ton-kotlin-crypto") -//include(":ton-kotlin-dht") -include(":ton-kotlin-hashmap") -include(":ton-kotlin-liteapi") -include(":ton-kotlin-liteclient") -include(":ton-kotlin-logger") -include(":ton-kotlin-mnemonic") +submodule("crypto") +submodule("bitstring") +submodule("tl") +submodule("bigint") +submodule("tvm") +submodule("tlb") +submodule("hashmap-tlb") +submodule("block-tlb") +submodule("tonapi-tl") +submodule("liteapi-tl") +submodule("adnl") +submodule("liteclient") +submodule("contract") + +//include(":ton-kotlin-adnl") +//include(":ton-kotlin-api") +//include(":ton-kotlin-bigint") +//include(":ton-kotlin-bitstring") +//include(":ton-kotlin-block") +//include(":ton-kotlin-boc") +//include(":ton-kotlin-cell") + +//include(":ton-kotlin-hashmap") +//include(":ton-kotlin-liteapi") +//include(":ton-kotlin-liteclient") +//include(":ton-kotlin-logger") +//include(":ton-kotlin-mnemonic") +// +// +//include(":ton-kotlin-contract") +//include(":ton-kotlin-tl") +//include(":ton-kotlin-tlb") +//include(":ton-kotlin-fift") + //include(":ton-kotlin-rldp") //include(":ton-kotlin-experimental") -include(":ton-kotlin-contract") -include(":ton-kotlin-tl") -include(":ton-kotlin-tlb") -include(":ton-kotlin-fift") +//include(":ton-kotlin-dht") + +fun submodule(name: String) { + include(":ton-kotlin-$name") + project(":ton-kotlin-$name").projectDir = file(name) +} diff --git a/tl/api/ton-kotlin-tl.api b/tl/api/ton-kotlin-tl.api new file mode 100644 index 00000000..115e2cf2 --- /dev/null +++ b/tl/api/ton-kotlin-tl.api @@ -0,0 +1,201 @@ +public abstract class org/ton/tl/AbstractTlCombinator : org/ton/tl/TlCodec { + public fun ()V + public fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public abstract fun findConstructorOrNull (I)Lorg/ton/tl/TlDecoder; + public abstract fun findConstructorOrNull (Ljava/lang/Object;)Lorg/ton/tl/TlEncoder; + public abstract fun getBaseClass ()Lkotlin/reflect/KClass; +} + +public class org/ton/tl/ByteString : java/lang/Comparable, java/util/Collection, kotlin/jvm/internal/markers/KMappedMarker { + public static final field Companion Lorg/ton/tl/ByteString$Companion; + public fun add (B)Z + public synthetic fun add (Ljava/lang/Object;)Z + public fun addAll (Ljava/util/Collection;)Z + public fun clear ()V + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun compareTo (Lorg/ton/tl/ByteString;)I + public fun contains (B)Z + public final fun contains (Ljava/lang/Object;)Z + public fun containsAll (Ljava/util/Collection;)Z + public final fun copyInto ([BIII)[B + public static synthetic fun copyInto$default (Lorg/ton/tl/ByteString;[BIIIILjava/lang/Object;)[B + public final fun copyOf (I)Lorg/ton/tl/ByteString; + public final fun copyOfRange (II)Lorg/ton/tl/ByteString; + public static final fun decodeFromBase64 (Ljava/lang/String;)Lorg/ton/tl/ByteString; + public static final fun decodeFromHex (Ljava/lang/String;)Lorg/ton/tl/ByteString; + public final fun decodeToString ()Ljava/lang/String; + public final fun encodeBase64 ()Ljava/lang/String; + public final fun encodeHex ()Ljava/lang/String; + public fun equals (Ljava/lang/Object;)Z + public final fun getByte (I)B + public fun getSize ()I + public fun hashCode ()I + public final fun hashSha256 ()Lorg/ton/tl/ByteString; + public fun isEmpty ()Z + public synthetic fun iterator ()Ljava/util/Iterator; + public fun iterator ()Lkotlin/collections/ByteIterator; + public static final fun of ([B)Lorg/ton/tl/ByteString; + public static final fun of ([BII)Lorg/ton/tl/ByteString; + public fun remove (Ljava/lang/Object;)Z + public fun removeAll (Ljava/util/Collection;)Z + public fun removeIf (Ljava/util/function/Predicate;)Z + public fun retainAll (Ljava/util/Collection;)Z + public final fun size ()I + public fun toArray ()[Ljava/lang/Object; + public fun toArray ([Ljava/lang/Object;)[Ljava/lang/Object; + public final fun toByteArray ()[B + public final fun toByteArray ([BIII)[B + public static synthetic fun toByteArray$default (Lorg/ton/tl/ByteString;[BIIIILjava/lang/Object;)[B + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/tl/ByteString$Companion { + public final fun decodeFromBase64 (Ljava/lang/String;)Lorg/ton/tl/ByteString; + public final fun decodeFromHex (Ljava/lang/String;)Lorg/ton/tl/ByteString; + public final fun of ([B)Lorg/ton/tl/ByteString; + public final fun of ([BII)Lorg/ton/tl/ByteString; + public static synthetic fun of$default (Lorg/ton/tl/ByteString$Companion;[BIIILjava/lang/Object;)Lorg/ton/tl/ByteString; +} + +public final class org/ton/tl/ByteStringKt { + public static final fun ByteReadPacket (Lorg/ton/tl/ByteString;IILkotlin/jvm/functions/Function1;)Lio/ktor/utils/io/core/ByteReadPacket; + public static synthetic fun ByteReadPacket$default (Lorg/ton/tl/ByteString;IILkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lio/ktor/utils/io/core/ByteReadPacket; + public static final fun asByteString ([B)Lorg/ton/tl/ByteString; + public static final fun readByteString (Lio/ktor/utils/io/core/Input;I)Lorg/ton/tl/ByteString; + public static final fun writeByteString (Lio/ktor/utils/io/core/Output;Lorg/ton/tl/ByteString;II)V + public static synthetic fun writeByteString$default (Lio/ktor/utils/io/core/Output;Lorg/ton/tl/ByteString;IIILjava/lang/Object;)V +} + +public final class org/ton/tl/ByteStringSerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lorg/ton/tl/ByteStringSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lorg/ton/tl/ByteString; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lorg/ton/tl/ByteString;)V +} + +public abstract interface class org/ton/tl/TLFunction { + public abstract fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public abstract fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public abstract interface class org/ton/tl/TlCodec : org/ton/tl/TlDecoder, org/ton/tl/TlEncoder { +} + +public abstract class org/ton/tl/TlCombinator : org/ton/tl/AbstractTlCombinator { + public fun (Lkotlin/reflect/KClass;[Lkotlin/Pair;)V + public fun findConstructorOrNull (I)Lorg/ton/tl/TlDecoder; + public fun findConstructorOrNull (Ljava/lang/Object;)Lorg/ton/tl/TlEncoder; + public fun getBaseClass ()Lkotlin/reflect/KClass; +} + +public abstract class org/ton/tl/TlConstructor : org/ton/tl/TlCodec { + public fun (Ljava/lang/String;Ljava/lang/Integer;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()I + public final fun getSchema ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/tl/TlDecoder { + public fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public abstract fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode ([B)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public abstract fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed ([B)Ljava/lang/Object; +} + +public abstract interface class org/ton/tl/TlEncoder { + public fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public abstract fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public abstract fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeToByteArray (Ljava/lang/Object;Z)[B + public static synthetic fun encodeToByteArray$default (Lorg/ton/tl/TlEncoder;Ljava/lang/Object;ZILjava/lang/Object;)[B + public fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public static synthetic fun encodeToByteString$default (Lorg/ton/tl/TlEncoder;Ljava/lang/Object;ZILjava/lang/Object;)Lorg/ton/tl/ByteString; + public fun hash (Ljava/lang/Object;)[B +} + +public abstract interface class org/ton/tl/TlObject { + public fun hash ()[B + public abstract fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toByteArray ()[B +} + +public final class org/ton/tl/TlReader { + public fun (Lio/ktor/utils/io/core/Input;)V + public final fun getInput ()Lio/ktor/utils/io/core/Input; + public final fun readBoolean ()Z + public final fun readByteString ()Lorg/ton/tl/ByteString; + public final fun readByteString (I)Lorg/ton/tl/ByteString; + public final fun readBytes ()[B + public final fun readInt ()I + public final fun readLong ()J + public final fun readRaw (I)[B + public final fun readString ()Ljava/lang/String; + public final fun readVector (Lkotlin/jvm/functions/Function1;)Ljava/util/List; +} + +public final class org/ton/tl/TlReaderKt { + public static final fun invoke (Lorg/ton/tl/TlReader;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun read (Lorg/ton/tl/TlReader;Lorg/ton/tl/TlCodec;)Ljava/lang/Object; + public static final fun readNullable (Lorg/ton/tl/TlReader;IILkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun readNullable (Lorg/ton/tl/TlReader;ZLkotlin/jvm/functions/Function1;)Ljava/lang/Object; +} + +public final class org/ton/tl/TlWriter { + public fun ()V + public fun (Lio/ktor/utils/io/core/Output;)V + public synthetic fun (Lio/ktor/utils/io/core/Output;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getOutput ()Lio/ktor/utils/io/core/Output; + public final fun invoke (Lkotlin/jvm/functions/Function1;)V + public final fun writeBoolean (Z)V + public final fun writeBytes (Lorg/ton/tl/ByteString;II)V + public final fun writeBytes ([BII)V + public static synthetic fun writeBytes$default (Lorg/ton/tl/TlWriter;Lorg/ton/tl/ByteString;IIILjava/lang/Object;)V + public static synthetic fun writeBytes$default (Lorg/ton/tl/TlWriter;[BIIILjava/lang/Object;)V + public final fun writeInt (I)V + public final fun writeLong (J)V + public final fun writeRaw (Lorg/ton/tl/ByteString;)V + public final fun writeRaw ([B)V + public final fun writeString (Ljava/lang/String;)V + public final fun writeVector (Ljava/util/Collection;Lkotlin/jvm/functions/Function2;)V +} + +public final class org/ton/tl/TlWriterKt { + public static final fun write (Lorg/ton/tl/TlWriter;Lorg/ton/tl/TlCodec;Ljava/lang/Object;)V + public static final fun writeNullable (Lorg/ton/tl/TlWriter;IILjava/lang/Object;Lkotlin/jvm/functions/Function2;)V + public static final fun writeNullable (Lorg/ton/tl/TlWriter;ZLjava/lang/Object;Lkotlin/jvm/functions/Function2;)V +} + +public final class org/ton/tl/constructors/BytesTlConstructor : org/ton/tl/TlConstructor { + public static final field INSTANCE Lorg/ton/tl/constructors/BytesTlConstructor; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)[B + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;[B)V + public final fun sizeOf (Lorg/ton/tl/ByteString;)I + public final fun sizeOf ([B)I +} + +public class org/ton/tl/constructors/EnumTlCombinator : org/ton/tl/AbstractTlCombinator { + public fun (Lkotlin/reflect/KClass;Ljava/util/List;)V + public fun (Lkotlin/reflect/KClass;[Lkotlin/Pair;)V + public fun findConstructorOrNull (I)Lorg/ton/tl/TlDecoder; + public fun findConstructorOrNull (Ljava/lang/Enum;)Lorg/ton/tl/TlEncoder; + public synthetic fun findConstructorOrNull (Ljava/lang/Object;)Lorg/ton/tl/TlEncoder; + public fun getBaseClass ()Lkotlin/reflect/KClass; +} + diff --git a/ton-kotlin-tl/build.gradle.kts b/tl/build.gradle.kts similarity index 60% rename from ton-kotlin-tl/build.gradle.kts rename to tl/build.gradle.kts index 0d928b0a..56c22e3d 100644 --- a/ton-kotlin-tl/build.gradle.kts +++ b/tl/build.gradle.kts @@ -1,6 +1,11 @@ +plugins { + id("multiplatform") + id("publish") +} + kotlin { sourceSets { - val commonMain by getting { + commonMain { dependencies { api(projects.tonKotlinCrypto) api(projects.tonKotlinBitstring) @@ -8,10 +13,5 @@ kotlin { api(libs.serialization.json) } } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } } } diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/AbstractTlCombinator.kt b/tl/src/AbstractTlCombinator.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/AbstractTlCombinator.kt rename to tl/src/AbstractTlCombinator.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/ByteString.kt b/tl/src/ByteString.kt similarity index 99% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/ByteString.kt rename to tl/src/ByteString.kt index 8ddac1eb..a1cf3037 100644 --- a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/ByteString.kt +++ b/tl/src/ByteString.kt @@ -16,6 +16,7 @@ import kotlin.jvm.JvmName import kotlin.jvm.JvmStatic @Serializable(ByteStringSerializer::class) +//@Deprecated("Use ByteString from kotlinx-io") public open class ByteString internal constructor( internal val data: ByteArray ) : Comparable, Collection { diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlCodec.kt b/tl/src/TlCodec.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlCodec.kt rename to tl/src/TlCodec.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlCombinator.kt b/tl/src/TlCombinator.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlCombinator.kt rename to tl/src/TlCombinator.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlConstructor.kt b/tl/src/TlConstructor.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlConstructor.kt rename to tl/src/TlConstructor.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlDecoder.kt b/tl/src/TlDecoder.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlDecoder.kt rename to tl/src/TlDecoder.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlEncoder.kt b/tl/src/TlEncoder.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlEncoder.kt rename to tl/src/TlEncoder.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlReader.kt b/tl/src/TlReader.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlReader.kt rename to tl/src/TlReader.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlWriter.kt b/tl/src/TlWriter.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/TlWriter.kt rename to tl/src/TlWriter.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/constructors/BoolTlConstructor.kt b/tl/src/constructors/BoolTlConstructor.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/constructors/BoolTlConstructor.kt rename to tl/src/constructors/BoolTlConstructor.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/constructors/BytesTlConstructor.kt b/tl/src/constructors/BytesTlConstructor.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/constructors/BytesTlConstructor.kt rename to tl/src/constructors/BytesTlConstructor.kt diff --git a/ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/constructors/EnumTlCombinator.kt b/tl/src/constructors/EnumTlCombinator.kt similarity index 100% rename from ton-kotlin-tl/src/commonMain/kotlin/org/ton/tl/constructors/EnumTlCombinator.kt rename to tl/src/constructors/EnumTlCombinator.kt diff --git a/ton-kotlin-tl/src/commonTest/kotlin/org/ton/tl/BytesTlConstructorTest.kt b/tl/test/BytesTlConstructorTest.kt similarity index 100% rename from ton-kotlin-tl/src/commonTest/kotlin/org/ton/tl/BytesTlConstructorTest.kt rename to tl/test/BytesTlConstructorTest.kt diff --git a/tlb/api/ton-kotlin-tlb.api b/tlb/api/ton-kotlin-tlb.api new file mode 100644 index 00000000..97c29c13 --- /dev/null +++ b/tlb/api/ton-kotlin-tlb.api @@ -0,0 +1,260 @@ +public abstract class org/ton/tlb/AbstractTlbCombinator : org/ton/tlb/TlbCodec { + public fun ()V + public abstract fun getBaseClass ()Lkotlin/reflect/KClass; +} + +public abstract class org/ton/tlb/AbstractTlbConstructor { + public static final field Companion Lorg/ton/tlb/AbstractTlbConstructor$Companion; + public fun (Ljava/lang/String;Lorg/ton/bitstring/BitString;)V + public synthetic fun (Ljava/lang/String;Lorg/ton/bitstring/BitString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public static final fun calculateId (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public final fun getId ()Lorg/ton/bitstring/BitString; + public final fun getSchema ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/tlb/AbstractTlbConstructor$Companion { + public final fun calculateId (Ljava/lang/String;)Lorg/ton/bitstring/BitString; + public final fun formatSchema (Ljava/lang/String;)Ljava/lang/String; +} + +public abstract interface class org/ton/tlb/CellRef : org/ton/tlb/TlbObject { + public static final field Companion Lorg/ton/tlb/CellRef$Companion; + public abstract fun getValue ()Ljava/lang/Object; + public fun getValue (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + public fun hash ()Lorg/ton/bitstring/BitString; + public fun hash (Lorg/ton/tlb/TlbCodec;)Lorg/ton/bitstring/BitString; + public fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public abstract fun toCell (Lorg/ton/tlb/TlbCodec;)Lorg/ton/cell/Cell; + public static synthetic fun toCell$default (Lorg/ton/tlb/CellRef;Lorg/ton/tlb/TlbCodec;ILjava/lang/Object;)Lorg/ton/cell/Cell; + public static fun valueOf (Ljava/lang/Object;)Lorg/ton/tlb/CellRef; + public static fun valueOf (Ljava/lang/Object;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; + public static fun valueOf (Lorg/ton/cell/Cell;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; +} + +public final class org/ton/tlb/CellRef$Companion { + public final fun tlbCodec (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public final fun valueOf (Ljava/lang/Object;)Lorg/ton/tlb/CellRef; + public final fun valueOf (Ljava/lang/Object;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; + public final fun valueOf (Lorg/ton/cell/Cell;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; +} + +public final class org/ton/tlb/CellRefKt { + public static final fun CellRef (Ljava/lang/Object;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; + public static final fun CellRef (Lorg/ton/cell/Cell;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; + public static final fun CellRef (Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; + public static synthetic fun CellRef$default (Ljava/lang/Object;Lorg/ton/tlb/TlbCodec;ILjava/lang/Object;)Lorg/ton/tlb/CellRef; + public static final fun asRef (Lorg/ton/cell/Cell;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; + public static final fun loadRef (Lorg/ton/cell/CellSlice;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/CellRef; + public static final fun storeRef (Lorg/ton/cell/CellBuilder;Lorg/ton/tlb/TlbCodec;Lorg/ton/tlb/CellRef;)V +} + +public final class org/ton/tlb/ObjectTlbConstructor : org/ton/tlb/TlbConstructor { + public fun (Ljava/lang/Object;Ljava/lang/String;Lorg/ton/bitstring/BitString;)V + public synthetic fun (Ljava/lang/Object;Ljava/lang/String;Lorg/ton/bitstring/BitString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getInstance ()Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V +} + +public abstract interface class org/ton/tlb/TlbCodec : org/ton/tlb/TlbLoader, org/ton/tlb/TlbStorer { +} + +public final class org/ton/tlb/TlbCodecKt { + public static final fun loadNegatedTlb (Lorg/ton/cell/CellSlice;Lorg/ton/tlb/TlbNegatedLoader;)Lorg/ton/tlb/TlbNegatedResult; + public static final fun loadTlb (Lorg/ton/cell/CellSlice;Lorg/ton/tlb/TlbLoader;)Ljava/lang/Object; + public static final fun storeNegatedTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/tlb/TlbNegatedStorer;Ljava/lang/Object;)I + public static final fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/tlb/TlbStorer;Ljava/lang/Object;)Lorg/ton/cell/CellBuilder; +} + +public abstract class org/ton/tlb/TlbCombinator : org/ton/tlb/AbstractTlbCombinator, org/ton/tlb/providers/TlbCombinatorProvider { + public fun (Lkotlin/reflect/KClass;[Lkotlin/Pair;)V + protected fun findTlbLoaderOrNull (Lorg/ton/bitstring/BitString;)Lorg/ton/tlb/TlbLoader; + protected fun findTlbLoaderOrNull (Lorg/ton/cell/CellSlice;)Lorg/ton/tlb/TlbLoader; + protected fun findTlbStorerOrNull (Ljava/lang/Object;)Lorg/ton/tlb/TlbStorer; + public fun getBaseClass ()Lkotlin/reflect/KClass; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public abstract class org/ton/tlb/TlbConstructor : org/ton/tlb/AbstractTlbConstructor, org/ton/tlb/TlbCodec, org/ton/tlb/providers/TlbConstructorProvider { + public fun (Ljava/lang/String;Lorg/ton/bitstring/BitString;)V + public synthetic fun (Ljava/lang/String;Lorg/ton/bitstring/BitString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/tlb/TlbConstructorKt { + public static final fun asTlbCombinator (Lorg/ton/tlb/TlbConstructor;Lkotlin/reflect/KClass;)Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/tlb/TlbLoader { + public fun loadTlb (Lorg/ton/cell/Cell;)Ljava/lang/Object; + public abstract fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; +} + +public abstract interface class org/ton/tlb/TlbNegatedCodec : org/ton/tlb/TlbCodec, org/ton/tlb/TlbNegatedLoader, org/ton/tlb/TlbNegatedStorer { +} + +public abstract class org/ton/tlb/TlbNegatedCombinator : org/ton/tlb/TlbCombinator, org/ton/tlb/TlbNegatedCodec { + public fun (Lkotlin/reflect/KClass;[Lkotlin/Pair;)V + public fun loadNegatedTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/tlb/TlbNegatedResult; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun storeNegatedTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)I + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V +} + +public abstract class org/ton/tlb/TlbNegatedConstructor : org/ton/tlb/TlbConstructor, org/ton/tlb/TlbNegatedCodec { + public fun (Ljava/lang/String;Lorg/ton/bitstring/BitString;)V + public synthetic fun (Ljava/lang/String;Lorg/ton/bitstring/BitString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V +} + +public abstract interface class org/ton/tlb/TlbNegatedLoader : org/ton/tlb/TlbLoader { + public fun loadNegatedTlb (Lorg/ton/cell/Cell;)Lorg/ton/tlb/TlbNegatedResult; + public abstract fun loadNegatedTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/tlb/TlbNegatedResult; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; +} + +public final class org/ton/tlb/TlbNegatedResult { + public fun (ILjava/lang/Object;)V + public final fun component1 ()I + public final fun component2 ()Ljava/lang/Object; + public final fun copy (ILjava/lang/Object;)Lorg/ton/tlb/TlbNegatedResult; + public static synthetic fun copy$default (Lorg/ton/tlb/TlbNegatedResult;ILjava/lang/Object;ILjava/lang/Object;)Lorg/ton/tlb/TlbNegatedResult; + public fun equals (Ljava/lang/Object;)Z + public final fun getNum ()I + public final fun getValue ()Ljava/lang/Object; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/tlb/TlbNegatedStorer : org/ton/tlb/TlbStorer { + public abstract fun storeNegatedTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)I + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V +} + +public abstract interface class org/ton/tlb/TlbObject { + public abstract fun print (Lorg/ton/tlb/TlbPrettyPrinter;)Lorg/ton/tlb/TlbPrettyPrinter; + public static synthetic fun print$default (Lorg/ton/tlb/TlbObject;Lorg/ton/tlb/TlbPrettyPrinter;ILjava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; +} + +public final class org/ton/tlb/TlbPrettyPrinter { + public fun ()V + public fun (I)V + public fun (Ljava/lang/StringBuilder;)V + public fun (Ljava/lang/StringBuilder;I)V + public fun (Ljava/lang/StringBuilder;IZ)V + public synthetic fun (Ljava/lang/StringBuilder;IZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun close (Ljava/lang/String;)Lorg/ton/tlb/TlbPrettyPrinter; + public static synthetic fun close$default (Lorg/ton/tlb/TlbPrettyPrinter;Ljava/lang/String;ILjava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun field (Ljava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun field (Ljava/lang/String;Ljava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun invoke (Lkotlin/jvm/functions/Function1;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun newLine ()V + public final fun open (Ljava/lang/String;)Lorg/ton/tlb/TlbPrettyPrinter; + public static synthetic fun open$default (Lorg/ton/tlb/TlbPrettyPrinter;Ljava/lang/String;ILjava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; + public fun toString ()Ljava/lang/String; + public final fun type (Ljava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; + public final fun type (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Lorg/ton/tlb/TlbPrettyPrinter; + public static synthetic fun type$default (Lorg/ton/tlb/TlbPrettyPrinter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/ton/tlb/TlbPrettyPrinter; +} + +public final class org/ton/tlb/TlbPrettyPrinterKt { + public static final fun tlbPrettyPrinter (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String; + public static final fun tlbPrettyPrinter (Lkotlin/jvm/functions/Function1;)Ljava/lang/String; +} + +public abstract interface class org/ton/tlb/TlbStorer { + public fun createCell (Ljava/lang/Object;)Lorg/ton/cell/Cell; + public abstract fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V +} + +public final class org/ton/tlb/constructor/AnyTlbConstructor : org/ton/tlb/TlbCodec { + public static final field INSTANCE Lorg/ton/tlb/constructor/AnyTlbConstructor; + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Lorg/ton/cell/Cell; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Lorg/ton/cell/Cell;)V +} + +public final class org/ton/tlb/constructor/CellTlbConstructorKt { + public static final fun tlbCodec (Lorg/ton/cell/Cell$Companion;)Lorg/ton/tlb/TlbCodec; + public static final fun tlbCodec (Lorg/ton/cell/Cell$Companion;Lorg/ton/tlb/TlbCodec;)Lorg/ton/tlb/TlbCodec; +} + +public final class org/ton/tlb/constructor/IntTlbConstructor : org/ton/tlb/TlbConstructor { + public static final field Companion Lorg/ton/tlb/constructor/IntTlbConstructor$Companion; + public fun (I)V + public final fun getLength ()I + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/math/BigInteger; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/math/BigInteger;)V +} + +public final class org/ton/tlb/constructor/IntTlbConstructor$Companion { + public final fun byte (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun byte$default (Lorg/ton/tlb/constructor/IntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; + public final fun int (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun int$default (Lorg/ton/tlb/constructor/IntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; + public final fun long (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun long$default (Lorg/ton/tlb/constructor/IntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; + public final fun short (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun short$default (Lorg/ton/tlb/constructor/IntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; +} + +public class org/ton/tlb/constructor/UIntTlbConstructor : org/ton/tlb/TlbConstructor { + public static final field Companion Lorg/ton/tlb/constructor/UIntTlbConstructor$Companion; + public fun (I)V + public final fun getLength ()I + public synthetic fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/math/BigInteger; + public synthetic fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/math/BigInteger;)V +} + +public final class org/ton/tlb/constructor/UIntTlbConstructor$Companion { + public final fun byte (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun byte$default (Lorg/ton/tlb/constructor/UIntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; + public final fun int (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun int$default (Lorg/ton/tlb/constructor/UIntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; + public final fun long (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun long$default (Lorg/ton/tlb/constructor/UIntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; + public final fun short (I)Lorg/ton/tlb/TlbConstructor; + public static synthetic fun short$default (Lorg/ton/tlb/constructor/UIntTlbConstructor$Companion;IILjava/lang/Object;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/tlb/constructor/UIntTlbConstructorKt { + public static final fun tlbConstructor (Lkotlin/UInt$Companion;)Lorg/ton/tlb/TlbConstructor; + public static final fun tlbConstructor (Lkotlin/ULong$Companion;)Lorg/ton/tlb/TlbConstructor; +} + +public final class org/ton/tlb/exception/ParseTlbException : java/lang/RuntimeException { + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V +} + +public final class org/ton/tlb/exception/UnknownTlbConstructorException : java/lang/IllegalArgumentException { + public fun ()V + public fun (Lorg/ton/bitstring/BitString;)V + public synthetic fun (Lorg/ton/bitstring/BitString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getId ()Lorg/ton/bitstring/BitString; +} + +public abstract interface class org/ton/tlb/providers/TlbCombinatorProvider : org/ton/tlb/TlbCodec, org/ton/tlb/providers/TlbProvider { + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public abstract fun tlbCombinator ()Lorg/ton/tlb/TlbCombinator; +} + +public abstract interface class org/ton/tlb/providers/TlbConstructorProvider : org/ton/tlb/TlbCodec, org/ton/tlb/providers/TlbProvider { + public fun loadTlb (Lorg/ton/cell/CellSlice;)Ljava/lang/Object; + public fun storeTlb (Lorg/ton/cell/CellBuilder;Ljava/lang/Object;)V + public abstract fun tlbConstructor ()Lorg/ton/tlb/TlbConstructor; +} + +public abstract interface class org/ton/tlb/providers/TlbProvider : org/ton/tlb/TlbCodec { +} + diff --git a/ton-kotlin-tlb/build.gradle.kts b/tlb/build.gradle.kts similarity index 60% rename from ton-kotlin-tlb/build.gradle.kts rename to tlb/build.gradle.kts index b8c9f1a2..e005f59e 100644 --- a/ton-kotlin-tlb/build.gradle.kts +++ b/tlb/build.gradle.kts @@ -1,8 +1,13 @@ +plugins { + id("multiplatform") + id("publish") +} + kotlin { sourceSets { - val commonMain by getting { + commonMain { dependencies { - api(projects.tonKotlinCell) + api(projects.tonKotlinTvm) implementation(libs.atomicfu) implementation(kotlin("reflect")) } diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/AbstractTlbCombinator.kt b/tlb/src/AbstractTlbCombinator.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/AbstractTlbCombinator.kt rename to tlb/src/AbstractTlbCombinator.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/CellRef.kt b/tlb/src/CellRef.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/CellRef.kt rename to tlb/src/CellRef.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbCodec.kt b/tlb/src/TlbCodec.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbCodec.kt rename to tlb/src/TlbCodec.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbCombinator.kt b/tlb/src/TlbCombinator.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbCombinator.kt rename to tlb/src/TlbCombinator.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbConstructor.kt b/tlb/src/TlbConstructor.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbConstructor.kt rename to tlb/src/TlbConstructor.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbNegatedCombinator.kt b/tlb/src/TlbNegatedCombinator.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbNegatedCombinator.kt rename to tlb/src/TlbNegatedCombinator.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbObject.kt b/tlb/src/TlbObject.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbObject.kt rename to tlb/src/TlbObject.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbPrettyPrinter.kt b/tlb/src/TlbPrettyPrinter.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/TlbPrettyPrinter.kt rename to tlb/src/TlbPrettyPrinter.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/AnyTlbConstructor.kt b/tlb/src/constructor/AnyTlbConstructor.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/AnyTlbConstructor.kt rename to tlb/src/constructor/AnyTlbConstructor.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/CellTlbConstructor.kt b/tlb/src/constructor/CellTlbConstructor.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/CellTlbConstructor.kt rename to tlb/src/constructor/CellTlbConstructor.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/IntTlbConstructor.kt b/tlb/src/constructor/IntTlbConstructor.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/IntTlbConstructor.kt rename to tlb/src/constructor/IntTlbConstructor.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/UIntTlbConstructor.kt b/tlb/src/constructor/UIntTlbConstructor.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/constructor/UIntTlbConstructor.kt rename to tlb/src/constructor/UIntTlbConstructor.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/exception/ParseTlbException.kt b/tlb/src/exception/ParseTlbException.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/exception/ParseTlbException.kt rename to tlb/src/exception/ParseTlbException.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/exception/UnknownTlbConstructorException.kt b/tlb/src/exception/UnknownTlbConstructorException.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/exception/UnknownTlbConstructorException.kt rename to tlb/src/exception/UnknownTlbConstructorException.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/providers/TlbCombinatorProvider.kt b/tlb/src/providers/TlbCombinatorProvider.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/providers/TlbCombinatorProvider.kt rename to tlb/src/providers/TlbCombinatorProvider.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/providers/TlbConstructorProvider.kt b/tlb/src/providers/TlbConstructorProvider.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/providers/TlbConstructorProvider.kt rename to tlb/src/providers/TlbConstructorProvider.kt diff --git a/ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/providers/TlbProvider.kt b/tlb/src/providers/TlbProvider.kt similarity index 100% rename from ton-kotlin-tlb/src/commonMain/kotlin/org/ton/tlb/providers/TlbProvider.kt rename to tlb/src/providers/TlbProvider.kt diff --git a/ton-kotlin-adnl/README.md b/ton-kotlin-adnl/README.md deleted file mode 100644 index 2cfdf65c..00000000 --- a/ton-kotlin-adnl/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# ton-adnl - -Abstract Datagram Networking Layer Protocol implementation - -More about ADNL: [TON Whitepaper, section 3.1](https://ton-blockchain.github.io/docs/ton.pdf) diff --git a/ton-kotlin-adnl/build.gradle.kts b/ton-kotlin-adnl/build.gradle.kts deleted file mode 100644 index ab2d9cc9..00000000 --- a/ton-kotlin-adnl/build.gradle.kts +++ /dev/null @@ -1,44 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - api(projects.tonKotlinApi) - implementation(libs.serialization.json) - implementation(projects.tonKotlinLogger) - implementation(libs.atomicfu) - implementation(libs.datetime) - implementation(libs.coroutines.core) - implementation(libs.ktor.utils) - api("io.github.reactivecircus.cache4k:cache4k:0.9.0") - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - implementation(libs.coroutines.core) - implementation(libs.coroutines.test) - implementation(libs.coroutines.debug) - implementation(libs.ktor.utils) - implementation(projects.tonKotlinCrypto) - } - } - findByName("jvmMain")?.dependencies { - api(libs.ktor.network) - } - findByName("darwinMain")?.dependencies { - api(libs.ktor.network) - } - findByName("linuxMain")?.dependencies { - api(libs.ktor.network) - } - findByName("mingwMain")?.dependencies { - api(libs.ktor.utils) - } - findByName("jvmTest")?.dependencies { - implementation(libs.coroutines.jvm) - implementation(libs.ktor.client.cio) - implementation(libs.ktor.utils) - implementation("org.jetbrains.kotlinx:lincheck:2.17") - } - } -} diff --git a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/CachedAdnlAddressResolver.kt b/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/CachedAdnlAddressResolver.kt deleted file mode 100644 index c4ccb77b..00000000 --- a/ton-kotlin-adnl/src/commonMain/kotlin/org/ton/adnl/resolver/CachedAdnlAddressResolver.kt +++ /dev/null @@ -1,26 +0,0 @@ -package org.ton.adnl.resolver - -import io.github.reactivecircus.cache4k.Cache -import org.ton.api.adnl.AdnlAddress -import org.ton.api.adnl.AdnlIdShort -import org.ton.api.pub.PublicKey -import kotlin.time.Duration - -public class CachedAdnlAddressResolver( - private val delegate: AdnlAddressResolver, - ttl: Duration -) : AdnlAddressResolver { - private val cache = Cache.Builder() - .expireAfterWrite(ttl) - .build>>() - - override suspend fun resolve(address: AdnlIdShort): Pair>? { - val cached = cache.get(address) - if (cached != null) return cached - val resolved = delegate.resolve(address) - if (resolved != null) { - cache.put(address, resolved) - } - return resolved - } -} diff --git a/ton-kotlin-adnl/src/commonTest/kotlin/org/ton/adnl/AdnlLoopbackNetworkEngine.kt b/ton-kotlin-adnl/src/commonTest/kotlin/org/ton/adnl/AdnlLoopbackNetworkEngine.kt deleted file mode 100644 index 6e31133f..00000000 --- a/ton-kotlin-adnl/src/commonTest/kotlin/org/ton/adnl/AdnlLoopbackNetworkEngine.kt +++ /dev/null @@ -1,27 +0,0 @@ -package org.ton.adnl - -import io.ktor.utils.io.core.* -import kotlinx.coroutines.channels.Channel -import org.ton.adnl.engine.AdnlNetworkEngine -import org.ton.api.adnl.AdnlAddressList -import org.ton.api.adnl.AdnlAddressUdp - -class AdnlLoopbackNetworkEngine : AdnlNetworkEngine { - private val channel = Channel>() - - override suspend fun sendDatagram(adnlAddress: AdnlAddressUdp, payload: ByteReadPacket) { - channel.send(adnlAddress to payload) - } - - override suspend fun receiveDatagram(): Pair { - return channel.receive() - } - - companion object { - val DUMMY_ADDRESS_LIST = AdnlAddressList( - addrs = listOf( - AdnlAddressUdp(1, 1) - ) - ) - } -} diff --git a/ton-kotlin-adnl/src/commonTest/kotlin/org/ton/adnl/AdnlTest.kt b/ton-kotlin-adnl/src/commonTest/kotlin/org/ton/adnl/AdnlTest.kt deleted file mode 100644 index d21872d6..00000000 --- a/ton-kotlin-adnl/src/commonTest/kotlin/org/ton/adnl/AdnlTest.kt +++ /dev/null @@ -1,31 +0,0 @@ -package org.ton.adnl - -import kotlinx.coroutines.runBlocking -import org.ton.api.pk.PrivateKeyEd25519 -import org.ton.tl.ByteString.Companion.toByteString - -class AdnlTest { -// @Test - fun test(): Unit = runBlocking { - val adnl = Adnl.create(AdnlLoopbackNetworkEngine()) - - val pk1 = PrivateKeyEd25519() - val pub1 = pk1.publicKey() - val src = pub1.toAdnlIdShort() - - val pk2 = PrivateKeyEd25519() - val pub2 = pk2.publicKey() - val dest = pub2.toAdnlIdShort() - - adnl.addLocalId(pk1) - adnl.addLocalId(pk2) - - adnl.addPeer(src, pub2, AdnlLoopbackNetworkEngine.DUMMY_ADDRESS_LIST) - - adnl.subscribeMessage(dest) { src, dest, msg -> - println("src=$src dest=$dest : $msg") - } - - adnl.sendMessage(src, dest, "hello".encodeToByteArray().toByteString()) - } -} diff --git a/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/AdnlMessagePartDecoderConcurrentTest.kt b/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/AdnlMessagePartDecoderConcurrentTest.kt deleted file mode 100644 index 5ec7204c..00000000 --- a/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/AdnlMessagePartDecoderConcurrentTest.kt +++ /dev/null @@ -1,38 +0,0 @@ -//package org.ton.adnl.client -// -//import org.jetbrains.kotlinx.lincheck.RandomProvider -//import org.jetbrains.kotlinx.lincheck.annotations.Operation -//import org.jetbrains.kotlinx.lincheck.annotations.Param -//import org.jetbrains.kotlinx.lincheck.check -//import org.jetbrains.kotlinx.lincheck.paramgen.ParameterGenerator -//import org.jetbrains.kotlinx.lincheck.strategy.stress.StressOptions -//import org.ton.adnl.peer.AdnlMessagePartDecoder -//import org.ton.api.adnl.message.AdnlMessagePart -//import org.ton.crypto.digest.sha256 -//import kotlin.test.Test -// -//@Param(name = "part", gen = PartGenerator::class) -//class AdnlMessagePartDecoderConcurrentTest { -// private val decoder = AdnlMessagePartDecoder() -// -// @Operation -// fun add(@Param(name = "part") part: AdnlMessagePart) = decoder.decode(part) -// -// @Test -// fun test() = StressOptions().check(this::class) -//} -// -//class PartGenerator( -// val randomProvider: RandomProvider, -// val conf: String -//) : ParameterGenerator { -// val random = randomProvider.createRandom() -// val byteArray = ByteArray(100) { it.toByte() } -// val hash = sha256(byteArray) -// -// private val array = Array(10) { -// AdnlMessagePart(hash, byteArray.size, it * 10, byteArray.copyOfRange(it * 10, it * 10 + 10)) -// } -// -// override fun generate(): AdnlMessagePart = array.random(random) -//} diff --git a/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/AdnlTest.kt b/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/AdnlTest.kt deleted file mode 100644 index b62c5c70..00000000 --- a/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/AdnlTest.kt +++ /dev/null @@ -1,27 +0,0 @@ -package org.ton.adnl.client - -import org.ton.adnl.ipv4 -import org.ton.adnl.resolver.MapAdnlAddressResolver -import org.ton.api.adnl.AdnlAddressUdp -import org.ton.api.pk.PrivateKeyEd25519 -import kotlin.test.Test - -class AdnlTest { - @Test - fun a() { - val key1 = PrivateKeyEd25519() - val key2 = PrivateKeyEd25519() - - val resolver = MapAdnlAddressResolver( - map = mapOf( - key1.toAdnlIdShort() to (key1.publicKey() to listOf( - AdnlAddressUdp(ipv4("0.0.0.0"), 1000) - )), - key2.toAdnlIdShort() to (key2.publicKey() to listOf( - AdnlAddressUdp(ipv4("0.0.0.0"), 2000) - )) - ) - ) - - } -} diff --git a/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/ClientConnectionTest.kt b/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/ClientConnectionTest.kt deleted file mode 100644 index 33f4cc3e..00000000 --- a/ton-kotlin-adnl/src/jvmTest/kotlin/org/ton/adnl/client/ClientConnectionTest.kt +++ /dev/null @@ -1,81 +0,0 @@ -package org.ton.adnl.client - -import kotlinx.coroutines.debug.junit4.CoroutinesTimeout -import org.junit.Rule - -class ClientConnectionTest { - @get:Rule - val timeout = CoroutinesTimeout.seconds(15) - -// @Ignore -// fun adnlSocketTest() = runBlocking { -// val socket = aSocket(SelectorManager()) -// .tcp() -// .connect(ipv4(908566172), 51565) -// .adnl(Dispatchers.Default) { -// serverPublicKey = PublicKeyEd25519(base64("TDg+ILLlRugRB4Kpg3wXjPcoc+d+Eeb7kuVe16CS9z8=")) -// } -// -// val channel = socket.openWriteChannel() -// -// val queryId = buildPacket { -// writeLong(Clock.System.now().epochSeconds) -// writeFully(Random.nextBytes(24)) -// }.readBytes() -// -// channel.apply { -// writePacket(testAdnlMessageQuery(queryId)) -// flush() -// } -// delay(1000) -// val answer = socket.openReadChannel().readRemaining(48) -// assertEquals( -// 0x1684ac0f, -// answer.readInt() -// ) // crc32("adnl.message.answer query_id:int256 answer:bytes = adnl.Message") -// assertContentEquals(queryId, answer.readBytes(32)) // query_id:bytes -// assertEquals(8, answer.readByte()) // answer:bytes length -// assertEquals(0x0d0053e9, answer.readInt()) // crc32("liteServer.currentTime now:int = liteServer.CurrentTime") -// val serverTime = Instant.fromEpochSeconds(answer.readIntLittleEndian().toLong()) -// println("server time: $serverTime") -// assertContentEquals(ByteArray(3), answer.readBytes()) -// } -// -// private fun testAdnlMessageQuery(queryId: ByteArray): ByteReadPacket { -// val liteServerGetTime = buildPacket { -// writeInt(0x345aad16) // crc32("liteServer.getTime = liteServer.CurrentTime") -// } -// assertContentEquals( -// hex("345aad16"), -// liteServerGetTime.copy().readBytes() -// ) -// -// val liteServerQuery = buildPacket { -// writeInt(0xdf068c79.toInt()) // crc32("liteServer.query data:bytes = Object") -// writeByte(liteServerGetTime.remaining.toByte()) // data:bytes length -// writePacket(liteServerGetTime) // data:bytes -// repeat(4 - ceil(liteServerGetTime.remaining.toInt() + 1 / 4.0).toInt()) { -// writeByte(0) // data:bytes padding -// } -// } -// assertContentEquals( -// hex("df068c7904345aad16000000"), -// liteServerQuery.copy().readBytes() -// ) -// -// val adnlMessageQuery = buildPacket { -// writeInt(0x7af98bb4) // crc32("adnl.message.query query_id:int256 query:bytes = adnl.Message") -// writeFully(queryId) // query_id:int256 -// writeByte(liteServerQuery.remaining.toByte()) // query:bytes length -// writePacket(liteServerQuery) -// repeat(4 - ceil(liteServerQuery.remaining.toInt() + 1 / 4.0).toInt()) { -// writeByte(0) // query:bytes padding -// } -// } -// assertContentEquals( -// hex("7af98bb4") + queryId + hex("0cdf068c7904345aad16000000000000"), -// adnlMessageQuery.copy().readBytes() -// ) -// return adnlMessageQuery -// } -} diff --git a/ton-kotlin-api/src/commonTest/resources/global-config.json b/ton-kotlin-api/src/commonTest/resources/global-config.json deleted file mode 100644 index 7d42433a..00000000 --- a/ton-kotlin-api/src/commonTest/resources/global-config.json +++ /dev/null @@ -1,983 +0,0 @@ -{ - "@type": "config.global", - "dht": { - "@type": "dht.config.global", - "k": 6, - "a": 3, - "static_nodes": { - "@type": "dht.nodes", - "nodes": [ - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "NutLY+VWoaLqgpNCdOR8Jp+Cf2gnDjToza9d+qUnHyE=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 2130706433, - "port": 15876 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "Pb7fVqjtgvnqdTHtfJmTzvaZ7gZpkDeKThrRYTXmlpiDtPcCjijQW+m6Zg5V9ZGt2hVljnLbfvC48K4iYqzRBQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "Tr5TtwdWtLH53F/aOm0eUiwNEOlS7A+AV24wNI7uD9I=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 2130706433, - "port": 15876 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "W6R7JLsLHaGKN6xnLbqydm8vVb+q/MqYmOwZvTWHx7EPOq7Y2eO4J0kf+4VVuQ5juLbZyATN5/gCbR6NPkvlDQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "C1uy64rfGxp10SPSqbsxWhbumy5SM0YbvljCudwpZeI=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1307380867, - "port": 15888 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "s+tnHMTzPYG8abau+1dUs8tBJ+CDt+jIPmGfaVd7nmfb1gt6lL10G2IwkNeWhkxjZcAHRc0azWFVxp+IjIOOBQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "bn8klhFZgE2sfIDfvVI6m6+oVNi1nBRlnHoxKtR9WBU=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1307380860, - "port": 15888 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "fQ5zAa6ot4pfFWzvuJOR8ijM5ELWndSDsRhFKstW1tqVSNfwAdOC7tDC8mc4vgTJ6fSYSWmhnXGK/+T5f6sDCw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "KlNrfVSyO6oISNi4Bx8J2klAN4RnKmEPQpfr1bghGSk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1307380856, - "port": 15888 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "0/1trU+HDc+Co/q8gw5lPrSJH9YCOXxVh0caR2CGqXE5820DguuSmVnnLQ9S2+RmxHv0biYZuH8FiJv2wPwyDA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "HU0bQDDmXnUENi2qQgGUQSopWz+s0dFA1l6NgB6HdQ0=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1185526389, - "port": 26907 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "RrZILQv72PtJ/oADGh+txXgo6qfUL9RFLU+YjMXsMZTAo2lCWYwNoeFOEZrS5MKfLmkL6O0MmOR/EEAFrr3mAw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "xHfihhu4rFeKUNjxH2aHCJIG1s9PTaypqjocrm82U24=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1560268637, - "port": 29503 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "m+ah3Bn9AMaV13QaXrfT/c/z1fY6DzDMQkCEIgByXygnskwYwTfWxa8Z7DXy80UX2OYpSL8GwTJ4HpQsdcxMCA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "4R0C/zU56k+x2HGMsLWjX2rP/SpoTPIHSSAmidGlsb8=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1952265919, - "port": 14395 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "0uwWyCFn2KjPnnlbSFYXLZdwIakaSgI9WyRo87J3iCGwb5TvJSztgA224A9kNAXeutOrXMIPYv1b8Zt8ImsrCg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "/YDNd+IwRUgL0mq21oC0L3RxrS8gTu0nciSPUrhqR78=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1402455171, - "port": 14432 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "6+oVk6HDtIFbwYi9khCc8B+fTFceBUo1PWZDVTkb4l84tscvr5QpzAkdK7sS5xGzxM7V7YYQ6gUQPrsP9xcLAw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "DA0H568bb+LoO2LGY80PgPee59jTPCqqSJJzt1SH+KE=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1402397332, - "port": 14583 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "cL79gDTrixhaM9AlkCdZWccCts7ieQYQBmPxb/R7d7zHw3bEHL8Le96CFJoB1KHu8C85iDpFK8qlrGl1Yt/ZDg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "fZnkoIAxrTd4xeBgVpZFRm5SvVvSx7eN3Vbe8c83YMk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091897261, - "port": 15813 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "cmaMrV/9wuaHOOyXYjoxBnckJktJqrQZ2i+YaY3ehIyiL3LkW81OQ91vm8zzsx1kwwadGZNzgq4hI4PCB/U5Dw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "zDBLsKjns4bBqQokzY0wOzC2vwbOeiE1J7aOjfCp5mg=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1573440928, - "port": 12821 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "qORMhem9RyG7wnNYF822YL3EXwEoTO82h2TarFbjd0jikMIGizAdir1JyxSfyKkhHdFKGcLMeoPb2dfMIvQwAA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "CU9ytJok8WBnpl29T740gfC/h69kgvQJp7FJMq/N60g=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 391653587, - "port": 15895 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "DKyGF2nPRxmerpIHxE5FN1Lod3zvJu728NP0iYc1hpNyPvl5epu+7amjimLy1VdzNqFzTJAoJ/gqPPMkXS/kDw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "d1lL6xZO8UWMzkWD++8Yr3hf6585X6qoOZZTeLtGl4o=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1537553981, - "port": 18513 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "sDxyCuvZmi9fJvQl4DEBKZOlt532xflnVD1dvC2ia2Na5MN8dT6x4HizEpS4pUqky8LzR/A/4BCqIQXhD45vDg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "SP2Bjle9u+GoZhlEhm3mIPiND3Yh+Nr7QsgV6bGPw/I=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1591529174, - "port": 11369 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "qbbeE53SOyUvOWD2hIZmTyZGY4k2XHxgldqBIakBma33oC5sWDD/+cApuFLMbi2Gnd6fQtQ3LaZtfQzJrCiYAw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "76SsMv8NrqzkCFEVumZEx2phYYSUZvSH3UlUTuPdZYk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1906451518, - "port": 16937 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "YgrIN/KH3XVPyk09wgZbFaXLZ/BeGjvfO6ohxN4M8Tp/CsYN0G3tNLSjJGeuH22bIKMFRoEpp3v7Sz54Q/FTCg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "39QMN3uUgYxgu67GxapW+T3YAM8N+pU4/AmwM89aH9E=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2134382694, - "port": 7651 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "/mSDe4QY5JAmG4WOQDCN3pKHYkGxOZ8g74fYbqDJ2e2UDg38+s1ecC3+n6RfU74sz0KUNYlcHAopu6VrWA7PAg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "IHrCooudVGonmudcmTZYk+Pfdsxz2NGws33bHtXnOv8=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1882838653, - "port": 41623 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "pm3PQn0ZYQH7SkmK/8q4p1igFKxJSQLCmVcFtyaRxEV9ecjvB5PiW3o3wfrTRPk0v0mnFmH8UuYtLEztj+LcBw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "eDPKd9v6aHhutnHU3z2ykV4eUA3LdFI+oSBg6z8JyS0=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1481864647, - "port": 22261 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "InY5jkkQ6fuJtutkmlPLYEhqQ0F4DyEhqoPB4KMBIJc8hhZFzm4jNAxSfy3VVQbACdJ/pj76qbjaktG/m1ipDQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "znOAvy1ECxyzeKishi4PdSO2edaVx78wynVyNKLBmQ8=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1068377703, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "KLH17nNKmOk3carKwbsUcVBc4JZpdAUdUOMxe8FSyqnkOw/lolnltbylJcC+lvPpIV5ySI/Qx8UZdNRV/4HzCA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "Qjhv9rmeqXm0a+nYYhCJG1AH7C2TM6DAmyIM3FgO0Eo=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1057912003, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "2Gw5eIsZR+SdbWCU139DCuBI8Rv8T9iUioxDkgV6/IjcCHf6hNz8WCyUsKd5l5P1NBs/kdaxUBIybINDpYXoCw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "2YsTRIu3aRYzZe8eoR8PK2N2ydHJyKllwKcLPk676d4=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1057911744, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "9/TJsaj0wELvRKXVIrBdyZWjgLKhfSvl7v0Oqq/9p9MsU/t9iRuGcpAzHqQF4bQAWrN8j9ARwMumRata7dH8Bg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "SHrXmMEEUBGa51TWZwHSA+2RF4Vyavw51jgtnAz1ypU=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1057911148, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "R4ku8+tvjKSLIGe18zWHBHDv1maQHD5tGbAUOgbldGpBvfqH+/b76XkJjJzDsjnCO/bpxwUZfcI1sM1h6vFJCQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "G+Lr6UtSWUcyYHTUutwbxrIG9GGZan3h96j8qQPLIXQ=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -960017601, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "fWU9hSNLvmaSCQOBW9M4Lja5pIWcqOzU1g9vtSywdgtASj9oQpwAslvr2sjNh9E2Np1c26NW8Sc5gUKf8YY7BA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "/tp8WsXfk/XpzOyaaxuOlvbOhDoH7/L81eWi0QMn0gg=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 84478511, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "2kA9P0LBI7H8gmmGsnZ2bQPZP3rZDFugrc5zQWlFrPIMLvwH7/J69HIGCVYgcaEsf0HMnIJeUMl5n4qFp0quBQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "fnYl5kAHcbhK65FbYxfwk83X1Sn6ZiuXWMD0F0Rh+v4=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 84478479, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "h+K+YttdhqE4LzihZTnKLFBiXyY79Rqqcx8dCbkDVXu3FD7ZrTBNV5b/bf7BQbuF0PXTc7YqH0jEmqz8aX6aBg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "HwOhm4Vh1YGqBNmUrDwJpeo8kXAPI7J3sSH38JaAyzQ=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018145068, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "Ianf1Wm9Y6HT9r32LFNUieKi86cSBbCckczHy+ZyBo15MpIsZxouUgfAyeW20sZm1hN5+Yx4lPwzL+Ovm6KaCw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "CXo+qxdYclubZqoqvVhoeYDdPV+VhlWcurf2OX0iPZs=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018145059, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "P72kraIX5pIxQBnh7It4kyK6MPuZ56ZFZKZxegtrxwx/Vpi1wQ4PsfxWf6N0HojbNMYsVZsvwHYTLxj5nhd6Dw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "KiKtUV+kJWBd+M29zNvtRqdvUrtX4lfi5CyY+DRm+lk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931625, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "GjarYvxTVPik8m5yI9Eq/1lW/8CuReBdhUdFUb4wJJVVc/EvHf7j47mY5ECskHjeo9MYttgF/9KQaf8KNea1Dg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "o15mg8SB9CY2m971NvU+aCzAEnZFg3iAnIsqBMmqnj0=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931590, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "6mJPM7RZMOL5uCMRCGINjxAG7L7LHt7o89caD7Kk75ahpwAhqJ3ri9zL1rzJZjmyOMLkPoGcckJsG8phCRbVDQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "VCu471G41Hj8onyyeJdq8t6AZu3SR7BoGuCLs8SppBk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931623, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "7cOhypsjGb4xczR20M6eg7ly8sdvzdodkKVXzvr00FsXHcguz6bP0zm/dwhiQgsJgSosYypCk/LvKQrMy+C3AQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "0uEnHB6Rg4sVjiepDgHoZ3CuKjCRjU3ul4IGmmZZoig=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931589, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "ju40qeS5mgbJDMLUxL7qSquSdqgo3Uib4Z/Va/bpIWJJA0W3VQStJMBbV/pQySi6MoM794Du3o8Gl1bjdpwDAg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "MJr8xja0xpu9DoisFXBrkNHNx1XozR7HHw9fJdSyEdo=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018147130, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "XcR5JaWcf4QMdI8urLSc1zwv5+9nCuItSE1EDa0dSwYF15R/BtJoKU5YHA4/T8SiO18aVPQk2SL1pbhevuMrAQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "Fhldu4zlnb20/TUj9TXElZkiEmbndIiE/DXrbGKu+0c=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018147075, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "nUGB77UAkd2+ZAL5PgInb3TvtuLLXJEJ2icjAUKLv4qIGB3c/O9k/v0NKwSzhsMP0ljeTGbcIoMDw24qf3goCg==" - } - ] - } - }, - "liteservers": [ - { - "ip": 1137658550, - "port": 4924, - "id": { - "@type": "pub.ed25519", - "key": "peJTw/arlRfssgTuf9BMypJzqOi7SXEqSPSWiEw2U1M=" - } - }, - { - "ip": 84478511, - "port": 19949, - "id": { - "@type": "pub.ed25519", - "key": "n4VDnSCUuSpjnCyUk9e3QOOd6o0ItSWYbTnW3Wnn8wk=" - } - }, - { - "ip": 84478479, - "port": 48014, - "id": { - "@type": "pub.ed25519", - "key": "3XO67K/qi+gu3T9v8G2hx1yNmWZhccL3O7SoosFo8G0=" - } - }, - { - "ip": -2018135749, - "port": 53312, - "id": { - "@type": "pub.ed25519", - "key": "aF91CuUHuuOv9rm2W5+O/4h38M3sRm40DtSdRxQhmtQ=" - } - }, - { - "ip": -2018145068, - "port": 13206, - "id": { - "@type": "pub.ed25519", - "key": "K0t3+IWLOXHYMvMcrGZDPs+pn58a17LFbnXoQkKc2xw=" - } - }, - { - "ip": -2018145059, - "port": 46995, - "id": { - "@type": "pub.ed25519", - "key": "wQE0MVhXNWUXpWiW5Bk8cAirIh5NNG3cZM1/fSVKIts=" - } - }, - { - "ip": 868462740, - "port": 4194, - "id": { - "@type": "pub.ed25519", - "key": "8sEr/sw8EmFyuJaOQlbNbT0IKj8NtoCsFw5052hVvHw=" - } - }, - { - "ip": 1091931625, - "port": 30131, - "id": { - "@type": "pub.ed25519", - "key": "wrQaeIFispPfHndEBc0s0fx7GSp8UFFvebnytQQfc6A=" - } - }, - { - "ip": 1091931590, - "port": 47160, - "id": { - "@type": "pub.ed25519", - "key": "vOe1Xqt/1AQ2Z56Pr+1Rnw+f0NmAA7rNCZFIHeChB7o=" - } - }, - { - "ip": 1091931623, - "port": 17728, - "id": { - "@type": "pub.ed25519", - "key": "BYSVpL7aPk0kU5CtlsIae/8mf2B/NrBi7DKmepcjX6Q=" - } - }, - { - "ip": 1091931589, - "port": 13570, - "id": { - "@type": "pub.ed25519", - "key": "iVQH71cymoNgnrhOT35tl/Y7k86X5iVuu5Vf68KmifQ=" - } - }, - { - "ip": -1539021362, - "port": 52995, - "id": { - "@type": "pub.ed25519", - "key": "QnGFe9kihW+TKacEvvxFWqVXeRxCB6ChjjhNTrL7+/k=" - } - }, - { - "ip": -1539021936, - "port": 20334, - "id": { - "@type": "pub.ed25519", - "key": "gyLh12v4hBRtyBygvvbbO2HqEtgl+ojpeRJKt4gkMq0=" - } - }, - { - "ip": -1136338705, - "port": 19925, - "id": { - "@type": "pub.ed25519", - "key": "ucho5bEkufbKN1JR1BGHpkObq602whJn3Q3UwhtgSo4=" - } - }, - { - "ip": 868465979, - "port": 19434, - "id": { - "@type": "pub.ed25519", - "key": "J5CwYXuCZWVPgiFPW+NY2roBwDWpRRtANHSTYTRSVtI=" - } - }, - { - "ip": 868466060, - "port": 23067, - "id": { - "@type": "pub.ed25519", - "key": "vX8d0i31zB0prVuZK8fBkt37WnEpuEHrb7PElk4FJ1o=" - } - }, - { - "ip": -2018147130, - "port": 53560, - "id": { - "@type": "pub.ed25519", - "key": "NlYhh/xf4uQpE+7EzgorPHqIaqildznrpajJTRRH2HU=" - } - }, - { - "ip": -2018147075, - "port": 46529, - "id": { - "@type": "pub.ed25519", - "key": "jLO6yoooqUQqg4/1QXflpv2qGCoXmzZCR+bOsYJ2hxw=" - } - }, - { - "ip": 908566172, - "port": 51565, - "id": { - "@type": "pub.ed25519", - "key": "TDg+ILLlRugRB4Kpg3wXjPcoc+d+Eeb7kuVe16CS9z8=" - } - }, - { - "ip": -1185526007, - "port": 4701, - "id": { - "@type": "pub.ed25519", - "key": "G6cNAr6wXBBByWDzddEWP5xMFsAcp6y13fXA8Q7EJlM=" - } - } - ], - "validator": { - "@type": "validator.config.global", - "zero_state": { - "workchain": -1, - "shard": -9223372036854775808, - "seqno": 0, - "root_hash": "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=", - "file_hash": "XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24=" - }, - "init_block": { - "root_hash": "iyOany4cPE2u6h/Um7OAmHDQ+Nba8Am+g/qZJ5M4P9M=", - "seqno": 18155329, - "file_hash": "Yqmli3gIUgt3KjeU4n2d1ZmcJ3R4zJBMYWhM+tZF4V8=", - "workchain": -1, - "shard": -9223372036854775808 - }, - "hardforks": [ - { - "file_hash": "t/9VBPODF7Zdh4nsnA49dprO69nQNMqYL+zk5bCjV/8=", - "seqno": 8536841, - "root_hash": "08Kpc9XxrMKC6BF/FeNHPS3MEL1/Vi/fQU/C9ELUrkc=", - "workchain": -1, - "shard": -9223372036854775808 - } - ] - } -} \ No newline at end of file diff --git a/ton-kotlin-api/src/commonTest/resources/ton_api.tl b/ton-kotlin-api/src/commonTest/resources/ton_api.tl deleted file mode 100644 index ac978cce..00000000 --- a/ton-kotlin-api/src/commonTest/resources/ton_api.tl +++ /dev/null @@ -1,704 +0,0 @@ -int ? = Int; -long ? = Long; -double ? = Double; -string ? = String; -object ? = Object; -function ? = Function; -bytes data:string = Bytes; -true = True; -boolTrue = Bool; -boolFalse = Bool; - - -vector {t:Type} # [ t ] = Vector t; - -int128 4*[ int ] = Int128; -int256 8*[ int ] = Int256; - -testObject value:int o:object f:function = TestObject; -testString value:string = TestObject; -testInt value:int = TestObject; -testVectorBytes value:(vector bytes) = TestObject; - -tcp.pong random_id:long = tcp.Pong; - -tcp.authentificate nonce:bytes = tcp.Message; -tcp.authentificationNonce nonce:bytes = tcp.Message; -tcp.authentificationComplete key:PublicKey signature:bytes = tcp.Message; - -fec.raptorQ data_size:int symbol_size:int symbols_count:int = fec.Type; -fec.roundRobin data_size:int symbol_size:int symbols_count:int = fec.Type; -fec.online data_size:int symbol_size:int symbols_count:int = fec.Type; - ----functions--- - -tcp.ping random_id:long = tcp.Pong; - -getTestObject = TestObject; - ----types--- - -pk.unenc data:bytes = PrivateKey; -pk.ed25519 key:int256 = PrivateKey; -pk.aes key:int256 = PrivateKey; -pk.overlay name:bytes = PrivateKey; - -pub.unenc data:bytes = PublicKey; -pub.ed25519 key:int256 = PublicKey; -pub.aes key:int256 = PublicKey; -pub.overlay name:bytes = PublicKey; - - ----functions--- - ----types--- - -adnl.id.short id:int256 = adnl.id.Short; - -adnl.proxyToFastHash ip:int port:int date:int data_hash:int256 shared_secret:int256 = adnl.ProxyTo; -adnl.proxyToFast ip:int port:int date:int signature:int256 = adnl.ProxyToSign; - -adnl.proxy.none id:int256 = adnl.Proxy; -adnl.proxy.fast id:int256 shared_secret:bytes = adnl.Proxy; - - -adnl.address.udp ip:int port:int = adnl.Address; -adnl.address.udp6 ip:int128 port:int = adnl.Address; -//adnl.address.tcp ip:int port:int = adnl.Address; -//adnl.address.tcp6 ip:int128 port:int = adnl.Address; - -adnl.address.tunnel to:int256 pubkey:PublicKey = adnl.Address; - -adnl.addressList addrs:(vector adnl.Address) version:int reinit_date:int priority:int expire_at:int = adnl.AddressList; - -adnl.node id:PublicKey addr_list:adnl.addressList = adnl.Node; -adnl.nodes nodes:(vector adnl.node) = adnl.Nodes; - ----functions--- - ----types--- - -adnl.packetContents - rand1:bytes - flags:# - from:flags.0?PublicKey - from_short:flags.1?adnl.id.short - message:flags.2?adnl.Message - messages:flags.3?(vector adnl.Message) - address:flags.4?adnl.addressList - priority_address:flags.5?adnl.addressList - seqno:flags.6?long - confirm_seqno:flags.7?long - recv_addr_list_version:flags.8?int - recv_priority_addr_list_version:flags.9?int - reinit_date:flags.10?int - dst_reinit_date:flags.10?int - signature:flags.11?bytes - rand2:bytes - = adnl.PacketContents; - -adnl.tunnelPacketContents - rand1:bytes - flags:# - from_ip:flags.0?int - from_port:flags.0?int - message:flags.1?bytes - statistics:flags.2?bytes - payment:flags.3?bytes - rand2:bytes - = adnl.TunnelPacketContents; - - -// flag 16 - packet is outbound -// flag 17 - control packet -adnl.proxyPacketHeader - proxy_id:int256 - flags:# - ip:flags.0?int - port:flags.0?int - adnl_start_time:flags.1?int - seqno:flags.2?long - date:flags.3?int - signature:int256 = adnl.ProxyPacketHeader; - -adnl.proxyControlPacketPing id:int256 = adnl.ProxyControlPacket; -adnl.proxyControlPacketPong id:int256 = adnl.ProxyControlPacket; -adnl.proxyControlPacketRegister ip:int port:int = adnl.ProxyControlPacket; - - -adnl.message.createChannel key:int256 date:int = adnl.Message; -adnl.message.confirmChannel key:int256 peer_key:int256 date:int = adnl.Message; - -adnl.message.custom data:bytes = adnl.Message; - -adnl.message.nop = adnl.Message; -adnl.message.reinit date:int = adnl.Message; - -adnl.message.query query_id:int256 query:bytes = adnl.Message; -adnl.message.answer query_id:int256 answer:bytes = adnl.Message; - -adnl.message.part hash:int256 total_size:int offset:int data:bytes = adnl.Message; - ----functions--- ----types--- - -adnl.db.node.key local_id:int256 peer_id:int256 = adnl.db.Key; -adnl.db.node.value date:int id:PublicKey addr_list:adnl.addressList priority_addr_list:adnl.addressList = adnl.db.node.Value; - ----functions--- - - ----types--- - -rldp2.messagePart transfer_id:int256 fec_type:fec.Type part:int total_size:long seqno:int data:bytes = rldp2.MessagePart; -rldp2.confirm transfer_id:int256 part:int max_seqno:int received_mask:int received_count:int = rldp2.MessagePart; -rldp2.complete transfer_id:int256 part:int = rldp2.MessagePart; - -rldp.messagePart transfer_id:int256 fec_type:fec.Type part:int total_size:long seqno:int data:bytes = rldp.MessagePart; -rldp.confirm transfer_id:int256 part:int seqno:int = rldp.MessagePart; -rldp.complete transfer_id:int256 part:int = rldp.MessagePart; - -rldp.message id:int256 data:bytes = rldp.Message; -rldp.query query_id:int256 max_answer_size:long timeout:int data:bytes = rldp.Message; -rldp.answer query_id:int256 data:bytes = rldp.Message; - - ----functions--- ----types--- -dht.node id:PublicKey addr_list:adnl.addressList version:int signature:bytes = dht.Node; -dht.nodes nodes:(vector dht.node) = dht.Nodes; - -dht.key id:int256 name:bytes idx:int = dht.Key; - -dht.updateRule.signature = dht.UpdateRule; -dht.updateRule.anybody = dht.UpdateRule; -dht.updateRule.overlayNodes = dht.UpdateRule; - -dht.keyDescription key:dht.key id:PublicKey update_rule:dht.UpdateRule signature:bytes = dht.KeyDescription; - -dht.value key:dht.keyDescription value:bytes ttl:int signature:bytes = dht.Value; - -dht.pong random_id:long = dht.Pong; - -dht.valueNotFound nodes:dht.nodes = dht.ValueResult; -dht.valueFound value:dht.Value = dht.ValueResult; - -dht.stored = dht.Stored; -dht.message node:dht.node = dht.Message; - -dht.db.bucket nodes:dht.nodes = dht.db.Bucket; -dht.db.key.bucket id:int = dht.db.Key; - ----functions--- - -dht.ping random_id:long = dht.Pong; -dht.store value:dht.value = dht.Stored; -dht.findNode key:int256 k:int = dht.Nodes; -dht.findValue key:int256 k:int = dht.ValueResult; -dht.getSignedAddressList = dht.Node; - -dht.query node:dht.node = True; - ----types--- - -overlay.node.toSign id:adnl.id.short overlay:int256 version:int = overlay.node.ToSign; -overlay.node id:PublicKey overlay:int256 version:int signature:bytes = overlay.Node; -overlay.nodes nodes:(vector overlay.node) = overlay.Nodes; - -overlay.message overlay:int256 = overlay.Message; -//overlay.randomPeers peers:(vector adnl.node) = overlay.RandomPeers; -overlay.broadcastList hashes:(vector int256) = overlay.BroadcastList; - -overlay.fec.received hash:int256 = overlay.Broadcast; -overlay.fec.completed hash:int256 = overlay.Broadcast; - -overlay.broadcast.id src:int256 data_hash:int256 flags:int = overlay.broadcast.Id; -overlay.broadcastFec.id src:int256 type:int256 data_hash:int256 size:int flags:int = overlay.broadcastFec.Id; -overlay.broadcastFec.partId broadcast_hash:int256 data_hash:int256 seqno:int = overlay.broadcastFec.PartId; - -overlay.broadcast.toSign hash:int256 date:int = overlay.broadcast.ToSign; - -overlay.certificate issued_by:PublicKey expire_at:int max_size:int signature:bytes = overlay.Certificate; -overlay.emptyCertificate = overlay.Certificate; - -overlay.certificateId overlay_id:int256 node:int256 expire_at:int max_size:int = overlay.CertificateId; - -overlay.unicast data:bytes = overlay.Broadcast; -overlay.broadcast src:PublicKey certificate:overlay.Certificate flags:int data:bytes date:int signature:bytes = overlay.Broadcast; -overlay.broadcastFec src:PublicKey certificate:overlay.Certificate data_hash:int256 data_size:int flags:int - data:bytes seqno:int fec:fec.Type date:int signature:bytes = overlay.Broadcast; -overlay.broadcastFecShort src:PublicKey certificate:overlay.Certificate broadcast_hash:int256 part_data_hash:int256 seqno:int signature:bytes = overlay.Broadcast; -overlay.broadcastNotFound = overlay.Broadcast; - ----functions--- - -overlay.getRandomPeers peers:overlay.nodes = overlay.Nodes; - -overlay.query overlay:int256 = True; -overlay.getBroadcast hash:int256 = overlay.Broadcast; -overlay.getBroadcastList list:overlay.broadcastList = overlay.BroadcastList; - ----types--- - -overlay.db.nodes nodes:overlay.nodes = overlay.db.Nodes; -overlay.db.key.nodes local_id:int256 overlay:int256 = overlay.db.Key; - ----functions--- - ----types--- - -catchain.block.id incarnation:int256 src:int256 height:int data_hash:int256 = catchain.block.Id; -catchain.block.dep src:int height:int data_hash:int256 signature:bytes = catchain.block.Dep; -catchain.block.data prev:catchain.block.dep deps:(vector catchain.block.dep) = catchain.block.Data; -catchain.block incarnation:int256 src:int height:int data:catchain.block.data signature:bytes = catchain.Block; -catchain.blocks blocks:(vector catchain.block) = catchain.Blocks; -catchain.blockUpdate block:catchain.block = catchain.Update; - -catchain.block.data.badBlock block:catchain.block = catchain.block.inner.Data; -catchain.block.data.fork left:catchain.block.Dep right:catchain.block.Dep = catchain.block.inner.Data; -catchain.block.data.nop = catchain.block.inner.Data; -catchain.block.data.vector msgs:(vector bytes) = catchain.block.inner.Data; -//catchain.block.data.custom = catchain.block.inner.Data; - -catchain.firstblock unique_hash:int256 nodes:(vector int256) = catchain.FirstBlock; - -catchain.difference sent_upto:(vector int) = catchain.Difference; -catchain.differenceFork left:catchain.block.dep right:catchain.block.dep = catchain.Difference; - -catchain.blockNotFound = catchain.BlockResult; -catchain.blockResult block:catchain.block = catchain.BlockResult; - -catchain.sent cnt:int = catchain.Sent; - ----functions--- - -catchain.getBlock block:int256 = catchain.BlockResult; -catchain.getBlocks blocks:(vector int256) = catchain.Sent; -catchain.getDifference rt:(vector int) = catchain.Difference; -catchain.getBlockHistory block:int256 height:long stop_if:(vector int256) = catchain.Sent; -//catchain.getForkDifference src:int fork:catchain.fork = catchain.ForkDifference; - ----types--- - -validatorSession.round.id session:int256 height:long prev_block:int256 seqno:int = validatorSession.round.Id; - -validatorSession.candidate.id round:int256 block_hash:int256 = validatorSession.tempBlock.Id; - -validatorSession.message.startSession = validatorSession.Message; -validatorSession.message.finishSession = validatorSession.Message; - -validatorSession.message.submittedBlock round:int root_hash:int256 file_hash:int256 - collated_data_file_hash:int256 = validatorSession.round.Message; -validatorSession.message.approvedBlock round:int candidate:int256 signature:bytes = validatorSession.round.Message; -validatorSession.message.rejectedBlock round:int candidate:int256 reason:bytes = validatorSession.round.Message; -validatorSession.message.commit round:int candidate:int256 signature:bytes = validatorSession.round.Message; - -validatorSession.message.vote round:int attempt:int candidate:int256 = validatorSession.round.Message; -validatorSession.message.voteFor round:int attempt:int candidate:int256 = validatorSession.round.Message; -validatorSession.message.precommit round:int attempt:int candidate:int256 = validatorSession.round.Message; -validatorSession.message.empty round:int attempt:int = validatorSession.round.Message; - -validatorSession.pong hash:long = validatorSession.Pong; - -validatorSession.candidateId src:int256 root_hash:int256 file_hash:int256 collated_data_file_hash:int256 = validatorSession.CandidateId; - -validatorSession.blockUpdate ts:long actions:(vector validatorSession.round.Message) state:int = validatorSession.BlockUpdate; -validatorSession.candidate src:int256 round:int root_hash:int256 data:bytes collated_data:bytes = validatorSession.Candidate; - -validatorSession.config catchain_idle_timeout:double catchain_max_deps:int round_candidates:int next_candidate_delay:double round_attempt_duration:int - max_round_attempts:int max_block_size:int max_collated_data_size:int = validatorSession.Config; -validatorSession.configVersioned catchain_idle_timeout:double catchain_max_deps:int round_candidates:int next_candidate_delay:double round_attempt_duration:int - max_round_attempts:int max_block_size:int max_collated_data_size:int version:int = validatorSession.Config; -validatorSession.configNew catchain_idle_timeout:double catchain_max_deps:int round_candidates:int next_candidate_delay:double round_attempt_duration:int - max_round_attempts:int max_block_size:int max_collated_data_size:int new_catchain_ids:Bool = validatorSession.Config; - ----functions--- - -validatorSession.ping hash:long = validatorSession.Pong; -validatorSession.downloadCandidate round:int id:validatorSession.candidateId = validatorSession.Candidate; - ----types--- - -hashable.bool value:Bool = Hashable; -hashable.int32 value:int = Hashable; -hashable.int64 value:long = Hashable; -hashable.int256 value:int256 = Hashable; -hashable.bytes value:bytes = Hashable; -hashable.pair left:int right:int = Hashable; -hashable.vector value:(vector int) = Hashable; -hashable.validatorSessionOldRound seqno:int block:int signatures:int approve_signatures:int = Hashable; -hashable.validatorSessionRoundAttempt seqno:int votes:int precommitted:int vote_for_inited:int vote_for:int = Hashable; -hashable.validatorSessionRound locked_round:int locked_block:int seqno:int precommitted:Bool - first_attempt:int approved_blocks:int signatures:int attempts:int = Hashable; -hashable.blockSignature signature:int = Hashable; -hashable.sentBlock src:int root_hash:int file_hash:int collated_data_file_hash:int = Hashable; -hashable.sentBlockEmpty = Hashable; -hashable.vote block:int node:int = Hashable; -hashable.blockCandidate block:int approved:int = Hashable; -hashable.blockVoteCandidate block:int approved:int = Hashable; -hashable.blockCandidateAttempt block:int votes:int = Hashable; - -hashable.cntVector data:int = Hashable; -hashable.cntSortedVector data:int = Hashable; - -hashable.validatorSession ts:int old_rounds:int cur_round:int = Hashable; - ----functions--- ----types--- - - -tonNode.sessionId workchain:int shard:long cc_seqno:int opts_hash:int256 = tonNode.SessionId; - - -tonNode.blockSignature who:int256 signature:bytes = tonNode.BlockSignature; - -tonNode.blockId workchain:int shard:long seqno:int = tonNode.BlockId; -tonNode.blockIdExt workchain:int shard:long seqno:int root_hash:int256 file_hash:int256 = tonNode.BlockIdExt; -tonNode.zeroStateIdExt workchain:int root_hash:int256 file_hash:int256 = tonNode.ZeroStateIdExt; - -tonNode.blockDescriptionEmpty = tonNode.BlockDescription; -tonNode.blockDescription id:tonNode.blockIdExt = tonNode.BlockDescription; -tonNode.blocksDescription ids:(vector tonNode.blockIdExt) incomplete:Bool = tonNode.BlocksDescription; -tonNode.preparedProofEmpty = tonNode.PreparedProof; -tonNode.preparedProof = tonNode.PreparedProof; -tonNode.preparedProofLink = tonNode.PreparedProof; -tonNode.preparedState = tonNode.PreparedState; -tonNode.notFoundState = tonNode.PreparedState; -tonNode.prepared = tonNode.Prepared; -tonNode.notFound = tonNode.Prepared; -tonNode.data data:bytes = tonNode.Data; -//tonNode.preparedKeyBlockProofEmpty = tonNode.PreparedKeyBlockProof; -//tonNode.preparedKeyBlockProof block_id:tonNode.blockIdExt = tonNode.PreparedKeyBlockProof; - -tonNode.ihrMessage data:bytes = tonNode.IhrMessage; -tonNode.externalMessage data:bytes = tonNode.ExternalMessage; - -tonNode.newShardBlock block:tonNode.blockIdExt cc_seqno:int data:bytes = tonNode.NewShardBlock; - -tonNode.blockBroadcast id:tonNode.blockIdExt catchain_seqno:int validator_set_hash:int - signatures:(vector tonNode.blockSignature) - proof:bytes data:bytes = tonNode.Broadcast; -tonNode.ihrMessageBroadcast message:tonNode.ihrMessage = tonNode.Broadcast; -tonNode.externalMessageBroadcast message:tonNode.externalMessage = tonNode.Broadcast; -tonNode.newShardBlockBroadcast block:tonNode.newShardBlock = tonNode.Broadcast; - -tonNode.shardPublicOverlayId workchain:int shard:long zero_state_file_hash:int256 = tonNode.ShardPublicOverlayId; - -tonNode.keyBlocks blocks:(vector tonNode.blockIdExt) incomplete:Bool error:Bool = tonNode.KeyBlocks; - -ton.blockId root_cell_hash:int256 file_hash:int256 = ton.BlockId; -ton.blockIdApprove root_cell_hash:int256 file_hash:int256 = ton.BlockId; - -tonNode.dataList data:(vector bytes) = tonNode.DataList; - -tonNode.dataFull id:tonNode.blockIdExt proof:bytes block:bytes is_link:Bool = tonNode.DataFull; -tonNode.dataFullEmpty = tonNode.DataFull; - -tonNode.capabilities version:int capabilities:long = tonNode.Capabilities; - -tonNode.success = tonNode.Success; - -tonNode.archiveNotFound = tonNode.ArchiveInfo; -tonNode.archiveInfo id:long = tonNode.ArchiveInfo; - ----functions--- - -tonNode.getNextBlockDescription prev_block:tonNode.blockIdExt = tonNode.BlockDescription; -tonNode.getNextBlocksDescription prev_block:tonNode.blockIdExt limit:int = tonNode.BlocksDescription; -tonNode.getPrevBlocksDescription next_block:tonNode.blockIdExt limit:int cutoff_seqno:int = tonNode.BlocksDescription; -tonNode.prepareBlockProof block:tonNode.blockIdExt allow_partial:Bool = tonNode.PreparedProof; -tonNode.prepareKeyBlockProof block:tonNode.blockIdExt allow_partial:Bool = tonNode.PreparedProof; -tonNode.prepareBlockProofs blocks:(vector tonNode.blockIdExt) allow_partial:Bool = tonNode.PreparedProof; -tonNode.prepareKeyBlockProofs blocks:(vector tonNode.blockIdExt) allow_partial:Bool = tonNode.PreparedProof; -tonNode.prepareBlock block:tonNode.blockIdExt = tonNode.Prepared; -tonNode.prepareBlocks blocks:(vector tonNode.blockIdExt) = tonNode.Prepared; -tonNode.preparePersistentState block:tonNode.blockIdExt masterchain_block:tonNode.blockIdExt = tonNode.PreparedState; -tonNode.prepareZeroState block:tonNode.blockIdExt = tonNode.PreparedState; -tonNode.getNextKeyBlockIds block:tonNode.blockIdExt max_size:int = tonNode.KeyBlocks; -tonNode.downloadNextBlockFull prev_block:tonNode.blockIdExt = tonNode.DataFull; -tonNode.downloadBlockFull block:tonNode.blockIdExt = tonNode.DataFull; -tonNode.downloadBlock block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlocks blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.downloadPersistentState block:tonNode.blockIdExt masterchain_block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadPersistentStateSlice block:tonNode.blockIdExt masterchain_block:tonNode.blockIdExt offset:long max_size:long = tonNode.Data; -tonNode.downloadZeroState block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlockProof block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadKeyBlockProof block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlockProofs blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.downloadKeyBlockProofs blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.downloadBlockProofLink block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadKeyBlockProofLink block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlockProofLinks blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.downloadKeyBlockProofLinks blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.getArchiveInfo masterchain_seqno:int = tonNode.ArchiveInfo; -tonNode.getArchiveSlice archive_id:long offset:long max_size:int = tonNode.Data; - -tonNode.getCapabilities = tonNode.Capabilities; - -tonNode.slave.sendExtMessage message:tonNode.externalMessage = tonNode.Success; - -tonNode.query = Object; - ----types--- - -// bit 0 - started -// bit 1 - ready to switch -// bit 2 - switched from -// bit 3 - archived -// bit 4 - disabled - -db.root.dbDescription version:int first_masterchain_block_id:tonNode.blockIdExt flags:int = db.root.DbDescription; - -db.root.key.cellDb version:int = db.root.Key; -db.root.key.blockDb version:int = db.root.Key; - -db.root.config celldb_version:int blockdb_version:int = db.root.Config; -db.root.key.config = db.root.Key; - -db.celldb.value block_id:tonNode.blockIdExt prev:int256 next:int256 root_hash:int256 = db.celldb.Value; -db.celldb.key.value hash:int256 = db.celldb.key.Value; - -db.block.info#4ac6e727 id:tonNode.blockIdExt flags:# prev_left:flags.1?tonNode.blockIdExt - prev_right:flags.2?tonNode.blockIdExt - next_left:flags.3?tonNode.blockIdExt - next_right:flags.4?tonNode.blockIdExt - lt:flags.13?long - ts:flags.14?int - state:flags.17?int256 - masterchain_ref_seqno:flags.23?int = db.block.Info; -db.block.packedInfo id:tonNode.blockIdExt unixtime:int offset:long = db.block.Info; -db.block.archivedInfo id:tonNode.blockIdExt flags:# next:flags.0?tonNode.blockIdExt = db.block.Info; - -db.blockdb.value next:tonNode.blockIdExt data:bytes = db.blockdb.Value; -db.blockdb.lru id:tonNode.blockIdExt prev:int256 next:int256 = db.blockdb.Lru; -db.blockdb.key.lru id:tonNode.blockIdExt = db.blockdb.Key; -db.blockdb.key.value id:tonNode.blockIdExt = db.blockdb.Key; - -db.candidate source:PublicKey id:tonNode.blockIdExt data:bytes collated_data:bytes = db.Candidate; -db.candidate.id source:PublicKey id:tonNode.blockIdExt collated_data_file_hash:int256 = db.candidate.Id; - -db.filedb.key.empty = db.filedb.Key; -db.filedb.key.blockFile block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.zeroStateFile block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.persistentStateFile block_id:tonNode.blockIdExt masterchain_block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.proof block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.proofLink block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.signatures block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.candidate id:db.candidate.id = db.filedb.Key; -db.filedb.key.blockInfo block_id:tonNode.blockIdExt = db.filedb.Key; - -db.filedb.value key:db.filedb.Key prev:int256 next:int256 file_hash:int256 = db.filedb.Value; - -db.state.destroyedSessions sessions:(vector int256) = db.state.DestroyedSessions; -db.state.initBlockId block:tonNode.blockIdExt = db.state.InitBlockId; -db.state.gcBlockId block:tonNode.blockIdExt = db.state.GcBlockId; -db.state.shardClient block:tonNode.blockIdExt = db.state.ShardClient; -db.state.asyncSerializer block:tonNode.blockIdExt last:tonNode.blockIdExt last_ts:int = db.state.AsyncSerializer; -db.state.hardforks blocks:(vector tonNode.blockIdExt) = db.state.Hardforks; -db.state.dbVersion version:int = db.state.DbVersion; - -db.state.key.destroyedSessions = db.state.Key; -db.state.key.initBlockId = db.state.Key; -db.state.key.gcBlockId = db.state.Key; -db.state.key.shardClient = db.state.Key; -db.state.key.asyncSerializer = db.state.Key; -db.state.key.hardforks = db.state.Key; -db.state.key.dbVersion = db.state.Key; - -db.lt.el.key workchain:int shard:long idx:int = db.lt.Key; -db.lt.desc.key workchain:int shard:long = db.lt.Key; -db.lt.shard.key idx:int = db.lt.Key; -db.lt.status.key = db.lt.Key; -db.lt.el.value id:tonNode.blockIdExt lt:long ts:int = db.lt.el.Value; -db.lt.desc.value first_idx:int last_idx:int last_seqno:int last_lt:long last_ts:int = db.lt.desc.Value; -db.lt.shard.value workchain:int shard:long = db.lt.shard.Value; -db.lt.status.value total_shards:int = db.lt.status.Value; - -db.files.index.key = db.files.Key; -db.files.package.key package_id:int key:Bool temp:Bool = db.files.Key; - -db.files.index.value packages:(vector int) key_packages:(vector int) temp_packages:(vector int) = db.files.index.Value; -db.files.package.firstBlock workchain:int shard:long seqno:int unixtime:int lt:long = db.files.package.FirstBlock; -db.files.package.value package_id:int key:Bool temp:Bool firstblocks:(vector db.files.package.firstBlock) deleted:Bool - = db.files.package.Value; - ----functions--- - ----types--- - -validator.groupMember public_key_hash:int256 adnl:int256 weight:long = engine.validator.GroupMember; -validator.group workchain:int shard:long catchain_seqno:int config_hash:int256 members:(vector validator.groupMember) = validator.Group; -validator.groupEx workchain:int shard:long vertical_seqno:int catchain_seqno:int config_hash:int256 members:(vector validator.groupMember) = validator.Group; -validator.groupNew workchain:int shard:long vertical_seqno:int last_key_block_seqno:int catchain_seqno:int config_hash:int256 members:(vector validator.groupMember) = validator.Group; - ----functions--- - - ----types--- - - -id.config.local id:PrivateKey = id.config.Local; -dht.config.local id:adnl.id.short = dht.config.Local; -dht.config.random.local cnt:int = dht.config.Local; -liteserver.config.local id:PrivateKey port:int = liteserver.config.Local; -liteserver.config.random.local port:int = liteserver.config.Local; -validator.config.local id:adnl.id.short = validator.config.Local; -validator.config.random.local addr_list:adnl.addressList = validator.config.Local; -control.config.local priv:PrivateKey pub:int256 port:int = control.config.Local; -config.local local_ids:(vector id.config.local) dht:(vector dht.config.Local) validators:(vector validator.config.Local) liteservers:(vector liteserver.config.Local) control:(vector control.config.local) = config.Local; - -dht.config.global static_nodes:dht.nodes k:int a:int = dht.config.Global; -adnl.config.global static_nodes:adnl.nodes = adnl.config.Global; -catchain.config.global tag:int256 nodes:(vector PublicKey) = catchain.config.Global; -dummyworkchain0.config.global zero_state_hash:int256 = dummyworkchain0.config.Global; -validator.config.global zero_state:tonNode.blockIdExt init_block:tonNode.blockIdExt hardforks:(vector tonNode.blockIdExt) = validator.config.Global; -config.global adnl:adnl.config.global dht:dht.config.global validator:validator.config.global = config.Global; - -liteserver.desc id:PublicKey ip:int port:int = liteserver.Desc; -liteclient.config.global liteservers:(vector liteserver.desc) validator:validator.config.global = liteclient.config.Global; - -engine.adnl id:int256 category:int = engine.Adnl; -engine.addr ip:int port:int categories:(vector int) priority_categories:(vector int) = engine.Addr; -engine.addrProxy in_ip:int in_port:int out_ip:int out_port:int - proxy_type:adnl.Proxy categories:(vector int) priority_categories:(vector int) = engine.Addr; -engine.dht id:int256 = engine.Dht; -engine.validatorTempKey key:int256 expire_at:int = engine.ValidatorTempKey; -engine.validatorAdnlAddress id:int256 expire_at:int = engine.ValidatorAdnlAddress; -engine.validator id:int256 temp_keys:(vector engine.validatorTempKey) adnl_addrs:(vector engine.validatorAdnlAddress) election_date:int expire_at:int = engine.Validator; -engine.liteServer id:int256 port:int = engine.LiteServer; -engine.controlProcess id:int256 permissions:int = engine.ControlProcess; -engine.controlInterface id:int256 port:int allowed:(vector engine.controlProcess) = engine.ControlInterface; -engine.gc ids:(vector int256) = engine.Gc; - -engine.dht.config dht:(vector engine.dht) gc:engine.gc = engine.dht.Config; -engine.validator.fullNodeMaster port:int adnl:int256 = engine.validator.FullNodeMaster; -engine.validator.fullNodeSlave ip:int port:int adnl:PublicKey = engine.validator.FullNodeSlave; -engine.validator.config out_port:int addrs:(vector engine.Addr) adnl:(vector engine.adnl) - dht:(vector engine.dht) - validators:(vector engine.validator) fullnode:int256 fullnodeslaves:(vector engine.validator.fullNodeSlave) - fullnodemasters:(vector engine.validator.fullNodeMaster) - liteservers:(vector engine.liteServer) control:(vector engine.controlInterface) - gc:engine.gc = engine.validator.Config; - ----functions--- ----types--- - -engine.adnlProxy.port in_port:int out_port:int dst_ip:int dst_port:int proxy_type:adnl.Proxy = engine.adnlProxy.Port; - -engine.adnlProxy.config ports:(vector engine.adnlProxy.port) = engine.adnlProxy.Config; - ----functions--- - ----types--- - -adnl.pong value:long = adnl.Pong; - ----functions--- - -adnl.ping value:long = adnl.Pong; - ----types--- - -engine.validator.keyHash key_hash:int256 = engine.validator.KeyHash; -engine.validator.signature signature:bytes = engine.validator.Signature; - -engine.validator.oneStat key:string value:string = engine.validator.OneStat; -engine.validator.stats stats:(vector engine.validator.oneStat) = engine.validator.Stats; - -engine.validator.controlQueryError code:int message:string = engine.validator.ControlQueryError; - -engine.validator.time time:int = engine.validator.Time; -engine.validator.success = engine.validator.Success; - -engine.validator.jsonConfig data:string = engine.validator.JsonConfig; - -engine.validator.electionBid election_date:int perm_key:int256 adnl_addr:int256 to_send_payload:bytes = engine.validator.ElectionBid; -engine.validator.proposalVote perm_key:int256 to_send:bytes = engine.validator.ProposalVote; - -engine.validator.dhtServerStatus id:int256 status:int = engine.validator.DhtServerStatus; -engine.validator.dhtServersStatus servers:(vector engine.validator.dhtServerStatus) = engine.validator.DhtServersStatus; - ----functions--- - -engine.validator.getTime = engine.validator.Time; -engine.validator.importPrivateKey key:PrivateKey = engine.validator.KeyHash; -engine.validator.exportPrivateKey key_hash:int256 = PrivateKey; -engine.validator.exportPublicKey key_hash:int256 = PublicKey; -engine.validator.generateKeyPair = engine.validator.KeyHash; -engine.validator.addAdnlId key_hash:int256 category:int = engine.validator.Success; -engine.validator.addDhtId key_hash:int256 = engine.validator.Success; -engine.validator.addValidatorPermanentKey key_hash:int256 election_date:int ttl:int = engine.validator.Success; -engine.validator.addValidatorTempKey permanent_key_hash:int256 key_hash:int256 ttl:int = engine.validator.Success; -engine.validator.addValidatorAdnlAddress permanent_key_hash:int256 key_hash:int256 ttl:int = engine.validator.Success; -engine.validator.changeFullNodeAdnlAddress adnl_id:int256 = engine.validator.Success; -engine.validator.addLiteserver key_hash:int256 port:int = engine.validator.Success; -engine.validator.addControlInterface key_hash:int256 port:int = engine.validator.Success; -engine.validator.addControlProcess key_hash:int256 port:int peer_key:int256 permissions:int = engine.validator.Success; - -engine.validator.delAdnlId key_hash:int256 = engine.validator.Success; -engine.validator.delDhtId key_hash:int256 = engine.validator.Success; -engine.validator.delValidatorPermanentKey key_hash:int256 = engine.validator.Success; -engine.validator.delValidatorTempKey permanent_key_hash:int256 key_hash:int256 = engine.validator.Success; -engine.validator.delValidatorAdnlAddress permanent_key_hash:int256 key_hash:int256 = engine.validator.Success; - -engine.validator.addListeningPort ip:int port:int categories:(vector int) priority_categories:(vector int) = engine.validator.Success; -engine.validator.addProxy in_ip:int in_port:int out_ip:int out_port:int proxy:adnl.Proxy categories:(vector int) priority_categories:(vector int) = engine.validator.Success; -engine.validator.delListeningPort ip:int port:int categories:(vector int) priority_categories:(vector int) = engine.validator.Success; -engine.validator.delProxy out_ip:int out_port:int categories:(vector int) priority_categories:(vector int) = engine.validator.Success; - -engine.validator.sign key_hash:int256 data:bytes = engine.validator.Signature; - -engine.validator.getStats = engine.validator.Stats; -engine.validator.getConfig = engine.validator.JsonConfig; - -engine.validator.setVerbosity verbosity:int = engine.validator.Success; - -engine.validator.createElectionBid election_date:int election_addr:string wallet:string = engine.validator.ElectionBid; -engine.validator.createProposalVote vote:bytes = engine.validator.ProposalVote; -engine.validator.createComplaintVote election_id:int vote:bytes = engine.validator.ProposalVote; - -engine.validator.checkDhtServers id:int256 = engine.validator.DhtServersStatus; - -engine.validator.controlQuery data:bytes = Object; - ----types--- - -storage.pong = storage.Pong; -storage.ok = Ok; - -storage.state will_upload:Bool want_download:Bool = storage.State; -storage.piece proof:bytes data:bytes = storage.Piece; - -storage.updateInit have_pieces:bytes state:storage.State = storage.Update; -storage.updateHavePieces piece_id:(vector int) = storage.Update; -storage.updateState state:storage.State = storage.Update; - ----functions--- - -storage.ping session_id:long = storage.Pong; -storage.addUpdate session_id:long seqno:int update:storage.Update = Ok; - -storage.getPiece piece_id:int = storage.Piece; - -storage.queryPrefix id:int256 = Object; - ----types--- - -http.header name:string value:string = http.Header; -http.payloadPart data:bytes trailer:(vector http.header) last:Bool = http.PayloadPart; -http.response http_version:string status_code:int reason:string headers:(vector http.header) = http.Response; - ----functions--- - -http.request id:int256 method:string url:string http_version:string headers:(vector http.header) = http.Response; -http.getNextPayloadPart id:int256 seqno:int max_chunk_size:int = http.PayloadPart; - ----types--- - - -http.server.dnsEntry domain:string addr:adnl.id.short = http.server.DnsEntry; -http.server.host domains:(vector string) ip:int port:int adnl_id:adnl.id.short = http.server.Host; - -http.server.config dhs:(vector http.server.dnsEntry) local_hosts:(vector http.server.host) = http.server.Config; - ----functions--- \ No newline at end of file diff --git a/ton-kotlin-bitstring/README.md b/ton-kotlin-bitstring/README.md deleted file mode 100644 index 4222b050..00000000 --- a/ton-kotlin-bitstring/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ton-bitstring - -BitString primitive implementation \ No newline at end of file diff --git a/ton-kotlin-bitstring/build.gradle.kts b/ton-kotlin-bitstring/build.gradle.kts deleted file mode 100644 index 5a89c1da..00000000 --- a/ton-kotlin-bitstring/build.gradle.kts +++ /dev/null @@ -1,15 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - implementation(projects.tonKotlinCrypto) - implementation(libs.serialization.core) - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } - } -} diff --git a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/exception/exceptions.kt b/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/exception/exceptions.kt deleted file mode 100644 index 9b90ccf3..00000000 --- a/ton-kotlin-bitstring/src/commonMain/kotlin/org/ton/bitstring/exception/exceptions.kt +++ /dev/null @@ -1,7 +0,0 @@ -package org.ton.bitstring.exception - -class BitStringOverflowException( - override val message: String? = "BitString overflow" -) : RuntimeException() - -class BitStringUnderflowException : RuntimeException("BitString underflow") diff --git a/ton-kotlin-block/build.gradle.kts b/ton-kotlin-block/build.gradle.kts deleted file mode 100644 index 06fd26fb..00000000 --- a/ton-kotlin-block/build.gradle.kts +++ /dev/null @@ -1,13 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - api(projects.tonKotlinBoc) - api(projects.tonKotlinHashmap) - api(projects.tonKotlinTlb) - api(projects.tonKotlinTl) - implementation(libs.serialization.json) - } - } - } -} diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackNumber.kt b/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackNumber.kt deleted file mode 100644 index 75da3bf3..00000000 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackNumber.kt +++ /dev/null @@ -1,15 +0,0 @@ -package org.ton.block - -import org.ton.bigint.BigInt - -sealed interface VmStackNumber : VmStackValue { - fun toInt(): Int - fun toLong(): Long - fun toBoolean(): Boolean - fun toBigInt(): BigInt - - operator fun plus(other: VmStackNumber): VmStackNumber - operator fun minus(other: VmStackNumber): VmStackNumber - operator fun times(other: VmStackNumber): VmStackNumber - operator fun div(other: VmStackNumber): VmStackNumber -} \ No newline at end of file diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackSlice.kt b/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackSlice.kt deleted file mode 100644 index 8202ac74..00000000 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackSlice.kt +++ /dev/null @@ -1,21 +0,0 @@ -package org.ton.block - -import org.ton.cell.Cell -import org.ton.cell.CellSlice - -sealed interface VmStackSlice : VmStackValue { - val cell: Cell - val stBits: Int - val endBits: Int - val stRef: Int - val endRef: Int - - fun toCellSlice(): CellSlice = cell.beginParse().run { - skipBits(stBits) - loadRefs(stRef) - CellSlice.of( - loadBits(endBits - stBits), - loadRefs(endRef - stRef) - ) - } -} diff --git a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackValue.kt b/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackValue.kt deleted file mode 100644 index 1ed3d221..00000000 --- a/ton-kotlin-block/src/commonMain/kotlin/org/ton/block/VmStackValue.kt +++ /dev/null @@ -1,73 +0,0 @@ -@file:Suppress("OPT_IN_USAGE", "NOTHING_TO_INLINE") - -package org.ton.block - -import kotlinx.serialization.Serializable -import kotlinx.serialization.json.JsonClassDiscriminator -import org.ton.bigint.BigInt -import org.ton.cell.Cell -import org.ton.cell.CellBuilder -import org.ton.cell.CellSlice -import org.ton.tlb.TlbCombinator -import org.ton.tlb.providers.TlbCombinatorProvider -import kotlin.jvm.JvmStatic - -inline fun VmStackValue(): VmStackValue = VmStackValue.of() -inline fun VmStackValue(int: Int): VmStackTinyInt = VmStackValue.of(int) -inline fun VmStackValue(long: Long): VmStackTinyInt = VmStackValue.of(long) -inline fun VmStackValue(boolean: Boolean): VmStackTinyInt = VmStackValue.of(boolean) -inline fun VmStackValue(bigInt: BigInt): VmStackInt = VmStackValue.of(bigInt) -inline fun VmStackValue(cell: Cell): VmStackCell = VmStackValue.of(cell) -inline fun VmStackValue(cellSlice: CellSlice): VmCellSlice = VmStackValue.of(cellSlice) -inline fun VmStackValue(cellBuilder: CellBuilder): VmStackBuilder = VmStackValue.of(cellBuilder) -inline fun VmStackValue(cont: VmCont): VmStackCont = VmStackValue.of(cont) -inline fun VmStackValue(tuple: VmTuple): VmStackTuple = VmStackValue.of(tuple) - -@JsonClassDiscriminator("@type") -@Serializable -sealed interface VmStackValue { - companion object : TlbCombinatorProvider by VmStackValueTlbCombinator { - @JvmStatic - fun of(): VmStackNull = VmStackNull - - @JvmStatic - fun of(int: Int): VmStackTinyInt = VmStackTinyInt(int) - - @JvmStatic - fun of(boolean: Boolean): VmStackTinyInt = VmStackTinyInt(boolean) - - @JvmStatic - fun of(long: Long): VmStackTinyInt = VmStackTinyInt(long) - - @JvmStatic - fun of(bigInt: BigInt): VmStackInt = VmStackInt(bigInt) - - @JvmStatic - fun of(cell: Cell): VmStackCell = VmStackCell(cell) - - @JvmStatic - fun of(cellSlice: CellSlice): VmCellSlice = VmCellSlice(cellSlice) - - @JvmStatic - fun of(cellBuilder: CellBuilder): VmStackBuilder = VmStackBuilder(cellBuilder) - - @JvmStatic - fun of(cont: VmCont): VmStackCont = VmStackCont(cont) - - @JvmStatic - fun of(tuple: VmTuple): VmStackTuple = VmStackTuple(tuple) - } -} - -private object VmStackValueTlbCombinator : TlbCombinator( - VmStackValue::class, - VmStackNull::class to VmStackNull.tlbConstructor(), - VmStackTinyInt::class to VmStackTinyInt.tlbConstructor(), - VmStackInt::class to VmStackInt.tlbConstructor(), - VmStackNan::class to VmStackNan.tlbConstructor(), - VmStackCell::class to VmStackCell.tlbConstructor(), - VmCellSlice::class to VmCellSlice.tlbConstructor(), - VmStackBuilder::class to VmStackBuilder.tlbConstructor(), - VmStackCont::class to VmStackCont.tlbConstructor(), - VmStackTuple::class to VmStackTuple.tlbConstructor() -) diff --git a/ton-kotlin-block/src/commonTest/resources/block.tlb b/ton-kotlin-block/src/commonTest/resources/block.tlb deleted file mode 100644 index 95a30b6d..00000000 --- a/ton-kotlin-block/src/commonTest/resources/block.tlb +++ /dev/null @@ -1,882 +0,0 @@ -unit$_ = Unit; -true$_ = True; -// EMPTY False; -bool_false$0 = Bool; -bool_true$1 = Bool; -bool_false$0 = BoolFalse; -bool_true$1 = BoolTrue; -nothing$0 {X:Type} = Maybe X; -just$1 {X:Type} value:X = Maybe X; -left$0 {X:Type} {Y:Type} value:X = Either X Y; -right$1 {X:Type} {Y:Type} value:Y = Either X Y; -pair$_ {X:Type} {Y:Type} first:X second:Y = Both X Y; - -bit$_ (## 1) = Bit; -/* - * - * FROM hashmap.tlb - * - */ - - -hml_short$0 {m:#} {n:#} len:(Unary ~n) {n <= m} s:(n * Bit) = HmLabel ~n m; -hml_long$10 {m:#} n:(#<= m) s:(n * Bit) = HmLabel ~n m; -hml_same$11 {m:#} v:Bit n:(#<= m) = HmLabel ~n m; - -unary_zero$0 = Unary ~0; -unary_succ$1 {n:#} x:(Unary ~n) = Unary ~(n + 1); - - - -// true#_ = True; -_ {n:#} _:(Hashmap n True) = BitstringSet n; - -// HashmapAug, hashmap with an extra value -// (augmentation) of type Y at every node -// -ahm_edge#_ {n:#} {X:Type} {Y:Type} {l:#} {m:#} - label:(HmLabel ~l n) {n = (~m) + l} - node:(HashmapAugNode m X Y) = HashmapAug n X Y; -ahmn_leaf#_ {X:Type} {Y:Type} extra:Y value:X = HashmapAugNode 0 X Y; -ahmn_fork#_ {n:#} {X:Type} {Y:Type} left:^(HashmapAug n X Y) - right:^(HashmapAug n X Y) extra:Y = HashmapAugNode (n + 1) X Y; - -ahme_empty$0 {n:#} {X:Type} {Y:Type} extra:Y - = HashmapAugE n X Y; -ahme_root$1 {n:#} {X:Type} {Y:Type} root:^(HashmapAug n X Y) - extra:Y = HashmapAugE n X Y; - -// VarHashmap / VarHashmapE, with variable-length keys -// -vhm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(VarHashmapNode m X) - = VarHashmap n X; -vhmn_leaf$00 {n:#} {X:Type} value:X = VarHashmapNode n X; -vhmn_fork$01 {n:#} {X:Type} left:^(VarHashmap n X) - right:^(VarHashmap n X) value:(Maybe X) - = VarHashmapNode (n + 1) X; -vhmn_cont$1 {n:#} {X:Type} branch:Bit child:^(VarHashmap n X) - value:X = VarHashmapNode (n + 1) X; - -// nothing$0 {X:Type} = Maybe X; -// just$1 {X:Type} value:X = Maybe X; - -vhme_empty$0 {n:#} {X:Type} = VarHashmapE n X; -vhme_root$1 {n:#} {X:Type} root:^(VarHashmap n X) - = VarHashmapE n X; - -// -// PfxHashmap / PfxHashmapE, with variable-length keys -// constituting a prefix code -// - -phm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(PfxHashmapNode m X) - = PfxHashmap n X; - -phmn_leaf$0 {n:#} {X:Type} value:X = PfxHashmapNode n X; -phmn_fork$1 {n:#} {X:Type} left:^(PfxHashmap n X) - right:^(PfxHashmap n X) = PfxHashmapNode (n + 1) X; - -phme_empty$0 {n:#} {X:Type} = PfxHashmapE n X; -phme_root$1 {n:#} {X:Type} root:^(PfxHashmap n X) - = PfxHashmapE n X; - -// ordinary Hashmap / HashmapE, with fixed length keys -// -hm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(HashmapNode m X) = Hashmap n X; - -hmn_leaf#_ {X:Type} value:X = HashmapNode 0 X; -hmn_fork#_ {n:#} {X:Type} left:^(Hashmap n X) - right:^(Hashmap n X) = HashmapNode (n + 1) X; - -hme_empty$0 {n:#} {X:Type} = HashmapE n X; -hme_root$1 {n:#} {X:Type} root:^(Hashmap n X) = HashmapE n X; - -/* - * - * END hashmap.tlb - * - */ -// -// TON BLOCK LAYOUT -// -addr_none$00 = MsgAddressExt; -addr_extern$01 len:(## 9) external_address:(bits len) - = MsgAddressExt; -anycast_info$_ depth:(#<= 30) { depth >= 1 } - rewrite_pfx:(bits depth) = Anycast; -addr_std$10 anycast:(Maybe Anycast) - workchain_id:int8 address:bits256 = MsgAddressInt; -addr_var$11 anycast:(Maybe Anycast) addr_len:(## 9) - workchain_id:int32 address:(bits addr_len) = MsgAddressInt; -_ _:MsgAddressInt = MsgAddress; -_ _:MsgAddressExt = MsgAddress; -// -var_uint$_ {n:#} len:(#< n) value:(uint (len * 8)) - = VarUInteger n; -var_int$_ {n:#} len:(#< n) value:(int (len * 8)) - = VarInteger n; -nanoCoins$_ amount:(VarUInteger 16) = Coins; -// -extra_currencies$_ dict:(HashmapE 32 (VarUInteger 32)) - = ExtraCurrencyCollection; -currencies$_ Coins:Coins other:ExtraCurrencyCollection - = CurrencyCollection; -// -int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool - src:MsgAddressInt dest:MsgAddressInt - value:CurrencyCollection ihr_fee:Coins fwd_fee:Coins - created_lt:uint64 created_at:uint32 = CommonMsgInfo; -ext_in_msg_info$10 src:MsgAddressExt dest:MsgAddressInt - import_fee:Coins = CommonMsgInfo; -ext_out_msg_info$11 src:MsgAddressInt dest:MsgAddressExt - created_lt:uint64 created_at:uint32 = CommonMsgInfo; - -int_msg_info$0 -ihr_disabled:Bool -bounce:Bool -bounced:Bool - src:MsgAddress - dest:MsgAddressInt - value:CurrencyCollection - ihr_fee:Coins - fwd_fee:Coins - created_lt:uint64 - created_at:uint32 - = CommonMsgInfoRelaxed; -ext_out_msg_info$11 src:MsgAddress dest:MsgAddressExt - created_lt:uint64 created_at:uint32 = CommonMsgInfoRelaxed; - -tick_tock$_ tick:Bool tock:Bool = TickTock; - -_ split_depth:(Maybe (## 5)) special:(Maybe TickTock) - code:(Maybe ^Cell) data:(Maybe ^Cell) - library:(HashmapE 256 SimpleLib) = StateInit; - -simple_lib$_ public:Bool root:^Cell = SimpleLib; - -message$_ {X:Type} info:CommonMsgInfo - init:(Maybe (Either StateInit ^StateInit)) - body:(Either X ^X) = Message X; - -message$_ {X:Type} info:CommonMsgInfoRelaxed - init:(Maybe (Either StateInit ^StateInit)) - body:(Either X ^X) = MessageRelaxed X; - -_ (Message Any) = MessageAny; - -// -interm_addr_regular$0 use_dest_bits:(#<= 96) - = IntermediateAddress; -interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 - = IntermediateAddress; -interm_addr_ext$11 workchain_id:int32 addr_pfx:uint64 - = IntermediateAddress; -msg_envelope#4 cur_addr:IntermediateAddress - next_addr:IntermediateAddress fwd_fee_remaining:Coins - msg:^(Message Any) = MsgEnvelope; -// -msg_import_ext$000 msg:^(Message Any) transaction:^Transaction - = InMsg; -msg_import_ihr$010 msg:^(Message Any) transaction:^Transaction - ihr_fee:Coins proof_created:^Cell = InMsg; -msg_import_imm$011 in_msg:^MsgEnvelope - transaction:^Transaction fwd_fee:Coins = InMsg; -msg_import_fin$100 in_msg:^MsgEnvelope - transaction:^Transaction fwd_fee:Coins = InMsg; -msg_import_tr$101 in_msg:^MsgEnvelope out_msg:^MsgEnvelope - transit_fee:Coins = InMsg; -msg_discard_fin$110 in_msg:^MsgEnvelope transaction_id:uint64 - fwd_fee:Coins = InMsg; -msg_discard_tr$111 in_msg:^MsgEnvelope transaction_id:uint64 - fwd_fee:Coins proof_delivered:^Cell = InMsg; -// -import_fees$_ fees_collected:Coins - value_imported:CurrencyCollection = ImportFees; - -_ (HashmapAugE 256 InMsg ImportFees) = InMsgDescr; - -msg_export_ext$000 msg:^(Message Any) - transaction:^Transaction = OutMsg; -msg_export_imm$010 out_msg:^MsgEnvelope - transaction:^Transaction reimport:^InMsg = OutMsg; -msg_export_new$001 out_msg:^MsgEnvelope - transaction:^Transaction = OutMsg; -msg_export_tr$011 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; -msg_export_deq$1100 out_msg:^MsgEnvelope - import_block_lt:uint63 = OutMsg; -msg_export_deq_short$1101 msg_env_hash:bits256 - next_workchain:int32 next_addr_pfx:uint64 - import_block_lt:uint64 = OutMsg; -msg_export_tr_req$111 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; -msg_export_deq_imm$100 out_msg:^MsgEnvelope - reimport:^InMsg = OutMsg; - -_ enqueued_lt:uint64 out_msg:^MsgEnvelope = EnqueuedMsg; - -_ (HashmapAugE 256 OutMsg CurrencyCollection) = OutMsgDescr; - -_ (HashmapAugE 352 EnqueuedMsg uint64) = OutMsgQueue; - -processed_upto$_ last_msg_lt:uint64 last_msg_hash:bits256 = ProcessedUpto; -// key is [ shard:uint64 mc_seqno:uint32 ] -_ (HashmapE 96 ProcessedUpto) = ProcessedInfo; - -ihr_pending$_ import_lt:uint64 = IhrPendingSince; -_ (HashmapE 320 IhrPendingSince) = IhrPendingInfo; - -_ out_queue:OutMsgQueue proc_info:ProcessedInfo - ihr_pending:IhrPendingInfo = OutMsgQueueInfo; -// -storage_used$_ cells:(VarUInteger 7) bits:(VarUInteger 7) - public_cells:(VarUInteger 7) = StorageUsed; - -storage_used_short$_ cells:(VarUInteger 7) - bits:(VarUInteger 7) = StorageUsedShort; - -storage_info$_ used:StorageUsed last_paid:uint32 - due_payment:(Maybe Coins) = StorageInfo; - -account_none$0 = Account; -account$1 addr:MsgAddressInt storage_stat:StorageInfo - storage:AccountStorage = Account; - -account_storage$_ last_trans_lt:uint64 - balance:CurrencyCollection state:AccountState - = AccountStorage; - -account_uninit$00 = AccountState; -account_active$1 _:StateInit = AccountState; -account_frozen$01 state_hash:bits256 = AccountState; - -acc_state_uninit$00 = AccountStatus; -acc_state_frozen$01 = AccountStatus; -acc_state_active$10 = AccountStatus; -acc_state_nonexist$11 = AccountStatus; - -/* duplicates -tick_tock$_ tick:Bool tock:Bool = TickTock; - -_ split_depth:(Maybe (## 5)) special:(Maybe TickTock) - code:(Maybe ^Cell) data:(Maybe ^Cell) - library:(Maybe ^Cell) = StateInit; -*/ - -account_descr$_ account:^Account last_trans_hash:bits256 - last_trans_lt:uint64 = ShardAccount; - -depth_balance$_ split_depth:(#<= 30) balance:CurrencyCollection = DepthBalanceInfo; - -_ (HashmapAugE 256 ShardAccount DepthBalanceInfo) = ShardAccounts; - -transaction$0111 account_addr:bits256 lt:uint64 - prev_trans_hash:bits256 prev_trans_lt:uint64 now:uint32 - outmsg_cnt:uint15 - orig_status:AccountStatus end_status:AccountStatus - ^[ in_msg:(Maybe ^(Message Any)) out_msgs:(HashmapE 15 ^(Message Any)) ] - total_fees:CurrencyCollection state_update:^(HASH_UPDATE Account) - description:^TransactionDescr = Transaction; - -!merkle_update#02 {X:Type} old_hash:bits256 new_hash:bits256 - old:^X new:^X = MERKLE_UPDATE X; -update_hashes#72 {X:Type} old_hash:bits256 new_hash:bits256 - = HASH_UPDATE X; -!merkle_proof#03 {X:Type} virtual_hash:bits256 depth:uint16 virtual_root:^X = MERKLE_PROOF X; - -acc_trans#5 account_addr:bits256 - transactions:(HashmapAug 64 ^Transaction CurrencyCollection) - state_update:^(HASH_UPDATE Account) - = AccountBlock; - -_ (HashmapAugE 256 AccountBlock CurrencyCollection) = ShardAccountBlocks; -// -tr_phase_storage$_ storage_fees_collected:Coins - storage_fees_due:(Maybe Coins) - status_change:AccStatusChange - = TrStoragePhase; - -acst_unchanged$0 = AccStatusChange; // x -> x -acst_frozen$10 = AccStatusChange; // init -> frozen -acst_deleted$11 = AccStatusChange; // frozen -> deleted - -tr_phase_credit$_ due_fees_collected:(Maybe Coins) - credit:CurrencyCollection = TrCreditPhase; - -tr_phase_compute_skipped$0 reason:ComputeSkipReason - = TrComputePhase; -tr_phase_compute_vm$1 success:Bool msg_state_used:Bool - account_activated:Bool gas_fees:Coins - ^[ gas_used:(VarUInteger 7) - gas_limit:(VarUInteger 7) gas_credit:(Maybe (VarUInteger 3)) - mode:int8 exit_code:int32 exit_arg:(Maybe int32) - vm_steps:uint32 - vm_init_state_hash:bits256 vm_final_state_hash:bits256 ] - = TrComputePhase; -cskip_no_state$00 = ComputeSkipReason; -cskip_bad_state$01 = ComputeSkipReason; -cskip_no_gas$10 = ComputeSkipReason; - -tr_phase_action$_ success:Bool valid:Bool no_funds:Bool - status_change:AccStatusChange - total_fwd_fees:(Maybe Coins) total_action_fees:(Maybe Coins) - result_code:int32 result_arg:(Maybe int32) tot_actions:uint16 - spec_actions:uint16 skipped_actions:uint16 msgs_created:uint16 - action_list_hash:bits256 tot_msg_size:StorageUsedShort - = TrActionPhase; - -tr_phase_bounce_negfunds$00 = TrBouncePhase; -tr_phase_bounce_nofunds$01 msg_size:StorageUsedShort - req_fwd_fees:Coins = TrBouncePhase; -tr_phase_bounce_ok$1 msg_size:StorageUsedShort - msg_fees:Coins fwd_fees:Coins = TrBouncePhase; -// -trans_ord$0000 credit_first:Bool - storage_ph:(Maybe TrStoragePhase) - credit_ph:(Maybe TrCreditPhase) - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool bounce:(Maybe TrBouncePhase) - destroyed:Bool - = TransactionDescr; - -trans_storage$0001 storage_ph:TrStoragePhase - = TransactionDescr; - -trans_tick_tock$001 is_tock:Bool storage_ph:TrStoragePhase - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool destroyed:Bool = TransactionDescr; -// -split_merge_info$_ cur_shard_pfx_len:(## 6) - acc_split_depth:(## 6) this_addr:bits256 sibling_addr:bits256 - = SplitMergeInfo; -trans_split_prepare$0100 split_info:SplitMergeInfo - storage_ph:(Maybe TrStoragePhase) - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool destroyed:Bool - = TransactionDescr; -trans_split_install$0101 split_info:SplitMergeInfo - prepare_transaction:^Transaction - installed:Bool = TransactionDescr; - -trans_merge_prepare$0110 split_info:SplitMergeInfo - storage_ph:TrStoragePhase aborted:Bool - = TransactionDescr; -trans_merge_install$0111 split_info:SplitMergeInfo - prepare_transaction:^Transaction - storage_ph:(Maybe TrStoragePhase) - credit_ph:(Maybe TrCreditPhase) - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool destroyed:Bool - = TransactionDescr; - -smc_info#076ef1ea actions:uint16 msgs_sent:uint16 - unixtime:uint32 block_lt:uint64 trans_lt:uint64 - rand_seed:bits256 balance_remaining:CurrencyCollection - myself:MsgAddressInt = SmartContractInfo; -// -// -out_list_empty$_ = OutList 0; -out_list$_ {n:#} prev:^(OutList n) action:OutAction - = OutList (n + 1); -action_send_msg#0ec3c86d mode:(## 8) - out_msg:^(MessageRelaxed Any) = OutAction; -action_set_code#ad4de08e new_code:^Cell = OutAction; -action_reserve_currency#36e6b809 mode:(## 8) - currency:CurrencyCollection = OutAction; -libref_hash$0 lib_hash:bits256 = LibRef; -libref_ref$1 library:^Cell = LibRef; -action_change_library#26fa1dd4 mode:(## 7) { mode <= 2 } - libref:LibRef = OutAction; - -out_list_node$_ prev:^Cell action:OutAction = OutListNode; -// -// -shard_ident$00 shard_pfx_bits:(#<= 60) - workchain_id:int32 shard_prefix:uint64 = ShardIdent; - -ext_blk_ref$_ end_lt:uint64 - seq_no:uint32 root_hash:bits256 file_hash:bits256 - = ExtBlkRef; - -block_id_ext$_ shard_id:ShardIdent seq_no:uint32 - root_hash:bits256 file_hash:bits256 = BlockIdExt; - -master_info$_ master:ExtBlkRef = BlkMasterInfo; - -shard_state#9023afe2 global_id:int32 - shard_id:ShardIdent - seq_no:uint32 - vert_seq_no:# - gen_utime:uint32 - gen_lt:uint64 - min_ref_mc_seqno:uint32 - out_msg_queue_info:^OutMsgQueueInfo - before_split:(## 1) - accounts:^ShardAccounts - ^[ - overload_history:uint64 - underload_history:uint64 - total_balance:CurrencyCollection - total_validator_fees:CurrencyCollection - libraries:(HashmapE 256 LibDescr) - master_ref:(Maybe BlkMasterInfo) - ] - custom:(Maybe ^McStateExtra) - = ShardStateUnsplit; - -_ ShardStateUnsplit = ShardState; -split_state#5f327da5 left:^ShardStateUnsplit right:^ShardStateUnsplit = ShardState; - -shared_lib_descr$00 lib:^Cell publishers:(Hashmap 256 True) - = LibDescr; - -block_info#9bc7a987 version:uint32 - not_master:(## 1) - after_merge:(## 1) before_split:(## 1) - after_split:(## 1) - want_split:Bool want_merge:Bool - key_block:Bool vert_seqno_incr:(## 1) - flags:(## 8) { flags <= 1 } - seq_no:# vert_seq_no:# { vert_seq_no >= vert_seqno_incr } - { prev_seq_no:# } { ~prev_seq_no + 1 = seq_no } - shard:ShardIdent gen_utime:uint32 - start_lt:uint64 end_lt:uint64 - gen_validator_list_hash_short:uint32 - gen_catchain_seqno:uint32 - min_ref_mc_seqno:uint32 - prev_key_block_seqno:uint32 - gen_software:flags . 0?GlobalVersion - master_ref:not_master?^BlkMasterInfo - prev_ref:^(BlkPrevInfo after_merge) - prev_vert_ref:vert_seqno_incr?^(BlkPrevInfo 0) - = BlockInfo; - -prev_blk_info$_ prev:ExtBlkRef = BlkPrevInfo 0; -prev_blks_info$_ prev1:^ExtBlkRef prev2:^ExtBlkRef = BlkPrevInfo 1; - -block#11ef55aa global_id:int32 - info:^BlockInfo value_flow:^ValueFlow - state_update:^(MERKLE_UPDATE ShardState) - extra:^BlockExtra = Block; - -block_extra in_msg_descr:^(HashmapAugE 256 InMsg ImportFees) - out_msg_descr:^(HashmapAugE 256 OutMsg CurrencyCollection) - account_blocks:^(HashmapAugE 256 AccountBlock CurrencyCollection) - rand_seed:bits256 - created_by:bits256 - custom:(Maybe ^McBlockExtra) = BlockExtra; -// -value_flow ^[ from_prev_blk:CurrencyCollection - to_next_blk:CurrencyCollection - imported:CurrencyCollection - exported:CurrencyCollection ] - fees_collected:CurrencyCollection - ^[ - fees_imported:CurrencyCollection - recovered:CurrencyCollection - created:CurrencyCollection - minted:CurrencyCollection - ] = ValueFlow; - -// -// -bt_leaf$0 {X:Type} leaf:X = BinTree X; -bt_fork$1 {X:Type} left:^(BinTree X) right:^(BinTree X) - = BinTree X; - -fsm_none$0 = FutureSplitMerge; -fsm_split$10 split_utime:uint32 interval:uint32 = FutureSplitMerge; -fsm_merge$11 merge_utime:uint32 interval:uint32 = FutureSplitMerge; - -shard_descr#b seq_no:uint32 reg_mc_seqno:uint32 - start_lt:uint64 end_lt:uint64 - root_hash:bits256 file_hash:bits256 - before_split:Bool before_merge:Bool - want_split:Bool want_merge:Bool - nx_cc_updated:Bool flags:(## 3) { flags = 0 } - next_catchain_seqno:uint32 next_validator_shard:uint64 - min_ref_mc_seqno:uint32 gen_utime:uint32 - split_merge_at:FutureSplitMerge - fees_collected:CurrencyCollection - funds_created:CurrencyCollection = ShardDescr; - -shard_descr_new#a seq_no:uint32 reg_mc_seqno:uint32 - start_lt:uint64 end_lt:uint64 - root_hash:bits256 file_hash:bits256 - before_split:Bool before_merge:Bool - want_split:Bool want_merge:Bool - nx_cc_updated:Bool flags:(## 3) { flags = 0 } - next_catchain_seqno:uint32 next_validator_shard:uint64 - min_ref_mc_seqno:uint32 gen_utime:uint32 - split_merge_at:FutureSplitMerge - ^[ fees_collected:CurrencyCollection - funds_created:CurrencyCollection ] = ShardDescr; - -_ (HashmapE 32 ^(BinTree ShardDescr)) = ShardHashes; - -bta_leaf$0 {X:Type} {Y:Type} extra:Y leaf:X = BinTreeAug X Y; -bta_fork$1 {X:Type} {Y:Type} left:^(BinTreeAug X Y) - right:^(BinTreeAug X Y) extra:Y = BinTreeAug X Y; - -_ fees:CurrencyCollection create:CurrencyCollection = ShardFeeCreated; -_ (HashmapAugE 96 ShardFeeCreated ShardFeeCreated) = ShardFees; - -_ config_addr:bits256 config:^(Hashmap 32 ^Cell) - = ConfigParams; - -validator_info$_ - validator_list_hash_short:uint32 - catchain_seqno:uint32 - nx_cc_updated:Bool -= ValidatorInfo; - -validator_base_info$_ - validator_list_hash_short:uint32 - catchain_seqno:uint32 -= ValidatorBaseInfo; - -_ key:Bool max_end_lt:uint64 = KeyMaxLt; -_ key:Bool blk_ref:ExtBlkRef = KeyExtBlkRef; - -_ (HashmapAugE 32 KeyExtBlkRef KeyMaxLt) = OldMcBlocksInfo; - - -counters#_ last_updated:uint32 - total:uint64 - cnt2048:uint64 - cnt65536:uint64 = Counters; -creator_info#4 mc_blocks:Counters shard_blocks:Counters = CreatorStats; -block_create_stats#17 counters:(HashmapE 256 CreatorStats) = BlockCreateStats; -block_create_stats_ext#34 counters:(HashmapAugE 256 CreatorStats uint32) = BlockCreateStats; - -masterchain_state_extra#cc26 - shard_hashes:ShardHashes - config:ConfigParams - ^[ flags:(## 16) { flags <= 1 } - validator_info:ValidatorInfo - prev_blocks:OldMcBlocksInfo - after_key_block:Bool - last_key_block:(Maybe ExtBlkRef) - block_create_stats:(flags . 0)?BlockCreateStats ] - global_balance:CurrencyCollection -= McStateExtra; - -ed25519_pubkey#8e81278a pubkey:bits256 = SigPubKey; // 288 bits -ed25519_signature#5 R:bits256 s:bits256 = CryptoSignatureSimple; // 516 bits -_ CryptoSignatureSimple = CryptoSignature; -sig_pair$_ node_id_short:bits256 sign:CryptoSignature = CryptoSignaturePair; // 256+x ~ 772 bits - -certificate#4 temp_key:SigPubKey valid_since:uint32 valid_until:uint32 = Certificate; // 356 bits -certificate_env#a419b7d certificate:Certificate = CertificateEnv; // 384 bits -signed_certificate$_ certificate:Certificate certificate_signature:CryptoSignature - = SignedCertificate; // 356+516 = 872 bits -// certificate_signature is the signature of CertificateEnv (with embedded certificate) with persistent key -chained_signature#f signed_cert:^SignedCertificate - temp_key_signature:CryptoSignatureSimple - = CryptoSignature; // 4+(356+516)+516 = 520 bits+ref (1392 bits total) -// temp_key_signature is the signature of whatever was originally intended to be signed with temp_key from certificate - -masterchain_block_extra#cca5 - key_block:(## 1) - shard_hashes:ShardHashes - shard_fees:ShardFees - ^[ prev_blk_signatures:(HashmapE 16 CryptoSignaturePair) - recover_create_msg:(Maybe ^InMsg) - mint_msg:(Maybe ^InMsg) ] - config:key_block?ConfigParams -= McBlockExtra; - -// -// CONFIGURATION PARAMETERS -// - -validator#53 public_key:SigPubKey weight:uint64 = ValidatorDescr; -validator_addr#73 public_key:SigPubKey weight:uint64 adnl_addr:bits256 = ValidatorDescr; -validators#11 utime_since:uint32 utime_until:uint32 - total:(## 16) main:(## 16) { main <= total } { main >= 1 } - list:(Hashmap 16 ValidatorDescr) = ValidatorSet; -validators_ext#12 utime_since:uint32 utime_until:uint32 - total:(## 16) main:(## 16) { main <= total } { main >= 1 } - total_weight:uint64 list:(HashmapE 16 ValidatorDescr) = ValidatorSet; - -_ config_addr:bits256 = ConfigParam 0; -_ elector_addr:bits256 = ConfigParam 1; -_ minter_addr:bits256 = ConfigParam 2; // ConfigParam 0 is used if absent -_ fee_collector_addr:bits256 = ConfigParam 3; // ConfigParam 1 is used if absent -_ dns_root_addr:bits256 = ConfigParam 4; // root TON DNS resolver - -_ mint_new_price:Coins mint_add_price:Coins = ConfigParam 6; -_ to_mint:ExtraCurrencyCollection = ConfigParam 7; - -capabilities#c4 version:uint32 capabilities:uint64 = GlobalVersion; -_ GlobalVersion = ConfigParam 8; // all zero if absent -_ mandatory_params:(Hashmap 32 True) = ConfigParam 9; -_ critical_params:(Hashmap 32 True) = ConfigParam 10; - -cfg_vote_cfg#36 min_tot_rounds:uint8 max_tot_rounds:uint8 min_wins:uint8 max_losses:uint8 min_store_sec:uint32 max_store_sec:uint32 bit_price:uint32 cell_price:uint32 = ConfigProposalSetup; -cfg_vote_setup#91 normal_params:^ConfigProposalSetup critical_params:^ConfigProposalSetup = ConfigVotingSetup; -_ ConfigVotingSetup = ConfigParam 11; - -cfg_proposal#f3 param_id:int32 param_value:(Maybe ^Cell) if_hash_equal:(Maybe uint256) - = ConfigProposal; -cfg_proposal_status#ce expires:uint32 proposal:^ConfigProposal is_critical:Bool - voters:(HashmapE 16 True) remaining_weight:int64 validator_set_id:uint256 - rounds_remaining:uint8 wins:uint8 losses:uint8 = ConfigProposalStatus; - -wfmt_basic#1 vm_version:int32 vm_mode:uint64 = WorkchainFormat 1; -wfmt_ext#0 min_addr_len:(## 12) max_addr_len:(## 12) addr_len_step:(## 12) - { min_addr_len >= 64 } { min_addr_len <= max_addr_len } - { max_addr_len <= 1023 } { addr_len_step <= 1023 } - workchain_type_id:(## 32) { workchain_type_id >= 1 } - = WorkchainFormat 0; - -workchain#a6 enabled_since:uint32 actual_min_split:(## 8) - min_split:(## 8) max_split:(## 8) { actual_min_split <= min_split } -//workchain#a5 enabled_since:uint32 min_split:(## 8) max_split:(## 8) -// { min_split <= max_split } { max_split <= 60 } - basic:(## 1) active:Bool accept_msgs:Bool flags:(## 13) { flags = 0 } - zerostate_root_hash:bits256 zerostate_file_hash:bits256 - version:uint32 format:(WorkchainFormat basic) - = WorkchainDescr; - -_ workchains:(HashmapE 32 WorkchainDescr) = ConfigParam 12; - -complaint_prices#1a deposit:Coins bit_price:Coins cell_price:Coins = ComplaintPricing; -_ ComplaintPricing = ConfigParam 13; - -block_Coins_created#6b masterchain_block_fee:Coins basechain_block_fee:Coins - = BlockCreateFees; -_ BlockCreateFees = ConfigParam 14; - -_ validators_elected_for:uint32 elections_start_before:uint32 - elections_end_before:uint32 stake_held_for:uint32 - = ConfigParam 15; - -_ max_validators:(## 16) max_main_validators:(## 16) min_validators:(## 16) - { max_validators >= max_main_validators } - { max_main_validators >= min_validators } - { min_validators >= 1 } - = ConfigParam 16; - -_ min_stake:Coins max_stake:Coins min_total_stake:Coins max_stake_factor:uint32 = ConfigParam 17; - -_#cc utime_since:uint32 bit_price_ps:uint64 cell_price_ps:uint64 - mc_bit_price_ps:uint64 mc_cell_price_ps:uint64 = StoragePrices; -_ (Hashmap 32 StoragePrices) = ConfigParam 18; - -gas_prices#dd gas_price:uint64 gas_limit:uint64 gas_credit:uint64 - block_gas_limit:uint64 freeze_due_limit:uint64 delete_due_limit:uint64 - = GasLimitsPrices; - -gas_prices_ext#de gas_price:uint64 gas_limit:uint64 special_gas_limit:uint64 gas_credit:uint64 - block_gas_limit:uint64 freeze_due_limit:uint64 delete_due_limit:uint64 - = GasLimitsPrices; - -gas_flat_pfx#d1 flat_gas_limit:uint64 flat_gas_price:uint64 other:GasLimitsPrices - = GasLimitsPrices; - -config_mc_gas_prices#_ GasLimitsPrices = ConfigParam 20; -config_gas_prices#_ GasLimitsPrices = ConfigParam 21; - -param_limits#c3 underload:# soft_limit:# { underload <= soft_limit } - hard_limit:# { soft_limit <= hard_limit } = ParamLimits; -block_limits#5d bytes:ParamLimits gas:ParamLimits lt_delta:ParamLimits - = BlockLimits; - -config_mc_block_limits#_ BlockLimits = ConfigParam 22; -config_block_limits#_ BlockLimits = ConfigParam 23; - -// msg_fwd_fees = (lump_price + ceil((bit_price * msg.bits + cell_price * msg.cells)/2^16)) nanoCoins -// ihr_fwd_fees = ceil((msg_fwd_fees * ihr_price_factor)/2^16) nanoCoins -// bits in the root cell of a message are not included in msg.bits (lump_price pays for them) -msg_forward_prices#ea lump_price:uint64 bit_price:uint64 cell_price:uint64 - ihr_price_factor:uint32 first_frac:uint16 next_frac:uint16 = MsgForwardPrices; - -// used for messages to/from masterchain -config_mc_fwd_prices#_ MsgForwardPrices = ConfigParam 24; -// used for all other messages -config_fwd_prices#_ MsgForwardPrices = ConfigParam 25; - -catchain_config#c1 mc_catchain_lifetime:uint32 shard_catchain_lifetime:uint32 - shard_validators_lifetime:uint32 shard_validators_num:uint32 = CatchainConfig; - -catchain_config_new#c2 flags:(## 7) { flags = 0 } shuffle_mc_validators:Bool - mc_catchain_lifetime:uint32 shard_catchain_lifetime:uint32 - shard_validators_lifetime:uint32 shard_validators_num:uint32 = CatchainConfig; - -consensus_config#d6 round_candidates:# { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 = ConsensusConfig; - -consensus_config_new#d7 flags:(## 7) { flags = 0 } new_catchain_ids:Bool - round_candidates:(## 8) { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 = ConsensusConfig; - -consensus_config_v3#d8 flags:(## 7) { flags = 0 } new_catchain_ids:Bool - round_candidates:(## 8) { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 - proto_version:uint16 = ConsensusConfig; - -_ CatchainConfig = ConfigParam 28; -_ ConsensusConfig = ConfigParam 29; - -_ fundamental_smc_addr:(HashmapE 256 True) = ConfigParam 31; -_ prev_validators:ValidatorSet = ConfigParam 32; -_ prev_temp_validators:ValidatorSet = ConfigParam 33; -_ cur_validators:ValidatorSet = ConfigParam 34; -_ cur_temp_validators:ValidatorSet = ConfigParam 35; -_ next_validators:ValidatorSet = ConfigParam 36; -_ next_temp_validators:ValidatorSet = ConfigParam 37; - -validator_temp_key#3 adnl_addr:bits256 temp_public_key:SigPubKey seqno:# valid_until:uint32 = ValidatorTempKey; -signed_temp_key#4 key:^ValidatorTempKey signature:CryptoSignature = ValidatorSignedTempKey; -_ (HashmapE 256 ValidatorSignedTempKey) = ConfigParam 39; - -misbehaviour_punishment_config_v1#01 - default_flat_fine:Coins default_proportional_fine:uint32 - severity_flat_mult:uint16 severity_proportional_mult:uint16 - unpunishable_interval:uint16 - long_interval:uint16 long_flat_mult:uint16 long_proportional_mult:uint16 - medium_interval:uint16 medium_flat_mult:uint16 medium_proportional_mult:uint16 - = MisbehaviourPunishmentConfig; -_ MisbehaviourPunishmentConfig = ConfigParam 40; - -oracle_bridge_params#_ bridge_address:bits256 oracle_mutlisig_address:bits256 oracles:(HashmapE 256 uint256) external_chain_address:bits256 = OracleBridgeParams; -_ OracleBridgeParams = ConfigParam 71; // Ethereum bridge -_ OracleBridgeParams = ConfigParam 72; // Binance Smart Chain bridge -_ OracleBridgeParams = ConfigParam 73; // Polygon bridge - -// -// PROOFS -// -block_signatures_pure#_ sig_count:uint32 sig_weight:uint64 - signatures:(HashmapE 16 CryptoSignaturePair) = BlockSignaturesPure; -block_signatures#11 validator_info:ValidatorBaseInfo pure_signatures:BlockSignaturesPure = BlockSignatures; -block_proof#c3 proof_for:BlockIdExt root:^Cell signatures:(Maybe ^BlockSignatures) = BlockProof; - -chain_empty$_ = ProofChain 0; -chain_link$_ {n:#} root:^Cell prev:n?^(ProofChain n) = ProofChain (n + 1); -top_block_descr#d5 proof_for:BlockIdExt signatures:(Maybe ^BlockSignatures) - len:(## 8) { len >= 1 } { len <= 8 } chain:(ProofChain len) = TopBlockDescr; - -// -// COLLATED DATA -// -top_block_descr_set#4ac789f3 collection:(HashmapE 96 ^TopBlockDescr) = TopBlockDescrSet; - -// -// VALIDATOR MISBEHAVIOR COMPLAINTS -// -prod_info#34 utime:uint32 mc_blk_ref:ExtBlkRef state_proof:^(MERKLE_PROOF Block) - prod_proof:^(MERKLE_PROOF ShardState) = ProducerInfo; -no_blk_gen from_utime:uint32 prod_info:^ProducerInfo = ComplaintDescr; -no_blk_gen_diff prod_info_old:^ProducerInfo prod_info_new:^ProducerInfo = ComplaintDescr; -validator_complaint#bc validator_pubkey:bits256 description:^ComplaintDescr created_at:uint32 severity:uint8 reward_addr:uint256 paid:Coins suggested_fine:Coins suggested_fine_part:uint32 = ValidatorComplaint; -complaint_status#2d complaint:^ValidatorComplaint voters:(HashmapE 16 True) vset_id:uint256 weight_remaining:int64 = ValidatorComplaintStatus; - -// -// TVM REFLECTION -// -vm_stk_null#00 = VmStackValue; -vm_stk_tinyint#01 value:int64 = VmStackValue; -vm_stk_int#0201_ value:int257 = VmStackValue; -vm_stk_nan#02ff = VmStackValue; -vm_stk_cell#03 cell:^Cell = VmStackValue; -_ cell:^Cell st_bits:(## 10) end_bits:(## 10) { st_bits <= end_bits } - st_ref:(#<= 4) end_ref:(#<= 4) { st_ref <= end_ref } = VmCellSlice; -vm_stk_slice#04 _:VmCellSlice = VmStackValue; -vm_stk_builder#05 cell:^Cell = VmStackValue; -vm_stk_cont#06 cont:VmCont = VmStackValue; -vm_tupref_nil$_ = VmTupleRef 0; -vm_tupref_single$_ entry:^VmStackValue = VmTupleRef 1; -vm_tupref_any$_ {n:#} ref:^(VmTuple (n + 2)) = VmTupleRef (n + 2); -vm_tuple_nil$_ = VmTuple 0; -vm_tuple_tcons$_ {n:#} head:(VmTupleRef n) tail:^VmStackValue = VmTuple (n + 1); -vm_stk_tuple#07 len:(## 16) data:(VmTuple len) = VmStackValue; - -vm_stack#_ depth:(## 24) stack:(VmStackList depth) = VmStack; -vm_stk_cons#_ {n:#} rest:^(VmStackList n) tos:VmStackValue = VmStackList (n + 1); -vm_stk_nil#_ = VmStackList 0; - -_ cregs:(HashmapE 4 VmStackValue) = VmSaveList; -gas_limits#_ remaining:int64 _:^[ max_limit:int64 cur_limit:int64 credit:int64 ] - = VmGasLimits; -_ libraries:(HashmapE 256 ^Cell) = VmLibraries; - -vm_ctl_data$_ nargs:(Maybe uint13) stack:(Maybe VmStack) save:VmSaveList -cp:(Maybe int16) = VmControlData; -vmc_std$00 cdata:VmControlData code:VmCellSlice = VmCont; -vmc_envelope$01 cdata:VmControlData next:^VmCont = VmCont; -vmc_quit$1000 exit_code:int32 = VmCont; -vmc_quit_exc$1001 = VmCont; -vmc_repeat$10100 count:uint63 body:^VmCont after:^VmCont = VmCont; -vmc_until$110000 body:^VmCont after:^VmCont = VmCont; -vmc_again$110001 body:^VmCont = VmCont; -vmc_while_cond$110010 cond:^VmCont body:^VmCont -after:^VmCont = VmCont; -vmc_while_body$110011 cond:^VmCont body:^VmCont -after:^VmCont = VmCont; -vmc_pushint$1111 value:int32 next:^VmCont = VmCont; - -// -// DNS RECORDS -// -_ (HashmapE 256 ^DNSRecord) = DNS_RecordSet; - -chunk_ref$_ {n:#} ref:^(TextChunks (n + 1)) = TextChunkRef (n + 1); -chunk_ref_empty$_ = TextChunkRef 0; -text_chunk$_ {n:#} len:(## 8) data:(bits (len * 8)) next:(TextChunkRef n) = TextChunks (n + 1); -text_chunk_empty$_ = TextChunks 0; -text$_ chunks:(## 8) rest:(TextChunks chunks) = Text; -dns_text#1eda _:Text = DNSRecord; - -dns_next_resolver#ba93 resolver:MsgAddressInt = DNSRecord; // usually in record #-1 - -dns_adnl_address#ad01 adnl_addr:bits256 flags:(## 8) { flags <= 1 } - proto_list:flags . 0?ProtoList = DNSRecord; // often in record #2 -proto_list_nil$0 = ProtoList; -proto_list_next$1 head:Protocol tail:ProtoList = ProtoList; -proto_http#4854 = Protocol; - -dns_smc_address#9fd3 smc_addr:MsgAddressInt flags:(## 8) { flags <= 1 } - cap_list:flags . 0?SmcCapList = DNSRecord; // often in record #1 -cap_list_nil$0 = SmcCapList; -cap_list_next$1 head:SmcCapability tail:SmcCapList = SmcCapList; -cap_method_seqno#5371 = SmcCapability; -cap_method_pubkey#71f4 = SmcCapability; -cap_is_wallet#2177 = SmcCapability; -cap_name#ff name:Text = SmcCapability; - -// -// PAYMENT CHANNELS -// - -chan_config$_ init_timeout:uint32 close_timeout:uint32 a_key:bits256 b_key:bits256 - a_addr:^MsgAddressInt b_addr:^MsgAddressInt channel_id:uint64 min_A_extra:Coins = ChanConfig; - -chan_state_init$000 signed_A:Bool signed_B:Bool min_A:Coins min_B:Coins expire_at:uint32 A:Coins B:Coins = ChanState; -chan_state_close$001 signed_A:Bool signed_B:Bool promise_A:Coins promise_B:Coins expire_at:uint32 A:Coins B:Coins = ChanState; -chan_state_payout$010 A:Coins B:Coins = ChanState; - -chan_promise$_ channel_id:uint64 promise_A:Coins promise_B:Coins = ChanPromise; -chan_signed_promise#_ sig:(Maybe ^bits512) promise:ChanPromise = ChanSignedPromise; - -chan_msg_init#27317822 inc_A:Coins inc_B:Coins min_A:Coins min_B:Coins channel_id:uint64 = ChanMsg; -chan_msg_close#f28ae183 extra_A:Coins extra_B:Coins promise:ChanSignedPromise = ChanMsg; -chan_msg_timeout#43278a28 = ChanMsg; -chan_msg_payout#37fe7810 = ChanMsg; - -chan_signed_msg$_ sig_A:(Maybe ^bits512) sig_B:(Maybe ^bits512) msg:ChanMsg = ChanSignedMsg; - -chan_op_cmd#912838d1 msg:ChanSignedMsg = ChanOp; - - -chan_data$_ config:^ChanConfig state:^ChanState = ChanData; diff --git a/ton-kotlin-boc/build.gradle.kts b/ton-kotlin-boc/build.gradle.kts deleted file mode 100644 index 61492994..00000000 --- a/ton-kotlin-boc/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - api(projects.tonKotlinCell) - implementation(libs.ktor.utils) - implementation(libs.serialization.json) - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } - } -} diff --git a/ton-kotlin-boc/jvm/test/test.kt b/ton-kotlin-boc/jvm/test/test.kt deleted file mode 100644 index aa0f1995..00000000 --- a/ton-kotlin-boc/jvm/test/test.kt +++ /dev/null @@ -1,14 +0,0 @@ -import io.ktor.util.* -import org.ton.boc.BagOfCells -import org.ton.crypto.encodeHex - -fun main() { - val bocBase64 = - "te6ccuEBAQEASwCWAJIAAAAAQXVjdGlvbiBwcm9jZWVkcyBmb3IgdXNkdHh4eC50Lm1lIG1pbnVzIGNvbnZlcnNpb24gZmVlIGFuZCByb3lhbHRpZXMunEsqdg==" - val boc = BagOfCells((bocBase64).decodeBase64Bytes()) - val cell = boc.first() - println("cell: $cell") - val newBoc = BagOfCells(cell) - println("old boc: ${bocBase64.decodeBase64Bytes().encodeHex()}") - println("new boc: ${newBoc.toByteArray().encodeHex()}") -} diff --git a/ton-kotlin-contract/build.gradle.kts b/ton-kotlin-contract/build.gradle.kts deleted file mode 100644 index 001ff27b..00000000 --- a/ton-kotlin-contract/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - api(projects.tonKotlinLiteclient) - api(projects.tonKotlinBoc) - api(projects.tonKotlinCrypto) - api(libs.datetime) - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - api(projects.tonKotlinMnemonic) - } - } - } -} diff --git a/ton-kotlin-contract/src/jvmTest/kotlin/CellStringTest.kt b/ton-kotlin-contract/src/jvmTest/kotlin/CellStringTest.kt deleted file mode 100644 index 20b39260..00000000 --- a/ton-kotlin-contract/src/jvmTest/kotlin/CellStringTest.kt +++ /dev/null @@ -1,19 +0,0 @@ - -import org.ton.cell.buildCell -import org.ton.contract.CellStringTlbConstructor -import org.ton.tl.asByteString -import kotlin.random.Random -import kotlin.test.Test -import kotlin.test.assertContentEquals - -class CellStringTest { - @Test - fun test() { - val byteArray = Random.nextBytes(500).asByteString() - val cell = buildCell { - CellStringTlbConstructor.storeTlb(this, byteArray) - } - val bytes = CellStringTlbConstructor.loadTlb(cell) - assertContentEquals(byteArray, bytes) - } -} diff --git a/ton-kotlin-contract/src/jvmTest/kotlin/WalletTransferExample.kt b/ton-kotlin-contract/src/jvmTest/kotlin/WalletTransferExample.kt deleted file mode 100644 index db19ec49..00000000 --- a/ton-kotlin-contract/src/jvmTest/kotlin/WalletTransferExample.kt +++ /dev/null @@ -1,20 +0,0 @@ -import org.ton.api.pk.PrivateKeyEd25519 -import org.ton.block.Coins -import org.ton.contract.wallet.MessageData -import org.ton.contract.wallet.WalletV3R2Contract -import org.ton.contract.wallet.liteClient -import org.ton.contract.wallet.transfer -import kotlin.random.Random - -suspend fun main() { - val liteClient = liteClient() - val privateKey = PrivateKeyEd25519(Random(0)) - val wallet = WalletV3R2Contract(liteClient, WalletV3R2Contract.address(privateKey)) - - println("Wallet Address: ${wallet.address.toString(userFriendly = true)}") - - wallet.transfer(privateKey) { - coins = Coins.ofNano(12) - messageData = MessageData.text("Hello World!") - } -} diff --git a/ton-kotlin-crypto/build.gradle.kts b/ton-kotlin-crypto/build.gradle.kts deleted file mode 100644 index 183764ad..00000000 --- a/ton-kotlin-crypto/build.gradle.kts +++ /dev/null @@ -1,26 +0,0 @@ -plugins { - kotlin("multiplatform") - kotlin("plugin.serialization") -} - -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - api(libs.ktor.utils) - implementation(libs.curve25519) - implementation(libs.serialization.core) - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } - val nativeMain by getting { - dependencies { - api(libs.serialization.core) - } - } - } -} diff --git a/ton-kotlin-crypto/common/src/hex.kt b/ton-kotlin-crypto/common/src/hex.kt deleted file mode 100644 index b9b2b7a7..00000000 --- a/ton-kotlin-crypto/common/src/hex.kt +++ /dev/null @@ -1,64 +0,0 @@ -package org.ton.crypto - -import kotlinx.serialization.KSerializer -import kotlinx.serialization.descriptors.SerialDescriptor -import kotlinx.serialization.descriptors.serialDescriptor -import kotlinx.serialization.encoding.Decoder -import kotlinx.serialization.encoding.Encoder - -private val DIGITS = "0123456789abcdef".toCharArray() - -/** - * Encode [bytes] as a HEX string with no spaces, newlines and `0x` prefixes. - */ -public fun hex(bytes: ByteArray): String = buildString(bytes.size * 2) { - bytes.forEach { byte -> - val b = byte.toInt() and 0xFF - append(DIGITS[b shr 4]) - append(DIGITS[b and 0x0F]) - } -} - -public fun hex(bytes: Iterable): String = buildString { - bytes.forEach { byte -> - val b = byte.toInt() and 0xFF - append(DIGITS[b shr 4]) - append(DIGITS[b and 0x0F]) - } -} - -public fun hex(vararg longs: Long): String = buildString { - longs.forEach { - append(it.toString(16)) - } -} - -/** - * Decode bytes from HEX string. It should be no spaces and `0x` prefixes. - */ -public fun hex(s: String): ByteArray { - val result = ByteArray(s.length / 2) - for (idx in result.indices) { - val srcIdx = idx * 2 - val high = s[srcIdx].toString().toInt(16) shl 4 - val low = s[srcIdx + 1].toString().toInt(16) - result[idx] = (high or low).toByte() - } - return result -} - -@Suppress("NOTHING_TO_INLINE") -public inline fun String.decodeHex(): ByteArray = hex(this) - -@Suppress("NOTHING_TO_INLINE") -public inline fun ByteArray.encodeHex(): String = hex(this) - -public object HexByteArraySerializer : KSerializer { - override val descriptor: SerialDescriptor = serialDescriptor() - - override fun deserialize(decoder: Decoder): ByteArray = hex(decoder.decodeString()) - - override fun serialize(encoder: Encoder, value: ByteArray) { - encoder.encodeString(hex(value)) - } -} diff --git a/ton-kotlin-hashmap/src/jvmTest/kotlin/TrieTest.kt b/ton-kotlin-hashmap/src/jvmTest/kotlin/TrieTest.kt deleted file mode 100644 index 5f88a674..00000000 --- a/ton-kotlin-hashmap/src/jvmTest/kotlin/TrieTest.kt +++ /dev/null @@ -1,169 +0,0 @@ -import org.ton.bitstring.BitString -import org.ton.cell.CellBuilder -import org.ton.hashmap.* - -fun main() { - val edge = edge( - label = label(), - node = fork( - left = edge(label("111"), leaf("foo")), // 0 - right = edge( - fork( // 1 - left = edge(leaf("bar")), // 10 - right = edge(label("01111"), leaf("buz")) // 1101 - ) - ) - ) - ) - println(edge) - NodeIterator(edge).forEach { - println(it.first.toBinary() + " " + it.second) - } -} - -fun label(string: String = "") = HmLabel(BitString.binary(string)) -fun edge(label: HmLabel, node: HashMapNode) = HmEdge(label, node) -fun edge(node: HashMapNode) = HmEdge(label(), node) -fun leaf(value: T) = HmnLeaf(value) -fun fork(left: HmEdge, right: HmEdge) = HmnFork(left, right) -fun fork(left: HashMapNode, right: HashMapNode) = HmnFork(edge(left), edge(right)) - - -class NodeIterator( - start: HmEdge -) : AbstractIterator>() { - val state = ArrayDeque>() - - init { - addState(start.label.toBitString(), start.node) - } - - private fun addState(prefix: BitString, node: HashMapNode) { - when (node) { - is HmnFork -> state.addFirst(WalkState.Fork(prefix, node)) - is HmnLeaf -> state.addFirst(WalkState.Leaf(prefix, node)) - else -> done() - } - } - - sealed class WalkState(open val node: HashMapNode) { - abstract fun step(): Pair>? - - class Leaf( - private val prefix: BitString, - override val node: HmnLeaf - ) : WalkState(node) { - var visited = false - - override fun step(): Pair>? { - if (visited) return null - visited = true - return prefix to node - } - } - - class Fork( - val prefix: BitString, - override val node: HmnFork - ) : WalkState(node) { - private var leftVisited = false - private var rightVisited = false - - override fun step(): Pair>? { - return if (leftVisited) { - if (rightVisited) { - null - } else { - rightVisited = true - val newPrefix = CellBuilder().apply { - storeBits(prefix) - storeBit(true) - storeBits(node.right.value.label.toBitString()) - }.bits - newPrefix to node.right.value.node - } - } else { - leftVisited = true - val newPrefix = CellBuilder().apply { - storeBits(prefix) - storeBit(false) - storeBits(node.left.value.label.toBitString()) - }.bits - newPrefix to node.left.value.node - } - } - } - } - - override fun computeNext() { - val nextValue = gotoNext() - if (nextValue != null) { - setNext(nextValue) - } else { - done() - } - } - - private tailrec fun gotoNext(): Pair? { - val topState = state.firstOrNull() ?: return null - val edge = topState.step() - return if (edge == null) { - state.removeFirst() - gotoNext() - } else { - val (prefix, node) = edge - if (node is HmnLeaf) { - prefix to node.value - } else { - addState(prefix, node) - gotoNext() - } - } - } -} - -data class Trie( - var left: Trie? = null, - var right: Trie? = null, - var value: T? = null -) : Iterable { - operator fun set(key: String, value: T) = set(BitString.binary(key), value) - - operator fun set(key: BitString, value: T) { - var x = this - for (i in 0 until key.size) { - x = if (key[i]) { - x.right ?: Trie().also { - x.right = it - } - } else { - x.left ?: Trie().also { - x.left = it - } - } - } - x.value = value - } - - operator fun get(binary: String) = get(BitString.binary(binary)) - - operator fun get(key: BitString, offset: Int = 0): T? { - var x = this - for (i in offset until key.size) { - if (key[i]) { - x.right?.also { - x = it - } ?: break - } else { - x.left?.also { - x = it - } ?: break - } - } - return x.value - } - - override fun iterator(): Iterator { - TODO() - } -} diff --git a/ton-kotlin-hashmap/src/jvmTest/resources/test.fif b/ton-kotlin-hashmap/src/jvmTest/resources/test.fif deleted file mode 100644 index 97820e1d..00000000 --- a/ton-kotlin-hashmap/src/jvmTest/resources/test.fif +++ /dev/null @@ -1,6 +0,0 @@ -dictnew -0b1100 b{1100} 2 exch 4 udict! drop -0b1110 b{1110} 2 exch 4 udict! drop -0b0000 b{0000} 2 exch 4 udict! drop - -boc>B Bx. diff --git a/ton-kotlin-liteapi/build.gradle.kts b/ton-kotlin-liteapi/build.gradle.kts deleted file mode 100644 index cde1f92f..00000000 --- a/ton-kotlin-liteapi/build.gradle.kts +++ /dev/null @@ -1,22 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - api(projects.tonKotlinTl) - api(projects.tonKotlinTlb) - api(projects.tonKotlinBlock) - api(projects.tonKotlinCrypto) - api(projects.tonKotlinCell) - api(projects.tonKotlinBoc) - api(projects.tonKotlinApi) - api(projects.tonKotlinLogger) - implementation(libs.serialization.json) - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } - } -} diff --git a/ton-kotlin-liteclient/build.gradle.kts b/ton-kotlin-liteclient/build.gradle.kts deleted file mode 100644 index 388457ee..00000000 --- a/ton-kotlin-liteclient/build.gradle.kts +++ /dev/null @@ -1,25 +0,0 @@ -kotlin { - jvm { - withJava() - } - - sourceSets { - val commonMain by getting { - dependencies { - api(projects.tonKotlinAdnl) - api(projects.tonKotlinLiteapi) - api(projects.tonKotlinLogger) - api(projects.tonKotlinBlock) - implementation(libs.serialization.json) - implementation(libs.atomicfu) - } - } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - implementation(libs.coroutines.core) - implementation(projects.tonKotlinContract) - } - } - } -} diff --git a/ton-kotlin-liteclient/src/commonTest/kotlin/GLOBAL_CONFIG_JSON.kt b/ton-kotlin-liteclient/src/commonTest/kotlin/GLOBAL_CONFIG_JSON.kt deleted file mode 100644 index 093983d8..00000000 --- a/ton-kotlin-liteclient/src/commonTest/kotlin/GLOBAL_CONFIG_JSON.kt +++ /dev/null @@ -1,887 +0,0 @@ -import kotlinx.serialization.decodeFromString -import kotlinx.serialization.json.Json -import org.ton.api.liteclient.config.LiteClientConfigGlobal - -val GLOBAL_CONFIG_JSON = """ - { - "@type": "config.global", - "dht": { - "@type": "dht.config.global", - "k": 6, - "a": 3, - "static_nodes": { - "@type": "dht.nodes", - "nodes": [ - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "C1uy64rfGxp10SPSqbsxWhbumy5SM0YbvljCudwpZeI=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1307380867, - "port": 15888 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "s+tnHMTzPYG8abau+1dUs8tBJ+CDt+jIPmGfaVd7nmfb1gt6lL10G2IwkNeWhkxjZcAHRc0azWFVxp+IjIOOBQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "bn8klhFZgE2sfIDfvVI6m6+oVNi1nBRlnHoxKtR9WBU=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1307380860, - "port": 15888 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "fQ5zAa6ot4pfFWzvuJOR8ijM5ELWndSDsRhFKstW1tqVSNfwAdOC7tDC8mc4vgTJ6fSYSWmhnXGK/+T5f6sDCw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "KlNrfVSyO6oISNi4Bx8J2klAN4RnKmEPQpfr1bghGSk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1307380856, - "port": 15888 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "0/1trU+HDc+Co/q8gw5lPrSJH9YCOXxVh0caR2CGqXE5820DguuSmVnnLQ9S2+RmxHv0biYZuH8FiJv2wPwyDA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "6PGkPQSbyFp12esf1NqmDOaLoFA8i9+Mp5+cAx5wtTU=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1185526007, - "port": 22096 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "L4N1+dzXLlkmT5iPnvsmsixzXU0L6kPKApqMdcrGP5d9ssMhn69SzHFK+yIzvG6zQ9oRb4TnqPBaKShjjj2OBg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "4R0C/zU56k+x2HGMsLWjX2rP/SpoTPIHSSAmidGlsb8=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1952265919, - "port": 14395 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "0uwWyCFn2KjPnnlbSFYXLZdwIakaSgI9WyRo87J3iCGwb5TvJSztgA224A9kNAXeutOrXMIPYv1b8Zt8ImsrCg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "/YDNd+IwRUgL0mq21oC0L3RxrS8gTu0nciSPUrhqR78=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1402455171, - "port": 14432 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "6+oVk6HDtIFbwYi9khCc8B+fTFceBUo1PWZDVTkb4l84tscvr5QpzAkdK7sS5xGzxM7V7YYQ6gUQPrsP9xcLAw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "DA0H568bb+LoO2LGY80PgPee59jTPCqqSJJzt1SH+KE=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1402397332, - "port": 14583 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "cL79gDTrixhaM9AlkCdZWccCts7ieQYQBmPxb/R7d7zHw3bEHL8Le96CFJoB1KHu8C85iDpFK8qlrGl1Yt/ZDg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "fZnkoIAxrTd4xeBgVpZFRm5SvVvSx7eN3Vbe8c83YMk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091897261, - "port": 15813 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "cmaMrV/9wuaHOOyXYjoxBnckJktJqrQZ2i+YaY3ehIyiL3LkW81OQ91vm8zzsx1kwwadGZNzgq4hI4PCB/U5Dw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "zDBLsKjns4bBqQokzY0wOzC2vwbOeiE1J7aOjfCp5mg=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1573440928, - "port": 12821 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "qORMhem9RyG7wnNYF822YL3EXwEoTO82h2TarFbjd0jikMIGizAdir1JyxSfyKkhHdFKGcLMeoPb2dfMIvQwAA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "CU9ytJok8WBnpl29T740gfC/h69kgvQJp7FJMq/N60g=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 391653587, - "port": 15895 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "DKyGF2nPRxmerpIHxE5FN1Lod3zvJu728NP0iYc1hpNyPvl5epu+7amjimLy1VdzNqFzTJAoJ/gqPPMkXS/kDw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "d1lL6xZO8UWMzkWD++8Yr3hf6585X6qoOZZTeLtGl4o=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1537553981, - "port": 18513 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "sDxyCuvZmi9fJvQl4DEBKZOlt532xflnVD1dvC2ia2Na5MN8dT6x4HizEpS4pUqky8LzR/A/4BCqIQXhD45vDg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "SP2Bjle9u+GoZhlEhm3mIPiND3Yh+Nr7QsgV6bGPw/I=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1591529174, - "port": 11369 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "qbbeE53SOyUvOWD2hIZmTyZGY4k2XHxgldqBIakBma33oC5sWDD/+cApuFLMbi2Gnd6fQtQ3LaZtfQzJrCiYAw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "76SsMv8NrqzkCFEVumZEx2phYYSUZvSH3UlUTuPdZYk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1906451518, - "port": 16937 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "YgrIN/KH3XVPyk09wgZbFaXLZ/BeGjvfO6ohxN4M8Tp/CsYN0G3tNLSjJGeuH22bIKMFRoEpp3v7Sz54Q/FTCg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "IHrCooudVGonmudcmTZYk+Pfdsxz2NGws33bHtXnOv8=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1882838653, - "port": 41623 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "pm3PQn0ZYQH7SkmK/8q4p1igFKxJSQLCmVcFtyaRxEV9ecjvB5PiW3o3wfrTRPk0v0mnFmH8UuYtLEztj+LcBw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "eDPKd9v6aHhutnHU3z2ykV4eUA3LdFI+oSBg6z8JyS0=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1481864647, - "port": 22261 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "InY5jkkQ6fuJtutkmlPLYEhqQ0F4DyEhqoPB4KMBIJc8hhZFzm4jNAxSfy3VVQbACdJ/pj76qbjaktG/m1ipDQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "znOAvy1ECxyzeKishi4PdSO2edaVx78wynVyNKLBmQ8=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1068377703, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "KLH17nNKmOk3carKwbsUcVBc4JZpdAUdUOMxe8FSyqnkOw/lolnltbylJcC+lvPpIV5ySI/Qx8UZdNRV/4HzCA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "Qjhv9rmeqXm0a+nYYhCJG1AH7C2TM6DAmyIM3FgO0Eo=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1057912003, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "2Gw5eIsZR+SdbWCU139DCuBI8Rv8T9iUioxDkgV6/IjcCHf6hNz8WCyUsKd5l5P1NBs/kdaxUBIybINDpYXoCw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "2YsTRIu3aRYzZe8eoR8PK2N2ydHJyKllwKcLPk676d4=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1057911744, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "9/TJsaj0wELvRKXVIrBdyZWjgLKhfSvl7v0Oqq/9p9MsU/t9iRuGcpAzHqQF4bQAWrN8j9ARwMumRata7dH8Bg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "SHrXmMEEUBGa51TWZwHSA+2RF4Vyavw51jgtnAz1ypU=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -1057911148, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "R4ku8+tvjKSLIGe18zWHBHDv1maQHD5tGbAUOgbldGpBvfqH+/b76XkJjJzDsjnCO/bpxwUZfcI1sM1h6vFJCQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "G+Lr6UtSWUcyYHTUutwbxrIG9GGZan3h96j8qQPLIXQ=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -960017601, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "fWU9hSNLvmaSCQOBW9M4Lja5pIWcqOzU1g9vtSywdgtASj9oQpwAslvr2sjNh9E2Np1c26NW8Sc5gUKf8YY7BA==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "/tp8WsXfk/XpzOyaaxuOlvbOhDoH7/L81eWi0QMn0gg=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 84478511, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "2kA9P0LBI7H8gmmGsnZ2bQPZP3rZDFugrc5zQWlFrPIMLvwH7/J69HIGCVYgcaEsf0HMnIJeUMl5n4qFp0quBQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "fnYl5kAHcbhK65FbYxfwk83X1Sn6ZiuXWMD0F0Rh+v4=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 84478479, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "h+K+YttdhqE4LzihZTnKLFBiXyY79Rqqcx8dCbkDVXu3FD7ZrTBNV5b/bf7BQbuF0PXTc7YqH0jEmqz8aX6aBg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "HwOhm4Vh1YGqBNmUrDwJpeo8kXAPI7J3sSH38JaAyzQ=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018145068, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "Ianf1Wm9Y6HT9r32LFNUieKi86cSBbCckczHy+ZyBo15MpIsZxouUgfAyeW20sZm1hN5+Yx4lPwzL+Ovm6KaCw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "CXo+qxdYclubZqoqvVhoeYDdPV+VhlWcurf2OX0iPZs=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018145059, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "P72kraIX5pIxQBnh7It4kyK6MPuZ56ZFZKZxegtrxwx/Vpi1wQ4PsfxWf6N0HojbNMYsVZsvwHYTLxj5nhd6Dw==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "KiKtUV+kJWBd+M29zNvtRqdvUrtX4lfi5CyY+DRm+lk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931625, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "GjarYvxTVPik8m5yI9Eq/1lW/8CuReBdhUdFUb4wJJVVc/EvHf7j47mY5ECskHjeo9MYttgF/9KQaf8KNea1Dg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "o15mg8SB9CY2m971NvU+aCzAEnZFg3iAnIsqBMmqnj0=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931590, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "6mJPM7RZMOL5uCMRCGINjxAG7L7LHt7o89caD7Kk75ahpwAhqJ3ri9zL1rzJZjmyOMLkPoGcckJsG8phCRbVDQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "VCu471G41Hj8onyyeJdq8t6AZu3SR7BoGuCLs8SppBk=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931623, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "7cOhypsjGb4xczR20M6eg7ly8sdvzdodkKVXzvr00FsXHcguz6bP0zm/dwhiQgsJgSosYypCk/LvKQrMy+C3AQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "0uEnHB6Rg4sVjiepDgHoZ3CuKjCRjU3ul4IGmmZZoig=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": 1091931589, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "ju40qeS5mgbJDMLUxL7qSquSdqgo3Uib4Z/Va/bpIWJJA0W3VQStJMBbV/pQySi6MoM794Du3o8Gl1bjdpwDAg==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "MJr8xja0xpu9DoisFXBrkNHNx1XozR7HHw9fJdSyEdo=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018147130, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "XcR5JaWcf4QMdI8urLSc1zwv5+9nCuItSE1EDa0dSwYF15R/BtJoKU5YHA4/T8SiO18aVPQk2SL1pbhevuMrAQ==" - }, - { - "@type": "dht.node", - "id": { - "@type": "pub.ed25519", - "key": "Fhldu4zlnb20/TUj9TXElZkiEmbndIiE/DXrbGKu+0c=" - }, - "addr_list": { - "@type": "adnl.addressList", - "addrs": [ - { - "@type": "adnl.address.udp", - "ip": -2018147075, - "port": 6302 - } - ], - "version": 0, - "reinit_date": 0, - "priority": 0, - "expire_at": 0 - }, - "version": -1, - "signature": "nUGB77UAkd2+ZAL5PgInb3TvtuLLXJEJ2icjAUKLv4qIGB3c/O9k/v0NKwSzhsMP0ljeTGbcIoMDw24qf3goCg==" - } - ] - } - }, - "liteservers": [ - { - "ip": 84478511, - "port": 19949, - "id": { - "@type": "pub.ed25519", - "key": "n4VDnSCUuSpjnCyUk9e3QOOd6o0ItSWYbTnW3Wnn8wk=" - } - }, - { - "ip": 84478479, - "port": 48014, - "id": { - "@type": "pub.ed25519", - "key": "3XO67K/qi+gu3T9v8G2hx1yNmWZhccL3O7SoosFo8G0=" - } - }, - { - "ip": -2018135749, - "port": 53312, - "id": { - "@type": "pub.ed25519", - "key": "aF91CuUHuuOv9rm2W5+O/4h38M3sRm40DtSdRxQhmtQ=" - } - }, - { - "ip": -2018145068, - "port": 13206, - "id": { - "@type": "pub.ed25519", - "key": "K0t3+IWLOXHYMvMcrGZDPs+pn58a17LFbnXoQkKc2xw=" - } - }, - { - "ip": -2018145059, - "port": 46995, - "id": { - "@type": "pub.ed25519", - "key": "wQE0MVhXNWUXpWiW5Bk8cAirIh5NNG3cZM1/fSVKIts=" - } - }, - { - "ip": 1091931625, - "port": 30131, - "id": { - "@type": "pub.ed25519", - "key": "wrQaeIFispPfHndEBc0s0fx7GSp8UFFvebnytQQfc6A=" - } - }, - { - "ip": 1091931590, - "port": 47160, - "id": { - "@type": "pub.ed25519", - "key": "vOe1Xqt/1AQ2Z56Pr+1Rnw+f0NmAA7rNCZFIHeChB7o=" - } - }, - { - "ip": 1091931623, - "port": 17728, - "id": { - "@type": "pub.ed25519", - "key": "BYSVpL7aPk0kU5CtlsIae/8mf2B/NrBi7DKmepcjX6Q=" - } - }, - { - "ip": 1091931589, - "port": 13570, - "id": { - "@type": "pub.ed25519", - "key": "iVQH71cymoNgnrhOT35tl/Y7k86X5iVuu5Vf68KmifQ=" - } - }, - { - "ip": -1539021362, - "port": 52995, - "id": { - "@type": "pub.ed25519", - "key": "QnGFe9kihW+TKacEvvxFWqVXeRxCB6ChjjhNTrL7+/k=" - } - }, - { - "ip": -1539021936, - "port": 20334, - "id": { - "@type": "pub.ed25519", - "key": "gyLh12v4hBRtyBygvvbbO2HqEtgl+ojpeRJKt4gkMq0=" - } - }, - { - "ip": -1136338705, - "port": 19925, - "id": { - "@type": "pub.ed25519", - "key": "ucho5bEkufbKN1JR1BGHpkObq602whJn3Q3UwhtgSo4=" - } - }, - { - "ip": 868465979, - "port": 19434, - "id": { - "@type": "pub.ed25519", - "key": "J5CwYXuCZWVPgiFPW+NY2roBwDWpRRtANHSTYTRSVtI=" - } - }, - { - "ip": 868466060, - "port": 23067, - "id": { - "@type": "pub.ed25519", - "key": "vX8d0i31zB0prVuZK8fBkt37WnEpuEHrb7PElk4FJ1o=" - } - }, - { - "ip": -2018147130, - "port": 53560, - "id": { - "@type": "pub.ed25519", - "key": "NlYhh/xf4uQpE+7EzgorPHqIaqildznrpajJTRRH2HU=" - } - }, - { - "ip": -2018147075, - "port": 46529, - "id": { - "@type": "pub.ed25519", - "key": "jLO6yoooqUQqg4/1QXflpv2qGCoXmzZCR+bOsYJ2hxw=" - } - }, - { - "ip": 908566172, - "port": 51565, - "id": { - "@type": "pub.ed25519", - "key": "TDg+ILLlRugRB4Kpg3wXjPcoc+d+Eeb7kuVe16CS9z8=" - } - }, - { - "ip": -1185526007, - "port": 4701, - "id": { - "@type": "pub.ed25519", - "key": "G6cNAr6wXBBByWDzddEWP5xMFsAcp6y13fXA8Q7EJlM=" - } - } - ], - "validator": { - "@type": "validator.config.global", - "zero_state": { - "workchain": -1, - "shard": -9223372036854775808, - "seqno": 0, - "root_hash": "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=", - "file_hash": "XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24=" - }, - "init_block": { - "root_hash": "X9KHJorLeUrMmiE+J6jw9e01E+3EHRiyRVxDv9cydPg=", - "seqno": 24001954, - "file_hash": "uUppFBsq1He9SGLugrrynECQ/1XY4inPYBH9DUPd7TY=", - "workchain": -1, - "shard": -9223372036854775808 - }, - "hardforks": [ - { - "file_hash": "t/9VBPODF7Zdh4nsnA49dprO69nQNMqYL+zk5bCjV/8=", - "seqno": 8536841, - "root_hash": "08Kpc9XxrMKC6BF/FeNHPS3MEL1/Vi/fQU/C9ELUrkc=", - "workchain": -1, - "shard": -9223372036854775808 - } - ] - } - } -""".trimIndent() - -val JSON = Json { - ignoreUnknownKeys = true -} - -val GLOBAL_CONFIG = JSON.decodeFromString(GLOBAL_CONFIG_JSON) diff --git a/ton-kotlin-liteclient/src/jvmMain/kotlin/LiteClientApi.kt b/ton-kotlin-liteclient/src/jvmMain/kotlin/LiteClientApi.kt deleted file mode 100644 index c574d4b1..00000000 --- a/ton-kotlin-liteclient/src/jvmMain/kotlin/LiteClientApi.kt +++ /dev/null @@ -1,53 +0,0 @@ -package org.ton.lite.client - -import kotlinx.coroutines.DelicateCoroutinesApi -import kotlinx.coroutines.GlobalScope -import kotlinx.coroutines.asCoroutineDispatcher -import kotlinx.coroutines.async -import kotlinx.coroutines.future.asCompletableFuture -import org.ton.api.tonnode.TonNodeBlockIdExt -import org.ton.block.MsgAddressInt -import org.ton.lite.client.internal.FullAccountState -import org.ton.lite.client.internal.TransactionId -import org.ton.lite.client.internal.TransactionInfo -import java.util.concurrent.CompletableFuture -import java.util.concurrent.Executor - -@OptIn(DelicateCoroutinesApi::class) -public actual interface LiteClientApi { - - public actual suspend fun getAccountState(accountAddress: MsgAddressInt): FullAccountState - - public fun getAccountStateAsync(executor: Executor, accountAddress: MsgAddressInt): CompletableFuture = - GlobalScope.async(executor.asCoroutineDispatcher()) { - getAccountState(accountAddress) - }.asCompletableFuture() - - public actual suspend fun getAccountState( - accountAddress: MsgAddressInt, - blockId: TonNodeBlockIdExt - ): FullAccountState - - public fun getAccountStateAsync( - executor: Executor, - accountAddress: MsgAddressInt, - blockId: TonNodeBlockIdExt - ): CompletableFuture = GlobalScope.async(executor.asCoroutineDispatcher()) { - getAccountState(accountAddress, blockId) - }.asCompletableFuture() - - public actual suspend fun getTransactions( - accountAddress: MsgAddressInt, - fromTransactionId: TransactionId, - count: Int - ): List - - public fun getTransactionsAsync( - executor: Executor, - accountAddress: MsgAddressInt, - fromTransactionId: TransactionId, - count: Int - ): CompletableFuture> = GlobalScope.async(executor.asCoroutineDispatcher()) { - getTransactions(accountAddress, fromTransactionId, count) - }.asCompletableFuture() -} diff --git a/ton-kotlin-liteclient/src/jvmTest/java/TestJvm.java b/ton-kotlin-liteclient/src/jvmTest/java/TestJvm.java deleted file mode 100644 index 90ce6f3f..00000000 --- a/ton-kotlin-liteclient/src/jvmTest/java/TestJvm.java +++ /dev/null @@ -1,9 +0,0 @@ -import org.ton.lite.client.LiteClient; - -public class TestJvm { - - public void test() { - LiteClient liteClient = LiteClientTestKt.getLiteClient(); - - } -} diff --git a/ton-kotlin-liteclient/src/jvmTest/kotlin/LiteClientTest.kt b/ton-kotlin-liteclient/src/jvmTest/kotlin/LiteClientTest.kt deleted file mode 100644 index 9db62b68..00000000 --- a/ton-kotlin-liteclient/src/jvmTest/kotlin/LiteClientTest.kt +++ /dev/null @@ -1,7 +0,0 @@ -import kotlinx.coroutines.Dispatchers -import org.ton.lite.client.LiteClient - -val liteClient = LiteClient( - coroutineContext = Dispatchers.Default, - liteClientConfigGlobal = GLOBAL_CONFIG -) diff --git a/ton-kotlin-liteclient/src/jvmTest/kotlin/test.kt b/ton-kotlin-liteclient/src/jvmTest/kotlin/test.kt deleted file mode 100644 index 8e3acb94..00000000 --- a/ton-kotlin-liteclient/src/jvmTest/kotlin/test.kt +++ /dev/null @@ -1,16 +0,0 @@ -import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.runBlocking -import org.ton.api.tonnode.Shard -import org.ton.api.tonnode.TonNodeBlockId -import org.ton.lite.client.LiteClient - -fun main() = runBlocking { - val liteClient = LiteClient( - coroutineContext = Dispatchers.Default, - liteClientConfigGlobal = GLOBAL_CONFIG - ) - val blockId = 27750192 - val block = liteClient.getBlock(TonNodeBlockId(-1, Shard.ID_ALL, 27750192)) ?: error("no block") -// println(block) - val accountBlocks = block.extra.value.accountBlocks.value -} diff --git a/ton-kotlin-liteclient/src/nativeMain/kotlin/LiteClientApi.kt b/ton-kotlin-liteclient/src/nativeMain/kotlin/LiteClientApi.kt deleted file mode 100644 index 1c78fbda..00000000 --- a/ton-kotlin-liteclient/src/nativeMain/kotlin/LiteClientApi.kt +++ /dev/null @@ -1,24 +0,0 @@ -package org.ton.lite.client - -import org.ton.api.tonnode.TonNodeBlockIdExt -import org.ton.block.MsgAddressInt -import org.ton.lite.client.internal.FullAccountState -import org.ton.lite.client.internal.TransactionId -import org.ton.lite.client.internal.TransactionInfo - -public actual interface LiteClientApi { - public actual suspend fun getAccountState( - accountAddress: MsgAddressInt - ): FullAccountState - - public actual suspend fun getAccountState( - accountAddress: MsgAddressInt, - blockId: TonNodeBlockIdExt - ): FullAccountState - - public actual suspend fun getTransactions( - accountAddress: MsgAddressInt, - fromTransactionId: TransactionId, - count: Int, - ): List -} diff --git a/ton-kotlin-logger/build.gradle.kts b/ton-kotlin-logger/build.gradle.kts deleted file mode 100644 index cf922f74..00000000 --- a/ton-kotlin-logger/build.gradle.kts +++ /dev/null @@ -1,12 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - implementation(libs.coroutines.core) - implementation(libs.datetime) - implementation(libs.atomicfu) - } - } - val commonTest by getting - } -} diff --git a/ton-kotlin-logger/src/commonMain/kotlin/org/ton/logger/Logger.kt b/ton-kotlin-logger/src/commonMain/kotlin/org/ton/logger/Logger.kt deleted file mode 100644 index 482669ab..00000000 --- a/ton-kotlin-logger/src/commonMain/kotlin/org/ton/logger/Logger.kt +++ /dev/null @@ -1,27 +0,0 @@ -package org.ton.logger - -import kotlin.jvm.JvmStatic - -public interface Logger { - public var level: Level - - public fun log(level: Level, message: () -> String) - public fun trace(message: () -> String): Unit = log(Level.TRACE, message) - public fun debug(message: () -> String): Unit = log(Level.DEBUG, message) - public fun info(message: () -> String): Unit = log(Level.INFO, message) - public fun warn(message: () -> String): Unit = log(Level.WARN, message) - public fun fatal(message: () -> String): Unit = log(Level.FATAL, message) - - public enum class Level { - TRACE, - DEBUG, - INFO, - WARN, - FATAL; - } - - public companion object { - @JvmStatic - public fun println(name: String, level: Level = Level.INFO): Logger = PrintLnLogger(name, level) - } -} diff --git a/ton-kotlin-logger/src/commonMain/kotlin/org/ton/logger/PrintLnLogger.kt b/ton-kotlin-logger/src/commonMain/kotlin/org/ton/logger/PrintLnLogger.kt deleted file mode 100644 index c9878e0f..00000000 --- a/ton-kotlin-logger/src/commonMain/kotlin/org/ton/logger/PrintLnLogger.kt +++ /dev/null @@ -1,44 +0,0 @@ -package org.ton.logger - -import kotlinx.coroutines.GlobalScope -import kotlinx.coroutines.channels.Channel -import kotlinx.coroutines.launch - -public class PrintLnLogger( - private val name: () -> String = { "TON" }, - override var level: Logger.Level = Logger.Level.INFO -) : Logger { - public constructor(name: String, level: Logger.Level = Logger.Level.INFO) : this({ name }, level) - - private val channel = Channel<() -> String>(Channel.UNLIMITED) - private val job = GlobalScope.launch { - while (true) { - println(channel.receive().invoke()) - } - } - - override fun log(level: Logger.Level, message: () -> String) { - if (level >= this.level) { - val messageLambda: () -> String = { - when (level) { - Logger.Level.TRACE, Logger.Level.DEBUG -> { - "\u001B[37m[${name()}] [${level.name}] ${message()}\u001B[0m" - } - - Logger.Level.WARN -> { - "\u001B[33m[${name()}] [${level.name}] ${message()}\u001B[0m" - } - - Logger.Level.FATAL -> { - "\u001B[31m[${name()}] [${level.name}] ${message()}\u001B[0m" - } - - else -> { - "[${name()}] [${level.name}] ${message()}" - } - } - } - channel.trySend(messageLambda) - } - } -} diff --git a/ton-kotlin-mnemonic/build.gradle.kts b/ton-kotlin-mnemonic/build.gradle.kts deleted file mode 100644 index d6f4fa1b..00000000 --- a/ton-kotlin-mnemonic/build.gradle.kts +++ /dev/null @@ -1,9 +0,0 @@ -kotlin { - sourceSets { - val commonMain by getting { - dependencies { - implementation(projects.tonKotlinCrypto) - } - } - } -} diff --git a/ton-kotlin-tlb/src/commonMain/resources/block.tlb b/ton-kotlin-tlb/src/commonMain/resources/block.tlb deleted file mode 100644 index d33e71ac..00000000 --- a/ton-kotlin-tlb/src/commonMain/resources/block.tlb +++ /dev/null @@ -1,912 +0,0 @@ -unit$_ = Unit; -true$_ = True; -// EMPTY False; -bool_false$0 = Bool; -bool_true$1 = Bool; -bool_false$0 = BoolFalse; -bool_true$1 = BoolTrue; -nothing$0 {X:Type} = Maybe X; -just$1 {X:Type} value:X = Maybe X; -left$0 {X:Type} {Y:Type} value:X = Either X Y; -right$1 {X:Type} {Y:Type} value:Y = Either X Y; -pair$_ {X:Type} {Y:Type} first:X second:Y = Both X Y; - -bit$_ (## 1) = Bit; -/* - * - * FROM hashmap.tlb - * - */ -// ordinary Hashmap / HashmapE, with fixed length keys -// -hm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(HashmapNode m X) = Hashmap n X; - -hmn_leaf#_ {X:Type} value:X = HashmapNode 0 X; -hmn_fork#_ {n:#} {X:Type} left:^(Hashmap n X) - right:^(Hashmap n X) = HashmapNode (n + 1) X; - -hml_short$0 {m:#} {n:#} len:(Unary ~n) {n <= m} s:(n * Bit) = HmLabel ~n m; -hml_long$10 {m:#} n:(#<= m) s:(n * Bit) = HmLabel ~n m; -hml_same$11 {m:#} v:Bit n:(#<= m) = HmLabel ~n m; - -unary_zero$0 = Unary ~0; -unary_succ$1 {n:#} x:(Unary ~n) = Unary ~(n + 1); - -hme_empty$0 {n:#} {X:Type} = HashmapE n X; -hme_root$1 {n:#} {X:Type} root:^(Hashmap n X) = HashmapE n X; - -// true#_ = True; -_ {n:#} _:(Hashmap n True) = BitstringSet n; - -// HashmapAug, hashmap with an extra value -// (augmentation) of type Y at every node -// -ahm_edge#_ {n:#} {X:Type} {Y:Type} {l:#} {m:#} - label:(HmLabel ~l n) {n = (~m) + l} - node:(HashmapAugNode m X Y) = HashmapAug n X Y; -ahmn_leaf#_ {X:Type} {Y:Type} extra:Y value:X = HashmapAugNode 0 X Y; -ahmn_fork#_ {n:#} {X:Type} {Y:Type} left:^(HashmapAug n X Y) - right:^(HashmapAug n X Y) extra:Y = HashmapAugNode (n + 1) X Y; - -ahme_empty$0 {n:#} {X:Type} {Y:Type} extra:Y - = HashmapAugE n X Y; -ahme_root$1 {n:#} {X:Type} {Y:Type} root:^(HashmapAug n X Y) - extra:Y = HashmapAugE n X Y; - -// VarHashmap / VarHashmapE, with variable-length keys -// -vhm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(VarHashmapNode m X) - = VarHashmap n X; -vhmn_leaf$00 {n:#} {X:Type} value:X = VarHashmapNode n X; -vhmn_fork$01 {n:#} {X:Type} left:^(VarHashmap n X) - right:^(VarHashmap n X) value:(Maybe X) - = VarHashmapNode (n + 1) X; -vhmn_cont$1 {n:#} {X:Type} branch:Bit child:^(VarHashmap n X) - value:X = VarHashmapNode (n + 1) X; - -// nothing$0 {X:Type} = Maybe X; -// just$1 {X:Type} value:X = Maybe X; - -vhme_empty$0 {n:#} {X:Type} = VarHashmapE n X; -vhme_root$1 {n:#} {X:Type} root:^(VarHashmap n X) - = VarHashmapE n X; - -// -// PfxHashmap / PfxHashmapE, with variable-length keys -// constituting a prefix code -// - -phm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(PfxHashmapNode m X) - = PfxHashmap n X; - -phmn_leaf$0 {n:#} {X:Type} value:X = PfxHashmapNode n X; -phmn_fork$1 {n:#} {X:Type} left:^(PfxHashmap n X) - right:^(PfxHashmap n X) = PfxHashmapNode (n + 1) X; - -phme_empty$0 {n:#} {X:Type} = PfxHashmapE n X; -phme_root$1 {n:#} {X:Type} root:^(PfxHashmap n X) - = PfxHashmapE n X; -/* - * - * END hashmap.tlb - * - */ -// -// TON BLOCK LAYOUT -// -addr_none$00 = MsgAddressExt; -addr_extern$01 len:(## 9) external_address:(bits len) - = MsgAddressExt; -anycast_info$_ depth:(#<= 30) { depth >= 1 } - rewrite_pfx:(bits depth) = Anycast; -addr_std$10 anycast:(Maybe Anycast) - workchain_id:int8 address:bits256 = MsgAddressInt; -addr_var$11 anycast:(Maybe Anycast) addr_len:(## 9) - workchain_id:int32 address:(bits addr_len) = MsgAddressInt; -_ _:MsgAddressInt = MsgAddress; -_ _:MsgAddressExt = MsgAddress; -// -var_uint$_ {n:#} len:(#< n) value:(uint (len * 8)) - = VarUInteger n; -var_int$_ {n:#} len:(#< n) value:(int (len * 8)) - = VarInteger n; -nanograms$_ amount:(VarUInteger 16) = Grams; - -_ grams:Grams = Coins; - -// -extra_currencies$_ dict:(HashmapE 32 (VarUInteger 32)) - = ExtraCurrencyCollection; -currencies$_ grams:Grams other:ExtraCurrencyCollection - = CurrencyCollection; -// -int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool - src:MsgAddressInt dest:MsgAddressInt - value:CurrencyCollection ihr_fee:Grams fwd_fee:Grams - created_lt:uint64 created_at:uint32 = CommonMsgInfo; -ext_in_msg_info$10 src:MsgAddressExt dest:MsgAddressInt - import_fee:Grams = CommonMsgInfo; -ext_out_msg_info$11 src:MsgAddressInt dest:MsgAddressExt - created_lt:uint64 created_at:uint32 = CommonMsgInfo; - -int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool - src:MsgAddress dest:MsgAddressInt - value:CurrencyCollection ihr_fee:Grams fwd_fee:Grams - created_lt:uint64 created_at:uint32 = CommonMsgInfoRelaxed; -ext_out_msg_info$11 src:MsgAddress dest:MsgAddressExt - created_lt:uint64 created_at:uint32 = CommonMsgInfoRelaxed; - -tick_tock$_ tick:Bool tock:Bool = TickTock; - -_ split_depth:(Maybe (## 5)) special:(Maybe TickTock) - code:(Maybe ^Cell) data:(Maybe ^Cell) - library:(HashmapE 256 SimpleLib) = StateInit; - -simple_lib$_ public:Bool root:^Cell = SimpleLib; - -message$_ {X:Type} info:CommonMsgInfo - init:(Maybe (Either StateInit ^StateInit)) - body:(Either X ^X) = Message X; - -message$_ {X:Type} info:CommonMsgInfoRelaxed - init:(Maybe (Either StateInit ^StateInit)) - body:(Either X ^X) = MessageRelaxed X; - -_ (Message Any) = MessageAny; - -// -interm_addr_regular$0 use_dest_bits:(#<= 96) - = IntermediateAddress; -interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 - = IntermediateAddress; -interm_addr_ext$11 workchain_id:int32 addr_pfx:uint64 - = IntermediateAddress; -msg_envelope#4 cur_addr:IntermediateAddress - next_addr:IntermediateAddress fwd_fee_remaining:Grams - msg:^(Message Any) = MsgEnvelope; -// -msg_import_ext$000 msg:^(Message Any) transaction:^Transaction - = InMsg; -msg_import_ihr$010 msg:^(Message Any) transaction:^Transaction - ihr_fee:Grams proof_created:^Cell = InMsg; -msg_import_imm$011 in_msg:^MsgEnvelope - transaction:^Transaction fwd_fee:Grams = InMsg; -msg_import_fin$100 in_msg:^MsgEnvelope - transaction:^Transaction fwd_fee:Grams = InMsg; -msg_import_tr$101 in_msg:^MsgEnvelope out_msg:^MsgEnvelope - transit_fee:Grams = InMsg; -msg_discard_fin$110 in_msg:^MsgEnvelope transaction_id:uint64 - fwd_fee:Grams = InMsg; -msg_discard_tr$111 in_msg:^MsgEnvelope transaction_id:uint64 - fwd_fee:Grams proof_delivered:^Cell = InMsg; -// -import_fees$_ fees_collected:Grams - value_imported:CurrencyCollection = ImportFees; - -_ (HashmapAugE 256 InMsg ImportFees) = InMsgDescr; - -msg_export_ext$000 msg:^(Message Any) - transaction:^Transaction = OutMsg; -msg_export_imm$010 out_msg:^MsgEnvelope - transaction:^Transaction reimport:^InMsg = OutMsg; -msg_export_new$001 out_msg:^MsgEnvelope - transaction:^Transaction = OutMsg; -msg_export_tr$011 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; -msg_export_deq$1100 out_msg:^MsgEnvelope - import_block_lt:uint63 = OutMsg; -msg_export_deq_short$1101 msg_env_hash:bits256 - next_workchain:int32 next_addr_pfx:uint64 - import_block_lt:uint64 = OutMsg; -msg_export_tr_req$111 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; -msg_export_deq_imm$100 out_msg:^MsgEnvelope - reimport:^InMsg = OutMsg; - -_ enqueued_lt:uint64 out_msg:^MsgEnvelope = EnqueuedMsg; - -_ (HashmapAugE 256 OutMsg CurrencyCollection) = OutMsgDescr; - -_ (HashmapAugE 352 EnqueuedMsg uint64) = OutMsgQueue; - -processed_upto$_ last_msg_lt:uint64 last_msg_hash:bits256 = ProcessedUpto; -// key is [ shard:uint64 mc_seqno:uint32 ] -_ (HashmapE 96 ProcessedUpto) = ProcessedInfo; - -ihr_pending$_ import_lt:uint64 = IhrPendingSince; -_ (HashmapE 320 IhrPendingSince) = IhrPendingInfo; - -_ out_queue:OutMsgQueue proc_info:ProcessedInfo - ihr_pending:IhrPendingInfo = OutMsgQueueInfo; -// -storage_used$_ cells:(VarUInteger 7) bits:(VarUInteger 7) - public_cells:(VarUInteger 7) = StorageUsed; - -storage_used_short$_ cells:(VarUInteger 7) - bits:(VarUInteger 7) = StorageUsedShort; - -storage_info$_ used:StorageUsed last_paid:uint32 - due_payment:(Maybe Grams) = StorageInfo; - -account_none$0 = Account; -account$1 addr:MsgAddressInt storage_stat:StorageInfo - storage:AccountStorage = Account; - -account_storage$_ last_trans_lt:uint64 - balance:CurrencyCollection state:AccountState - = AccountStorage; - -account_uninit$00 = AccountState; -account_active$1 _:StateInit = AccountState; -account_frozen$01 state_hash:bits256 = AccountState; - -acc_state_uninit$00 = AccountStatus; -acc_state_frozen$01 = AccountStatus; -acc_state_active$10 = AccountStatus; -acc_state_nonexist$11 = AccountStatus; - -/* duplicates -tick_tock$_ tick:Bool tock:Bool = TickTock; - -_ split_depth:(Maybe (## 5)) special:(Maybe TickTock) - code:(Maybe ^Cell) data:(Maybe ^Cell) - library:(Maybe ^Cell) = StateInit; -*/ - -account_descr$_ account:^Account last_trans_hash:bits256 - last_trans_lt:uint64 = ShardAccount; - -depth_balance$_ split_depth:(#<= 30) balance:CurrencyCollection = DepthBalanceInfo; - -_ (HashmapAugE 256 ShardAccount DepthBalanceInfo) = ShardAccounts; - -transaction$0111 account_addr:bits256 lt:uint64 - prev_trans_hash:bits256 prev_trans_lt:uint64 now:uint32 - outmsg_cnt:uint15 - orig_status:AccountStatus end_status:AccountStatus - ^[ in_msg:(Maybe ^(Message Any)) out_msgs:(HashmapE 15 ^(Message Any)) ] - total_fees:CurrencyCollection state_update:^(HASH_UPDATE Account) - description:^TransactionDescr = Transaction; - -!merkle_update#02 {X:Type} old_hash:bits256 new_hash:bits256 - old:^X new:^X = MERKLE_UPDATE X; -update_hashes#72 {X:Type} old_hash:bits256 new_hash:bits256 - = HASH_UPDATE X; -!merkle_proof#03 {X:Type} virtual_hash:bits256 depth:uint16 virtual_root:^X = MERKLE_PROOF X; - -acc_trans#5 account_addr:bits256 - transactions:(HashmapAug 64 ^Transaction CurrencyCollection) - state_update:^(HASH_UPDATE Account) - = AccountBlock; - -_ (HashmapAugE 256 AccountBlock CurrencyCollection) = ShardAccountBlocks; -// -tr_phase_storage$_ storage_fees_collected:Grams - storage_fees_due:(Maybe Grams) - status_change:AccStatusChange - = TrStoragePhase; - -acst_unchanged$0 = AccStatusChange; // x -> x -acst_frozen$10 = AccStatusChange; // init -> frozen -acst_deleted$11 = AccStatusChange; // frozen -> deleted - -tr_phase_credit$_ due_fees_collected:(Maybe Grams) - credit:CurrencyCollection = TrCreditPhase; - -tr_phase_compute_skipped$0 reason:ComputeSkipReason - = TrComputePhase; -tr_phase_compute_vm$1 success:Bool msg_state_used:Bool - account_activated:Bool gas_fees:Grams - ^[ gas_used:(VarUInteger 7) - gas_limit:(VarUInteger 7) gas_credit:(Maybe (VarUInteger 3)) - mode:int8 exit_code:int32 exit_arg:(Maybe int32) - vm_steps:uint32 - vm_init_state_hash:bits256 vm_final_state_hash:bits256 ] - = TrComputePhase; -cskip_no_state$00 = ComputeSkipReason; -cskip_bad_state$01 = ComputeSkipReason; -cskip_no_gas$10 = ComputeSkipReason; -cskip_suspended$110 = ComputeSkipReason; - -tr_phase_action$_ success:Bool valid:Bool no_funds:Bool - status_change:AccStatusChange - total_fwd_fees:(Maybe Grams) total_action_fees:(Maybe Grams) - result_code:int32 result_arg:(Maybe int32) tot_actions:uint16 - spec_actions:uint16 skipped_actions:uint16 msgs_created:uint16 - action_list_hash:bits256 tot_msg_size:StorageUsedShort - = TrActionPhase; - -tr_phase_bounce_negfunds$00 = TrBouncePhase; -tr_phase_bounce_nofunds$01 msg_size:StorageUsedShort - req_fwd_fees:Grams = TrBouncePhase; -tr_phase_bounce_ok$1 msg_size:StorageUsedShort - msg_fees:Grams fwd_fees:Grams = TrBouncePhase; -// -trans_ord$0000 credit_first:Bool - storage_ph:(Maybe TrStoragePhase) - credit_ph:(Maybe TrCreditPhase) - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool bounce:(Maybe TrBouncePhase) - destroyed:Bool - = TransactionDescr; - -trans_storage$0001 storage_ph:TrStoragePhase - = TransactionDescr; - -trans_tick_tock$001 is_tock:Bool storage_ph:TrStoragePhase - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool destroyed:Bool = TransactionDescr; -// -split_merge_info$_ cur_shard_pfx_len:(## 6) - acc_split_depth:(## 6) this_addr:bits256 sibling_addr:bits256 - = SplitMergeInfo; -trans_split_prepare$0100 split_info:SplitMergeInfo - storage_ph:(Maybe TrStoragePhase) - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool destroyed:Bool - = TransactionDescr; -trans_split_install$0101 split_info:SplitMergeInfo - prepare_transaction:^Transaction - installed:Bool = TransactionDescr; - -trans_merge_prepare$0110 split_info:SplitMergeInfo - storage_ph:TrStoragePhase aborted:Bool - = TransactionDescr; -trans_merge_install$0111 split_info:SplitMergeInfo - prepare_transaction:^Transaction - storage_ph:(Maybe TrStoragePhase) - credit_ph:(Maybe TrCreditPhase) - compute_ph:TrComputePhase action:(Maybe ^TrActionPhase) - aborted:Bool destroyed:Bool - = TransactionDescr; - -smc_info#076ef1ea actions:uint16 msgs_sent:uint16 - unixtime:uint32 block_lt:uint64 trans_lt:uint64 - rand_seed:bits256 balance_remaining:CurrencyCollection - myself:MsgAddressInt global_config:(Maybe Cell) = SmartContractInfo; -// -// -out_list_empty$_ = OutList 0; -out_list$_ {n:#} prev:^(OutList n) action:OutAction - = OutList (n + 1); -action_send_msg#0ec3c86d mode:(## 8) - out_msg:^(MessageRelaxed Any) = OutAction; -action_set_code#ad4de08e new_code:^Cell = OutAction; -action_reserve_currency#36e6b809 mode:(## 8) - currency:CurrencyCollection = OutAction; -libref_hash$0 lib_hash:bits256 = LibRef; -libref_ref$1 library:^Cell = LibRef; -action_change_library#26fa1dd4 mode:(## 7) { mode <= 2 } - libref:LibRef = OutAction; - -out_list_node$_ prev:^Cell action:OutAction = OutListNode; -// -// -shard_ident$00 shard_pfx_bits:(#<= 60) - workchain_id:int32 shard_prefix:uint64 = ShardIdent; - -ext_blk_ref$_ end_lt:uint64 - seq_no:uint32 root_hash:bits256 file_hash:bits256 - = ExtBlkRef; - -block_id_ext$_ shard_id:ShardIdent seq_no:uint32 - root_hash:bits256 file_hash:bits256 = BlockIdExt; - -master_info$_ master:ExtBlkRef = BlkMasterInfo; - -shard_state#9023afe2 global_id:int32 - shard_id:ShardIdent - seq_no:uint32 vert_seq_no:# - gen_utime:uint32 gen_lt:uint64 - min_ref_mc_seqno:uint32 - out_msg_queue_info:^OutMsgQueueInfo - before_split:(## 1) - accounts:^ShardAccounts - ^[ overload_history:uint64 underload_history:uint64 - total_balance:CurrencyCollection - total_validator_fees:CurrencyCollection - libraries:(HashmapE 256 LibDescr) - master_ref:(Maybe BlkMasterInfo) ] - custom:(Maybe ^McStateExtra) - = ShardStateUnsplit; - -_ ShardStateUnsplit = ShardState; -split_state#5f327da5 left:^ShardStateUnsplit right:^ShardStateUnsplit = ShardState; - -shared_lib_descr$00 lib:^Cell publishers:(Hashmap 256 True) - = LibDescr; - -block_info#9bc7a987 version:uint32 - not_master:(## 1) - after_merge:(## 1) before_split:(## 1) - after_split:(## 1) - want_split:Bool want_merge:Bool - key_block:Bool vert_seqno_incr:(## 1) - flags:(## 8) { flags <= 1 } - seq_no:# vert_seq_no:# { vert_seq_no >= vert_seqno_incr } - { prev_seq_no:# } { ~prev_seq_no + 1 = seq_no } - shard:ShardIdent gen_utime:uint32 - start_lt:uint64 end_lt:uint64 - gen_validator_list_hash_short:uint32 - gen_catchain_seqno:uint32 - min_ref_mc_seqno:uint32 - prev_key_block_seqno:uint32 - gen_software:flags . 0?GlobalVersion - master_ref:not_master?^BlkMasterInfo - prev_ref:^(BlkPrevInfo after_merge) - prev_vert_ref:vert_seqno_incr?^(BlkPrevInfo 0) - = BlockInfo; - -prev_blk_info$_ prev:ExtBlkRef = BlkPrevInfo 0; -prev_blks_info$_ prev1:^ExtBlkRef prev2:^ExtBlkRef = BlkPrevInfo 1; - -block#11ef55aa global_id:int32 - info:^BlockInfo value_flow:^ValueFlow - state_update:^(MERKLE_UPDATE ShardState) - extra:^BlockExtra = Block; - -block_extra in_msg_descr:^InMsgDescr - out_msg_descr:^OutMsgDescr - account_blocks:^ShardAccountBlocks - rand_seed:bits256 - created_by:bits256 - custom:(Maybe ^McBlockExtra) = BlockExtra; -// -value_flow#b8e48dfb ^[ from_prev_blk:CurrencyCollection - to_next_blk:CurrencyCollection - imported:CurrencyCollection - exported:CurrencyCollection ] - fees_collected:CurrencyCollection - ^[ - fees_imported:CurrencyCollection - recovered:CurrencyCollection - created:CurrencyCollection - minted:CurrencyCollection - ] = ValueFlow; - -// -// -bt_leaf$0 {X:Type} leaf:X = BinTree X; -bt_fork$1 {X:Type} left:^(BinTree X) right:^(BinTree X) - = BinTree X; - -fsm_none$0 = FutureSplitMerge; -fsm_split$10 split_utime:uint32 interval:uint32 = FutureSplitMerge; -fsm_merge$11 merge_utime:uint32 interval:uint32 = FutureSplitMerge; - -shard_descr#b seq_no:uint32 reg_mc_seqno:uint32 - start_lt:uint64 end_lt:uint64 - root_hash:bits256 file_hash:bits256 - before_split:Bool before_merge:Bool - want_split:Bool want_merge:Bool - nx_cc_updated:Bool flags:(## 3) { flags = 0 } - next_catchain_seqno:uint32 next_validator_shard:uint64 - min_ref_mc_seqno:uint32 gen_utime:uint32 - split_merge_at:FutureSplitMerge - fees_collected:CurrencyCollection - funds_created:CurrencyCollection = ShardDescr; - -shard_descr_new#a seq_no:uint32 reg_mc_seqno:uint32 - start_lt:uint64 end_lt:uint64 - root_hash:bits256 file_hash:bits256 - before_split:Bool before_merge:Bool - want_split:Bool want_merge:Bool - nx_cc_updated:Bool flags:(## 3) { flags = 0 } - next_catchain_seqno:uint32 next_validator_shard:uint64 - min_ref_mc_seqno:uint32 gen_utime:uint32 - split_merge_at:FutureSplitMerge - ^[ fees_collected:CurrencyCollection - funds_created:CurrencyCollection ] = ShardDescr; - -_ (HashmapE 32 ^(BinTree ShardDescr)) = ShardHashes; - -bta_leaf$0 {X:Type} {Y:Type} extra:Y leaf:X = BinTreeAug X Y; -bta_fork$1 {X:Type} {Y:Type} left:^(BinTreeAug X Y) - right:^(BinTreeAug X Y) extra:Y = BinTreeAug X Y; - -_ fees:CurrencyCollection create:CurrencyCollection = ShardFeeCreated; -_ (HashmapAugE 96 ShardFeeCreated ShardFeeCreated) = ShardFees; - -_ config_addr:bits256 config:^(Hashmap 32 ^Cell) - = ConfigParams; - -validator_info$_ - validator_list_hash_short:uint32 - catchain_seqno:uint32 - nx_cc_updated:Bool -= ValidatorInfo; - -validator_base_info$_ - validator_list_hash_short:uint32 - catchain_seqno:uint32 -= ValidatorBaseInfo; - -_ key:Bool max_end_lt:uint64 = KeyMaxLt; -_ key:Bool blk_ref:ExtBlkRef = KeyExtBlkRef; - -_ (HashmapAugE 32 KeyExtBlkRef KeyMaxLt) = OldMcBlocksInfo; - - -counters#_ last_updated:uint32 total:uint64 cnt2048:uint64 cnt65536:uint64 = Counters; -creator_info#4 mc_blocks:Counters shard_blocks:Counters = CreatorStats; -block_create_stats#17 counters:(HashmapE 256 CreatorStats) = BlockCreateStats; -block_create_stats_ext#34 counters:(HashmapAugE 256 CreatorStats uint32) = BlockCreateStats; - -masterchain_state_extra#cc26 - shard_hashes:ShardHashes - config:ConfigParams - ^[ flags:(## 16) { flags <= 1 } - validator_info:ValidatorInfo - prev_blocks:OldMcBlocksInfo - after_key_block:Bool - last_key_block:(Maybe ExtBlkRef) - block_create_stats:(flags . 0)?BlockCreateStats ] - global_balance:CurrencyCollection -= McStateExtra; - -ed25519_pubkey#8e81278a pubkey:bits256 = SigPubKey; // 288 bits -ed25519_signature#5 R:bits256 s:bits256 = CryptoSignatureSimple; // 516 bits -_ CryptoSignatureSimple = CryptoSignature; -sig_pair$_ node_id_short:bits256 sign:CryptoSignature = CryptoSignaturePair; // 256+x ~ 772 bits - -certificate#4 temp_key:SigPubKey valid_since:uint32 valid_until:uint32 = Certificate; // 356 bits -certificate_env#a419b7d certificate:Certificate = CertificateEnv; // 384 bits -signed_certificate$_ certificate:Certificate certificate_signature:CryptoSignature - = SignedCertificate; // 356+516 = 872 bits -// certificate_signature is the signature of CertificateEnv (with embedded certificate) with persistent key -chained_signature#f signed_cert:^SignedCertificate temp_key_signature:CryptoSignatureSimple - = CryptoSignature; // 4+(356+516)+516 = 520 bits+ref (1392 bits total) -// temp_key_signature is the signature of whatever was originally intended to be signed with temp_key from certificate - -masterchain_block_extra#cca5 - key_block:(## 1) - shard_hashes:ShardHashes - shard_fees:ShardFees - ^[ prev_blk_signatures:(HashmapE 16 CryptoSignaturePair) - recover_create_msg:(Maybe ^InMsg) - mint_msg:(Maybe ^InMsg) ] - config:key_block?ConfigParams -= McBlockExtra; - -// -// CONFIGURATION PARAMETERS -// - -validator#53 public_key:SigPubKey weight:uint64 = ValidatorDescr; -validator_addr#73 public_key:SigPubKey weight:uint64 adnl_addr:bits256 = ValidatorDescr; -validators#11 utime_since:uint32 utime_until:uint32 - total:(## 16) main:(## 16) { main <= total } { main >= 1 } - list:(Hashmap 16 ValidatorDescr) = ValidatorSet; -validators_ext#12 utime_since:uint32 utime_until:uint32 - total:(## 16) main:(## 16) { main <= total } { main >= 1 } - total_weight:uint64 list:(HashmapE 16 ValidatorDescr) = ValidatorSet; - -_ config_addr:bits256 = ConfigParam 0; -_ elector_addr:bits256 = ConfigParam 1; -_ minter_addr:bits256 = ConfigParam 2; // ConfigParam 0 is used if absent -_ fee_collector_addr:bits256 = ConfigParam 3; // ConfigParam 1 is used if absent -_ dns_root_addr:bits256 = ConfigParam 4; // root TON DNS resolver - -_ mint_new_price:Grams mint_add_price:Grams = ConfigParam 6; -_ to_mint:ExtraCurrencyCollection = ConfigParam 7; - -capabilities#c4 version:uint32 capabilities:uint64 = GlobalVersion; -_ GlobalVersion = ConfigParam 8; // all zero if absent -_ mandatory_params:(Hashmap 32 True) = ConfigParam 9; -_ critical_params:(Hashmap 32 True) = ConfigParam 10; - -cfg_vote_cfg#36 min_tot_rounds:uint8 max_tot_rounds:uint8 min_wins:uint8 max_losses:uint8 min_store_sec:uint32 max_store_sec:uint32 bit_price:uint32 cell_price:uint32 = ConfigProposalSetup; -cfg_vote_setup#91 normal_params:^ConfigProposalSetup critical_params:^ConfigProposalSetup = ConfigVotingSetup; -_ ConfigVotingSetup = ConfigParam 11; - -cfg_proposal#f3 param_id:int32 param_value:(Maybe ^Cell) if_hash_equal:(Maybe uint256) - = ConfigProposal; -cfg_proposal_status#ce expires:uint32 proposal:^ConfigProposal is_critical:Bool - voters:(HashmapE 16 True) remaining_weight:int64 validator_set_id:uint256 - rounds_remaining:uint8 wins:uint8 losses:uint8 = ConfigProposalStatus; - -wfmt_basic#1 vm_version:int32 vm_mode:uint64 = WorkchainFormat 1; -wfmt_ext#0 min_addr_len:(## 12) max_addr_len:(## 12) addr_len_step:(## 12) - { min_addr_len >= 64 } { min_addr_len <= max_addr_len } - { max_addr_len <= 1023 } { addr_len_step <= 1023 } - workchain_type_id:(## 32) { workchain_type_id >= 1 } - = WorkchainFormat 0; - -wc_split_merge_timings#0 - split_merge_delay:uint32 split_merge_interval:uint32 - min_split_merge_interval:uint32 max_split_merge_delay:uint32 - = WcSplitMergeTimings; - -//workchain#a5 enabled_since:uint32 min_split:(## 8) max_split:(## 8) -// { min_split <= max_split } { max_split <= 60 } - -workchain#a6 enabled_since:uint32 actual_min_split:(## 8) - min_split:(## 8) max_split:(## 8) { actual_min_split <= min_split } - basic:(## 1) active:Bool accept_msgs:Bool flags:(## 13) { flags = 0 } - zerostate_root_hash:bits256 zerostate_file_hash:bits256 - version:uint32 format:(WorkchainFormat basic) - = WorkchainDescr; - -workchain_v2#a7 enabled_since:uint32 actual_min_split:(## 8) - min_split:(## 8) max_split:(## 8) { actual_min_split <= min_split } - basic:(## 1) active:Bool accept_msgs:Bool flags:(## 13) { flags = 0 } - zerostate_root_hash:bits256 zerostate_file_hash:bits256 - version:uint32 format:(WorkchainFormat basic) - split_merge_timings:WcSplitMergeTimings - = WorkchainDescr; - -_ workchains:(HashmapE 32 WorkchainDescr) = ConfigParam 12; - -complaint_prices#1a deposit:Grams bit_price:Grams cell_price:Grams = ComplaintPricing; -_ ComplaintPricing = ConfigParam 13; - -block_grams_created#6b masterchain_block_fee:Grams basechain_block_fee:Grams - = BlockCreateFees; -_ BlockCreateFees = ConfigParam 14; - -_ validators_elected_for:uint32 elections_start_before:uint32 - elections_end_before:uint32 stake_held_for:uint32 - = ConfigParam 15; - -_ max_validators:(## 16) max_main_validators:(## 16) min_validators:(## 16) - { max_validators >= max_main_validators } - { max_main_validators >= min_validators } - { min_validators >= 1 } - = ConfigParam 16; - -_ min_stake:Grams max_stake:Grams min_total_stake:Grams max_stake_factor:uint32 = ConfigParam 17; - -_#cc utime_since:uint32 bit_price_ps:uint64 cell_price_ps:uint64 - mc_bit_price_ps:uint64 mc_cell_price_ps:uint64 = StoragePrices; -_ (Hashmap 32 StoragePrices) = ConfigParam 18; - -gas_prices#dd gas_price:uint64 gas_limit:uint64 gas_credit:uint64 - block_gas_limit:uint64 freeze_due_limit:uint64 delete_due_limit:uint64 - = GasLimitsPrices; - -gas_prices_ext#de gas_price:uint64 gas_limit:uint64 special_gas_limit:uint64 gas_credit:uint64 - block_gas_limit:uint64 freeze_due_limit:uint64 delete_due_limit:uint64 - = GasLimitsPrices; - -gas_flat_pfx#d1 flat_gas_limit:uint64 flat_gas_price:uint64 other:GasLimitsPrices - = GasLimitsPrices; - -config_mc_gas_prices#_ GasLimitsPrices = ConfigParam 20; -config_gas_prices#_ GasLimitsPrices = ConfigParam 21; - -param_limits#c3 underload:# soft_limit:# { underload <= soft_limit } - hard_limit:# { soft_limit <= hard_limit } = ParamLimits; -block_limits#5d bytes:ParamLimits gas:ParamLimits lt_delta:ParamLimits - = BlockLimits; - -config_mc_block_limits#_ BlockLimits = ConfigParam 22; -config_block_limits#_ BlockLimits = ConfigParam 23; - -// msg_fwd_fees = (lump_price + ceil((bit_price * msg.bits + cell_price * msg.cells)/2^16)) nanograms -// ihr_fwd_fees = ceil((msg_fwd_fees * ihr_price_factor)/2^16) nanograms -// bits in the root cell of a message are not included in msg.bits (lump_price pays for them) -msg_forward_prices#ea lump_price:uint64 bit_price:uint64 cell_price:uint64 - ihr_price_factor:uint32 first_frac:uint16 next_frac:uint16 = MsgForwardPrices; - -// used for messages to/from masterchain -config_mc_fwd_prices#_ MsgForwardPrices = ConfigParam 24; -// used for all other messages -config_fwd_prices#_ MsgForwardPrices = ConfigParam 25; - -catchain_config#c1 mc_catchain_lifetime:uint32 shard_catchain_lifetime:uint32 - shard_validators_lifetime:uint32 shard_validators_num:uint32 = CatchainConfig; - -catchain_config_new#c2 flags:(## 7) { flags = 0 } shuffle_mc_validators:Bool - mc_catchain_lifetime:uint32 shard_catchain_lifetime:uint32 - shard_validators_lifetime:uint32 shard_validators_num:uint32 = CatchainConfig; - -consensus_config#d6 round_candidates:# { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 = ConsensusConfig; - -consensus_config_new#d7 flags:(## 7) { flags = 0 } new_catchain_ids:Bool - round_candidates:(## 8) { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 = ConsensusConfig; - -consensus_config_v3#d8 flags:(## 7) { flags = 0 } new_catchain_ids:Bool - round_candidates:(## 8) { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 - proto_version:uint16 = ConsensusConfig; - -consensus_config_v4#d9 flags:(## 7) { flags = 0 } new_catchain_ids:Bool - round_candidates:(## 8) { round_candidates >= 1 } - next_candidate_delay_ms:uint32 consensus_timeout_ms:uint32 - fast_attempts:uint32 attempt_duration:uint32 catchain_max_deps:uint32 - max_block_bytes:uint32 max_collated_bytes:uint32 - proto_version:uint16 catchain_max_blocks_coeff:uint32 = ConsensusConfig; - -_ CatchainConfig = ConfigParam 28; -_ ConsensusConfig = ConfigParam 29; - -_ fundamental_smc_addr:(HashmapE 256 True) = ConfigParam 31; -_ prev_validators:ValidatorSet = ConfigParam 32; -_ prev_temp_validators:ValidatorSet = ConfigParam 33; -_ cur_validators:ValidatorSet = ConfigParam 34; -_ cur_temp_validators:ValidatorSet = ConfigParam 35; -_ next_validators:ValidatorSet = ConfigParam 36; -_ next_temp_validators:ValidatorSet = ConfigParam 37; - -validator_temp_key#3 adnl_addr:bits256 temp_public_key:SigPubKey seqno:# valid_until:uint32 = ValidatorTempKey; -signed_temp_key#4 key:^ValidatorTempKey signature:CryptoSignature = ValidatorSignedTempKey; -_ (HashmapE 256 ValidatorSignedTempKey) = ConfigParam 39; - -misbehaviour_punishment_config_v1#01 - default_flat_fine:Grams default_proportional_fine:uint32 - severity_flat_mult:uint16 severity_proportional_mult:uint16 - unpunishable_interval:uint16 - long_interval:uint16 long_flat_mult:uint16 long_proportional_mult:uint16 - medium_interval:uint16 medium_flat_mult:uint16 medium_proportional_mult:uint16 - = MisbehaviourPunishmentConfig; -_ MisbehaviourPunishmentConfig = ConfigParam 40; - -size_limits_config#01 max_msg_bits:uint32 max_msg_cells:uint32 max_library_cells:uint32 max_vm_data_depth:uint16 - max_ext_msg_size:uint32 max_ext_msg_depth:uint16 = SizeLimitsConfig; -size_limits_config_v2#02 max_msg_bits:uint32 max_msg_cells:uint32 max_library_cells:uint32 max_vm_data_depth:uint16 - max_ext_msg_size:uint32 max_ext_msg_depth:uint16 max_acc_state_cells:uint32 max_acc_state_bits:uint32 = SizeLimitsConfig; -_ SizeLimitsConfig = ConfigParam 43; - -// key is [ wc:int32 addr:uint256 ] -suspended_address_list#00 addresses:(HashmapE 288 Unit) suspended_until:uint32 = SuspendedAddressList; -_ SuspendedAddressList = ConfigParam 44; - -oracle_bridge_params#_ bridge_address:bits256 oracle_mutlisig_address:bits256 oracles:(HashmapE 256 uint256) external_chain_address:bits256 = OracleBridgeParams; -_ OracleBridgeParams = ConfigParam 71; // Ethereum bridge -_ OracleBridgeParams = ConfigParam 72; // Binance Smart Chain bridge -_ OracleBridgeParams = ConfigParam 73; // Polygon bridge - -// Note that chains in which bridge, minter and jetton-wallet operate are fixated -jetton_bridge_prices#_ bridge_burn_fee:Coins bridge_mint_fee:Coins - wallet_min_tons_for_storage:Coins - wallet_gas_consumption:Coins - minter_min_tons_for_storage:Coins - discover_gas_consumption:Coins = JettonBridgePrices; - -jetton_bridge_params_v0#00 bridge_address:bits256 oracles_address:bits256 oracles:(HashmapE 256 uint256) state_flags:uint8 burn_bridge_fee:Coins = JettonBridgeParams; -jetton_bridge_params_v1#01 bridge_address:bits256 oracles_address:bits256 oracles:(HashmapE 256 uint256) state_flags:uint8 prices:^JettonBridgePrices external_chain_address:bits256 = JettonBridgeParams; - -_ JettonBridgeParams = ConfigParam 79; // ETH->TON token bridge -_ JettonBridgeParams = ConfigParam 80; // BNB->TON token bridge -_ JettonBridgeParams = ConfigParam 81; // Polygon->TON token bridge - - -// -// PROOFS -// -block_signatures_pure#_ sig_count:uint32 sig_weight:uint64 - signatures:(HashmapE 16 CryptoSignaturePair) = BlockSignaturesPure; -block_signatures#11 validator_info:ValidatorBaseInfo pure_signatures:BlockSignaturesPure = BlockSignatures; -block_proof#c3 proof_for:BlockIdExt root:^Cell signatures:(Maybe ^BlockSignatures) = BlockProof; - -chain_empty$_ = ProofChain 0; -chain_link$_ {n:#} root:^Cell prev:n?^(ProofChain n) = ProofChain (n + 1); -top_block_descr#d5 proof_for:BlockIdExt signatures:(Maybe ^BlockSignatures) - len:(## 8) { len >= 1 } { len <= 8 } chain:(ProofChain len) = TopBlockDescr; - -// -// COLLATED DATA -// -top_block_descr_set#4ac789f3 collection:(HashmapE 96 ^TopBlockDescr) = TopBlockDescrSet; - -// -// VALIDATOR MISBEHAVIOR COMPLAINTS -// -prod_info#34 utime:uint32 mc_blk_ref:ExtBlkRef state_proof:^(MERKLE_PROOF Block) - prod_proof:^(MERKLE_PROOF ShardState) = ProducerInfo; -no_blk_gen from_utime:uint32 prod_info:^ProducerInfo = ComplaintDescr; -no_blk_gen_diff prod_info_old:^ProducerInfo prod_info_new:^ProducerInfo = ComplaintDescr; -validator_complaint#bc validator_pubkey:bits256 description:^ComplaintDescr created_at:uint32 severity:uint8 reward_addr:uint256 paid:Grams suggested_fine:Grams suggested_fine_part:uint32 = ValidatorComplaint; -complaint_status#2d complaint:^ValidatorComplaint voters:(HashmapE 16 True) vset_id:uint256 weight_remaining:int64 = ValidatorComplaintStatus; - -// -// TVM REFLECTION -// -vm_stk_null#00 = VmStackValue; -vm_stk_tinyint#01 value:int64 = VmStackValue; -vm_stk_int#0201_ value:int257 = VmStackValue; -vm_stk_nan#02ff = VmStackValue; -vm_stk_cell#03 cell:^Cell = VmStackValue; -_ cell:^Cell st_bits:(## 10) end_bits:(## 10) { st_bits <= end_bits } - st_ref:(#<= 4) end_ref:(#<= 4) { st_ref <= end_ref } = VmCellSlice; -vm_stk_slice#04 _:VmCellSlice = VmStackValue; -vm_stk_builder#05 cell:^Cell = VmStackValue; -vm_stk_cont#06 cont:VmCont = VmStackValue; -vm_tupref_nil$_ = VmTupleRef 0; -vm_tupref_single$_ entry:^VmStackValue = VmTupleRef 1; -vm_tupref_any$_ {n:#} ref:^(VmTuple (n + 2)) = VmTupleRef (n + 2); -vm_tuple_nil$_ = VmTuple 0; -vm_tuple_tcons$_ {n:#} head:(VmTupleRef n) tail:^VmStackValue = VmTuple (n + 1); -vm_stk_tuple#07 len:(## 16) data:(VmTuple len) = VmStackValue; - -vm_stack#_ depth:(## 24) stack:(VmStackList depth) = VmStack; -vm_stk_cons#_ {n:#} rest:^(VmStackList n) tos:VmStackValue = VmStackList (n + 1); -vm_stk_nil#_ = VmStackList 0; - -_ cregs:(HashmapE 4 VmStackValue) = VmSaveList; -gas_limits#_ remaining:int64 _:^[ max_limit:int64 cur_limit:int64 credit:int64 ] - = VmGasLimits; -_ libraries:(HashmapE 256 ^Cell) = VmLibraries; - -vm_ctl_data$_ nargs:(Maybe uint13) stack:(Maybe VmStack) save:VmSaveList -cp:(Maybe int16) = VmControlData; -vmc_std$00 cdata:VmControlData code:VmCellSlice = VmCont; -vmc_envelope$01 cdata:VmControlData next:^VmCont = VmCont; -vmc_quit$1000 exit_code:int32 = VmCont; -vmc_quit_exc$1001 = VmCont; -vmc_repeat$10100 count:uint63 body:^VmCont after:^VmCont = VmCont; -vmc_until$110000 body:^VmCont after:^VmCont = VmCont; -vmc_again$110001 body:^VmCont = VmCont; -vmc_while_cond$110010 cond:^VmCont body:^VmCont -after:^VmCont = VmCont; -vmc_while_body$110011 cond:^VmCont body:^VmCont -after:^VmCont = VmCont; -vmc_pushint$1111 value:int32 next:^VmCont = VmCont; - -// -// DNS RECORDS -// -_ (HashmapE 256 ^DNSRecord) = DNS_RecordSet; - -chunk_ref$_ {n:#} ref:^(TextChunks (n + 1)) = TextChunkRef (n + 1); -chunk_ref_empty$_ = TextChunkRef 0; -text_chunk$_ {n:#} len:(## 8) data:(bits (len * 8)) next:(TextChunkRef n) = TextChunks (n + 1); -text_chunk_empty$_ = TextChunks 0; -text$_ chunks:(## 8) rest:(TextChunks chunks) = Text; -dns_text#1eda _:Text = DNSRecord; - -dns_next_resolver#ba93 resolver:MsgAddressInt = DNSRecord; // usually in record #-1 - -dns_adnl_address#ad01 adnl_addr:bits256 flags:(## 8) { flags <= 1 } - proto_list:flags . 0?ProtoList = DNSRecord; // often in record #2 -proto_list_nil$0 = ProtoList; -proto_list_next$1 head:Protocol tail:ProtoList = ProtoList; -proto_http#4854 = Protocol; - -dns_smc_address#9fd3 smc_addr:MsgAddressInt flags:(## 8) { flags <= 1 } - cap_list:flags . 0?SmcCapList = DNSRecord; // often in record #1 -cap_list_nil$0 = SmcCapList; -cap_list_next$1 head:SmcCapability tail:SmcCapList = SmcCapList; -cap_method_seqno#5371 = SmcCapability; -cap_method_pubkey#71f4 = SmcCapability; -cap_is_wallet#2177 = SmcCapability; -cap_name#ff name:Text = SmcCapability; - -dns_storage_address#7473 bag_id:bits256 = DNSRecord; - -// -// PAYMENT CHANNELS -// - -chan_config$_ init_timeout:uint32 close_timeout:uint32 a_key:bits256 b_key:bits256 - a_addr:^MsgAddressInt b_addr:^MsgAddressInt channel_id:uint64 min_A_extra:Grams = ChanConfig; - -chan_state_init$000 signed_A:Bool signed_B:Bool min_A:Grams min_B:Grams expire_at:uint32 A:Grams B:Grams = ChanState; -chan_state_close$001 signed_A:Bool signed_B:Bool promise_A:Grams promise_B:Grams expire_at:uint32 A:Grams B:Grams = ChanState; -chan_state_payout$010 A:Grams B:Grams = ChanState; - -chan_promise$_ channel_id:uint64 promise_A:Grams promise_B:Grams = ChanPromise; -chan_signed_promise#_ sig:(Maybe ^bits512) promise:ChanPromise = ChanSignedPromise; - -chan_msg_init#27317822 inc_A:Grams inc_B:Grams min_A:Grams min_B:Grams channel_id:uint64 = ChanMsg; -chan_msg_close#f28ae183 extra_A:Grams extra_B:Grams promise:ChanSignedPromise = ChanMsg; -chan_msg_timeout#43278a28 = ChanMsg; -chan_msg_payout#37fe7810 = ChanMsg; - -chan_signed_msg$_ sig_A:(Maybe ^bits512) sig_B:(Maybe ^bits512) msg:ChanMsg = ChanSignedMsg; - -chan_op_cmd#912838d1 msg:ChanSignedMsg = ChanOp; - - -chan_data$_ config:^ChanConfig state:^ChanState = ChanData; diff --git a/ton-kotlin-tlb/src/commonMain/resources/boc.tlb b/ton-kotlin-tlb/src/commonMain/resources/boc.tlb deleted file mode 100644 index f2e83580..00000000 --- a/ton-kotlin-tlb/src/commonMain/resources/boc.tlb +++ /dev/null @@ -1,49 +0,0 @@ -// -// Bag-of-Cells (BoC) serialization formats -// - -serialized_boc_idx#68ff65f3 size:(## 8) { size <= 4 } - off_bytes:(## 8) { off_bytes <= 8 } - cells:(##(size * 8)) - roots:(##(size * 8)) { roots = 1 } - absent:(##(size * 8)) { roots + absent <= cells } - tot_cells_size:(##(off_bytes * 8)) - index:(cells * ##(off_bytes * 8)) - cell_data:(tot_cells_size * [ uint8 ]) - = BagOfCells; - -serialized_boc_idx_crc32c#acc3a728 size:(## 8) { size <= 4 } - off_bytes:(## 8) { off_bytes <= 8 } - cells:(##(size * 8)) - roots:(##(size * 8)) { roots = 1 } - absent:(##(size * 8)) { roots + absent <= cells } - tot_cells_size:(##(off_bytes * 8)) - index:(cells * ##(off_bytes * 8)) - cell_data:(tot_cells_size * [ uint8 ]) - crc32c:uint32 = BagOfCells; - -serialized_boc#b5ee9c72 -has_idx:(## 1) -has_crc32c:(## 1) - has_cache_bits:(## 1) - flags:(## 2) { flags = 0 } - size:(## 3) { size <= 4 } - off_bytes:(## 8) { off_bytes <= 8 } - cells:(##(size * 8)) - roots:(##(size * 8)) { roots >= 1 } - absent:(##(size * 8)) { roots + absent <= cells } - tot_cells_size:(##(off_bytes * 8)) - root_list:(roots * ##(size * 8)) - index:has_idx?(cells * ##(off_bytes * 8)) - cell_data:(tot_cells_size * [ uint8 ]) - crc32c:has_crc32c?uint32 - = BagOfCells; - -compiled_smart_contract - compiled_at:uint32 code:^Cell data:^Cell - description:(Maybe ^TinyString) - ^[ source_file:(Maybe ^TinyString) - compiler_version:(Maybe ^TinyString) ] - = CompiledSmartContract; - -tiny_string#_ len:(#<= 126) str:(len * [ uint8 ]) = TinyString; diff --git a/ton-kotlin-tlb/src/commonMain/resources/hashmap.tlb b/ton-kotlin-tlb/src/commonMain/resources/hashmap.tlb deleted file mode 100644 index 58f64644..00000000 --- a/ton-kotlin-tlb/src/commonMain/resources/hashmap.tlb +++ /dev/null @@ -1,60 +0,0 @@ -bit#_ _:(## 1) = Bit; - -// ordinary Hashmap / HashmapE, with fixed length keys -// -hm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(HashmapNode m X) = Hashmap n X; - -hmn_leaf#_ {X:Type} value:X = HashmapNode 0 X; -hmn_fork#_ {n:#} {X:Type} left:^(Hashmap n X) - right:^(Hashmap n X) = HashmapNode (n + 1) X; - -hml_short$0 {m:#} {n:#} len:(Unary ~n) s:(n * Bit) = HmLabel ~n m; -hml_long$10 {m:#} n:(#<= m) s:(n * Bit) = HmLabel ~n m; -hml_same$11 {m:#} v:Bit n:(#<= m) = HmLabel ~n m; - -unary_zero$0 = Unary ~0; -unary_succ$1 {n:#} x:(Unary ~n) = Unary ~(n + 1); - -hme_empty$0 {n:#} {X:Type} = HashmapE n X; -hme_root$1 {n:#} {X:Type} root:^(Hashmap n X) = HashmapE n X; - -true#_ = True; -_ {n:#} _:(Hashmap n True) = BitstringSet n; - - -// VarHashmap / VarHashmapE, with variable-length keys -// -vhm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(VarHashmapNode m X) - = VarHashmap n X; -vhmn_leaf$00 {n:#} {X:Type} value:X = VarHashmapNode n X; -vhmn_fork$01 {n:#} {X:Type} left:^(VarHashmap n X) - right:^(VarHashmap n X) value:(Maybe X) - = VarHashmapNode (n + 1) X; -vhmn_cont$1 {n:#} {X:Type} branch:Bit child:^(VarHashmap n X) - value:X = VarHashmapNode (n + 1) X; - -nothing$0 {X:Type} = Maybe X; -just$1 {X:Type} value:X = Maybe X; - -vhme_empty$0 {n:#} {X:Type} = VarHashmapE n X; -vhme_root$1 {n:#} {X:Type} root:^(VarHashmap n X) - = VarHashmapE n X; - -// -// PfxHashmap / PfxHashmapE, with variable-length keys -// constituting a prefix code -// - -phm_edge#_ {n:#} {X:Type} {l:#} {m:#} label:(HmLabel ~l n) - {n = (~m) + l} node:(PfxHashmapNode m X) - = PfxHashmap n X; - -phmn_leaf$0 {n:#} {X:Type} value:X = PfxHashmapNode n X; -phmn_fork$1 {n:#} {X:Type} left:^(PfxHashmap n X) - right:^(PfxHashmap n X) = PfxHashmapNode (n + 1) X; - -phme_empty$0 {n:#} {X:Type} = PfxHashmapE n X; -phme_root$1 {n:#} {X:Type} root:^(PfxHashmap n X) - = PfxHashmapE n X; diff --git a/ton-kotlin-tlb/src/commonMain/resources/tokendata.tlb b/ton-kotlin-tlb/src/commonMain/resources/tokendata.tlb deleted file mode 100644 index e359375b..00000000 --- a/ton-kotlin-tlb/src/commonMain/resources/tokendata.tlb +++ /dev/null @@ -1,13 +0,0 @@ -// From the Token Data Standard -// See: https://github.com/ton-blockchain/TIPs/issues/64 - -tail#_ {bn:#} b:(bits bn) = SnakeData ~0; -cons#_ {bn:#} {n:#} b:(bits bn) next:^(SnakeData ~n) = SnakeData ~(n + 1); - -chunked_data#_ data:(HashMapE 32 ^(SnakeData ~0)) = ChunkedData; - -text#_ {n:#} data:(SnakeData ~n) = Text; -snake#00 data:(SnakeData ~n) = ContentData; -chunks#01 data:ChunkedData = ContentData; -onchain#00 data:(HashMapE 256 ^ContentData) = FullContent; -offchain#01 uri:Text = FullContent; diff --git a/ton-kotlin-tlb/src/commonMain/resources/tonstdlib.tlb b/ton-kotlin-tlb/src/commonMain/resources/tonstdlib.tlb deleted file mode 100644 index c9ffcc87..00000000 --- a/ton-kotlin-tlb/src/commonMain/resources/tonstdlib.tlb +++ /dev/null @@ -1,165 +0,0 @@ -// -// TON TL-B standard library -// - -// -// dependson "hashmap.tlb" -// - -unit$_ = Unit; -true$_ = True; - -bool_false$0 = Bool; -bool_true$1 = Bool; - -bool_false$0 = BoolFalse; -bool_true$1 = BoolTrue; - -nothing$0 {X:Type} = Maybe X; -just$1 {X:Type} value:X = Maybe X; - -left$0 {X:Type} {Y:Type} value:X = Either X Y; -right$1 {X:Type} {Y:Type} value:Y = Either X Y; - -pair$_ {X:Type} {Y:Type} first:X second:Y = Both X Y; - -bit$_ (## 1) = Bit; - -// ---------- addresses ----------- -addr_none$00 = MsgAddressExt; -addr_extern$01 len:(## 9) external_address:(bits len) - = MsgAddressExt; - -anycast_info$_ depth:(#<= 30) { depth >= 1 } - rewrite_pfx:(bits depth) = Anycast; - -addr_std$10 anycast:(Maybe Anycast) - workchain_id:int8 address:bits256 = MsgAddressInt; -addr_var$11 anycast:(Maybe Anycast) addr_len:(## 9) - workchain_id:int32 address:(bits addr_len) = MsgAddressInt; - -_ _:MsgAddressInt = MsgAddress; -_ _:MsgAddressExt = MsgAddress; - -addr_none$00 = MsgAddressNone; -addr_std$10 anycast:(## 1) {anycast = 0} - workchain_id:int8 address:bits256 = MsgAddressSmpl; - -// -------------------------------- - -// ---------- var u/int ----------- -var_uint$_ {n:#} len:(#< n) value:(uint (len * 8)) - = VarUInteger n; -var_int$_ {n:#} len:(#< n) value:(int (len * 8)) - = VarInteger n; -// -------------------------------- - -// ---------- currencies ---------- -nanotons$_ amount:(VarUInteger 16) = TONs; - -extra_currencies$_ dict:(HashmapE 32 (VarUInteger 32)) - = ExtraCurrencyCollection; - -currencies$_ tons:TONs other:ExtraCurrencyCollection - = CurrencyCollection; -// -------------------------------- - -// ----------- msg info ----------- -int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool - src:MsgAddressInt dest:MsgAddressInt - value:CurrencyCollection ihr_fee:TONs fwd_fee:TONs - created_lt:uint64 created_at:uint32 = CommonMsgInfo; -ext_in_msg_info$10 src:MsgAddressExt dest:MsgAddressInt - import_fee:TONs = CommonMsgInfo; -ext_out_msg_info$11 src:MsgAddressInt dest:MsgAddressExt - created_lt:uint64 created_at:uint32 = CommonMsgInfo; - -int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool - src:MsgAddress dest:MsgAddressInt - value:CurrencyCollection ihr_fee:TONs fwd_fee:TONs - created_lt:uint64 created_at:uint32 = CommonMsgInfoRelaxed; -ext_out_msg_info$11 src:MsgAddress dest:MsgAddressExt - created_lt:uint64 created_at:uint32 = CommonMsgInfoRelaxed; -// -------------------------------- - -// ----------- TickTock ----------- -tick_tock$_ tick:Bool tock:Bool = TickTock; -// -------------------------------- - -// -------------------------------- -_ split_depth:(Maybe (## 5)) special:(Maybe TickTock) - code:(Maybe ^Cell) data:(Maybe ^Cell) - library:(HashmapE 256 SimpleLib) = StateInit; - -simple_lib$_ public:Bool root:^Cell = SimpleLib; - -message$_ {X:Type} info:CommonMsgInfo - init:(Maybe (Either StateInit ^StateInit)) - body:(Either X ^X) = Message X; - -message$_ {X:Type} info:CommonMsgInfoRelaxed - init:(Maybe (Either StateInit ^StateInit)) - body:(Either X ^X) = MessageRelaxed X; - -_ (Message Any) = MessageAny; -// -------------------------------- - -// -------------------------------- -interm_addr_regular$0 use_dest_bits:(#<= 96) - = IntermediateAddress; -interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 - = IntermediateAddress; -interm_addr_ext$11 workchain_id:int32 addr_pfx:uint64 - = IntermediateAddress; -msg_envelope#4 cur_addr:IntermediateAddress - next_addr:IntermediateAddress fwd_fee_remaining:TONs - msg:^(Message Any) = MsgEnvelope; -// -------------------------------- - -// -------------------------------- -msg_import_ext$000 msg:^(Message Any) transaction:^Transaction - = InMsg; -msg_import_ihr$010 msg:^(Message Any) transaction:^Transaction - ihr_fee:TONs proof_created:^Cell = InMsg; -msg_import_imm$011 in_msg:^MsgEnvelope - transaction:^Transaction fwd_fee:TONs = InMsg; -msg_import_fin$100 in_msg:^MsgEnvelope - transaction:^Transaction fwd_fee:TONs = InMsg; -msg_import_tr$101 in_msg:^MsgEnvelope out_msg:^MsgEnvelope - transit_fee:TONs = InMsg; -msg_discard_fin$110 in_msg:^MsgEnvelope transaction_id:uint64 - fwd_fee:TONs = InMsg; -msg_discard_tr$111 in_msg:^MsgEnvelope transaction_id:uint64 - fwd_fee:TONs proof_delivered:^Cell = InMsg; -// -------------------------------- - -// -------------------------------- -import_fees$_ fees_collected:TONs - value_imported:CurrencyCollection = ImportFees; - -_ (HashmapAugE 256 InMsg ImportFees) = InMsgDescr; - -msg_export_ext$000 msg:^(Message Any) - transaction:^Transaction = OutMsg; -msg_export_imm$010 out_msg:^MsgEnvelope - transaction:^Transaction reimport:^InMsg = OutMsg; -msg_export_new$001 out_msg:^MsgEnvelope - transaction:^Transaction = OutMsg; -msg_export_tr$011 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; -msg_export_deq$1100 out_msg:^MsgEnvelope - import_block_lt:uint63 = OutMsg; -msg_export_deq_short$1101 msg_env_hash:bits256 - next_workchain:int32 next_addr_pfx:uint64 - import_block_lt:uint64 = OutMsg; -msg_export_tr_req$111 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; -msg_export_deq_imm$100 out_msg:^MsgEnvelope - reimport:^InMsg = OutMsg; - -_ enqueued_lt:uint64 out_msg:^MsgEnvelope = EnqueuedMsg; - -_ (HashmapAugE 256 OutMsg CurrencyCollection) = OutMsgDescr; - -_ (HashmapAugE 352 EnqueuedMsg uint64) = OutMsgQueue; -// -------------------------------- \ No newline at end of file diff --git a/tonapi-tl/api/ton-kotlin-tonapi-tl.api b/tonapi-tl/api/ton-kotlin-tonapi-tl.api new file mode 100644 index 00000000..15d0aa5a --- /dev/null +++ b/tonapi-tl/api/ton-kotlin-tonapi-tl.api @@ -0,0 +1,2988 @@ +public abstract interface class org/ton/api/SignedTlObject : org/ton/tl/TlObject { + public abstract fun getSignature ()Lorg/ton/tl/ByteString; + public abstract fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/tl/TlObject; + public abstract fun verify (Lorg/ton/api/pub/PublicKey;)Z +} + +public abstract interface class org/ton/api/adnl/AdnlAddress : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/adnl/AdnlAddress$Companion; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/api/adnl/AdnlAddress$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/adnl/AdnlAddressList : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/adnl/AdnlAddressList$Companion; + public fun ()V + public fun (Ljava/util/List;IIII)V + public synthetic fun (Ljava/util/List;IIIIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun ([Lorg/ton/api/adnl/AdnlAddress;)V + public final fun addrs ()Ljava/util/List; + public final fun component1 ()Ljava/util/List; + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()I + public final fun component5 ()I + public final fun copy (Ljava/util/List;IIII)Lorg/ton/api/adnl/AdnlAddressList; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlAddressList;Ljava/util/List;IIIIILjava/lang/Object;)Lorg/ton/api/adnl/AdnlAddressList; + public fun equals (Ljava/lang/Object;)Z + public final fun expireAt ()I + public fun hashCode ()I + public final fun priority ()I + public final fun reinitDate ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public final fun version ()I +} + +public final class org/ton/api/adnl/AdnlAddressList$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlAddressList; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlAddressList;)V +} + +public final class org/ton/api/adnl/AdnlAddressTunnel : org/ton/api/adnl/AdnlAddress { + public static final field Companion Lorg/ton/api/adnl/AdnlAddressTunnel$Companion; + public fun (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/pub/PublicKey;)V + public fun (Lorg/ton/tl/ByteString;Lorg/ton/api/pub/PublicKey;)V + public fun ([BLorg/ton/api/pub/PublicKey;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/api/pub/PublicKey; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/api/pub/PublicKey;)Lorg/ton/api/adnl/AdnlAddressTunnel; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlAddressTunnel;Lorg/ton/tl/ByteString;Lorg/ton/api/pub/PublicKey;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlAddressTunnel; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun pubKey ()Lorg/ton/api/pub/PublicKey; + public final fun to ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlAddressTunnel$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlAddressTunnel; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlAddressTunnel;)V +} + +public final class org/ton/api/adnl/AdnlAddressUdp : org/ton/api/adnl/AdnlAddress, org/ton/api/adnl/AdnlIp { + public static final field Companion Lorg/ton/api/adnl/AdnlAddressUdp$Companion; + public fun (II)V + public final fun component1 ()I + public final fun component2 ()I + public final fun copy (II)Lorg/ton/api/adnl/AdnlAddressUdp; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlAddressUdp;IIILjava/lang/Object;)Lorg/ton/api/adnl/AdnlAddressUdp; + public fun equals (Ljava/lang/Object;)Z + public fun getIp ()I + public fun getPort ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlAddressUdp$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlAddressUdp; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlAddressUdp;)V +} + +public final class org/ton/api/adnl/AdnlAddressUdp6 : org/ton/api/adnl/AdnlAddress, org/ton/api/adnl/AdnlIp6 { + public static final field Companion Lorg/ton/api/adnl/AdnlAddressUdp6$Companion; + public fun (Lorg/ton/tl/ByteString;I)V + public fun ([BI)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun copy (Lorg/ton/tl/ByteString;I)Lorg/ton/api/adnl/AdnlAddressUdp6; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlAddressUdp6;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/adnl/AdnlAddressUdp6; + public fun equals (Ljava/lang/Object;)Z + public fun getIp ()Lorg/ton/tl/ByteString; + public fun getPort ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlAddressUdp6$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlAddressUdp6; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlAddressUdp6;)V +} + +public final class org/ton/api/adnl/AdnlIdShort : java/lang/Comparable, org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/adnl/AdnlIdShort$Companion; + public static final field SIZE_BYTES I + public fun (Lorg/ton/tl/ByteString;)V + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun compareTo (Lorg/ton/api/adnl/AdnlIdShort;)I + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlIdShort; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlIdShort; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public static final fun tlConstructor ()Lorg/ton/tl/TlConstructor; + public fun toString ()Ljava/lang/String; + public final fun verify (Lorg/ton/api/overlay/OverlayNode;)Z +} + +public final class org/ton/api/adnl/AdnlIdShort$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/AdnlIdShort;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlIdShort;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/AdnlIdShort;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlIdShort;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/adnl/AdnlIdShort;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/adnl/AdnlIdShort;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/adnl/AdnlIdShort;)[B + public final fun tlConstructor ()Lorg/ton/tl/TlConstructor; +} + +public abstract interface class org/ton/api/adnl/AdnlIp : org/ton/api/adnl/AdnlAddress { + public abstract fun getIp ()I + public abstract fun getPort ()I +} + +public abstract interface class org/ton/api/adnl/AdnlIp6 : org/ton/api/adnl/AdnlAddress { + public abstract fun getIp ()Lorg/ton/tl/ByteString; + public abstract fun getPort ()I +} + +public final class org/ton/api/adnl/AdnlNode { + public static final field Companion Lorg/ton/api/adnl/AdnlNode$Companion; + public fun (Lorg/ton/api/pub/PublicKey;Ljava/util/List;)V + public fun (Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;)V + public final fun addrList ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun component1 ()Lorg/ton/api/pub/PublicKey; + public final fun component2 ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun copy (Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;)Lorg/ton/api/adnl/AdnlNode; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlNode;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlNode; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/pub/PublicKey; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlNode$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlNode; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlNode;)V +} + +public final class org/ton/api/adnl/AdnlNodes { + public static final field Companion Lorg/ton/api/adnl/AdnlNodes$Companion; + public fun ()V + public fun (Ljava/util/List;)V + public synthetic fun (Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/util/List; + public final fun copy (Ljava/util/List;)Lorg/ton/api/adnl/AdnlNodes; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlNodes;Ljava/util/List;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlNodes; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun nodes ()Ljava/util/List; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlNodes$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/adnl/AdnlNodes; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/AdnlNodes;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlNodes;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/AdnlNodes;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlNodes;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/adnl/AdnlNodes;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/adnl/AdnlNodes;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/adnl/AdnlNodes;)[B +} + +public final class org/ton/api/adnl/AdnlPacketContents : org/ton/api/SignedTlObject { + public static final field Companion Lorg/ton/api/adnl/AdnlPacketContents$Companion; + public fun (Lorg/ton/tl/ByteString;ILorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/message/AdnlMessage;Ljava/util/List;Lorg/ton/api/adnl/AdnlAddressList;Lorg/ton/api/adnl/AdnlAddressList;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public fun (Lorg/ton/tl/ByteString;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/message/AdnlMessage;Ljava/util/List;Lorg/ton/api/adnl/AdnlAddressList;Lorg/ton/api/adnl/AdnlAddressList;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public synthetic fun (Lorg/ton/tl/ByteString;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/message/AdnlMessage;Ljava/util/List;Lorg/ton/api/adnl/AdnlAddressList;Lorg/ton/api/adnl/AdnlAddressList;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun address ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun collectMessages ()Ljava/util/List; + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component10 ()Ljava/lang/Long; + public final fun component11 ()Ljava/lang/Integer; + public final fun component12 ()Ljava/lang/Integer; + public final fun component13 ()Ljava/lang/Integer; + public final fun component14 ()Ljava/lang/Integer; + public final fun component15 ()Lorg/ton/tl/ByteString; + public final fun component16 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun component3 ()Lorg/ton/api/pub/PublicKey; + public final fun component4 ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun component5 ()Lorg/ton/api/adnl/message/AdnlMessage; + public final fun component6 ()Ljava/util/List; + public final fun component7 ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun component8 ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun component9 ()Ljava/lang/Long; + public final fun confirmSeqno ()Ljava/lang/Long; + public final fun copy (Lorg/ton/tl/ByteString;ILorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/message/AdnlMessage;Ljava/util/List;Lorg/ton/api/adnl/AdnlAddressList;Lorg/ton/api/adnl/AdnlAddressList;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlPacketContents; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlPacketContents;Lorg/ton/tl/ByteString;ILorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/api/adnl/message/AdnlMessage;Ljava/util/List;Lorg/ton/api/adnl/AdnlAddressList;Lorg/ton/api/adnl/AdnlAddressList;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlPacketContents; + public final fun dstReinitDate ()Ljava/lang/Integer; + public fun equals (Ljava/lang/Object;)Z + public final fun flags ()I + public final fun from ()Lorg/ton/api/pub/PublicKey; + public final fun fromShort ()Lorg/ton/api/adnl/AdnlIdShort; + public synthetic fun getSignature ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public final fun message ()Lorg/ton/api/adnl/message/AdnlMessage; + public final fun messages ()Ljava/util/List; + public final fun priorityAddress ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun rand1 ()Lorg/ton/tl/ByteString; + public final fun rand2 ()Lorg/ton/tl/ByteString; + public final fun recvAddrListVersion ()Ljava/lang/Integer; + public final fun recvPriorityAddrListVersion ()Ljava/lang/Integer; + public final fun reinitDate ()Ljava/lang/Integer; + public final fun seqno ()Ljava/lang/Long; + public fun signature ()Lorg/ton/tl/ByteString; + public fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/tl/TlObject; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public fun verify (Lorg/ton/api/pub/PublicKey;)Z +} + +public final class org/ton/api/adnl/AdnlPacketContents$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/adnl/AdnlPacketContents; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/AdnlPacketContents;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlPacketContents;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/AdnlPacketContents;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlPacketContents;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/adnl/AdnlPacketContents;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/adnl/AdnlPacketContents;Z)Lorg/ton/tl/ByteString; + public final fun flags (ZZZZZZZZZZZZ)I + public static synthetic fun flags$default (Lorg/ton/api/adnl/AdnlPacketContents$Companion;ZZZZZZZZZZZZILjava/lang/Object;)I + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/adnl/AdnlPacketContents;)[B +} + +public final class org/ton/api/adnl/AdnlPing { + public static final field Companion Lorg/ton/api/adnl/AdnlPing$Companion; + public fun (J)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/api/adnl/AdnlPing; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlPing;JILjava/lang/Object;)Lorg/ton/api/adnl/AdnlPing; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public final fun value ()J +} + +public final class org/ton/api/adnl/AdnlPing$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlPing; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlPing;)V +} + +public final class org/ton/api/adnl/AdnlPong { + public static final field Companion Lorg/ton/api/adnl/AdnlPong$Companion; + public fun (J)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/api/adnl/AdnlPong; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlPong;JILjava/lang/Object;)Lorg/ton/api/adnl/AdnlPong; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public final fun value ()J +} + +public final class org/ton/api/adnl/AdnlPong$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlPong; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlPong;)V +} + +public abstract interface class org/ton/api/adnl/AdnlProxy { + public static final field Companion Lorg/ton/api/adnl/AdnlProxy$Companion; + public abstract fun getId ()Lorg/ton/tl/ByteString; +} + +public final class org/ton/api/adnl/AdnlProxy$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/adnl/AdnlProxyFast : org/ton/api/adnl/AdnlProxy { + public static final field Companion Lorg/ton/api/adnl/AdnlProxyFast$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlProxyFast; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlProxyFast;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlProxyFast; + public fun equals (Ljava/lang/Object;)Z + public synthetic fun getId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun id ()Lorg/ton/tl/ByteString; + public final fun sharedSecret ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlProxyFast$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlProxyFast; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlProxyFast;)V +} + +public final class org/ton/api/adnl/AdnlProxyNone : org/ton/api/adnl/AdnlProxy { + public static final field Companion Lorg/ton/api/adnl/AdnlProxyNone$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlProxyNone; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlProxyNone;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlProxyNone; + public fun equals (Ljava/lang/Object;)Z + public synthetic fun getId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun id ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlProxyNone$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlProxyNone; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlProxyNone;)V +} + +public final class org/ton/api/adnl/AdnlProxyTo { + public static final field Companion Lorg/ton/api/adnl/AdnlProxyTo$Companion; + public fun (IIILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public fun (III[B[B)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun copy (IIILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlProxyTo; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlProxyTo;IIILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlProxyTo; + public final fun date ()I + public final fun dateHash ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun ip ()I + public final fun port ()I + public final fun sharedSecret ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlProxyTo$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlProxyTo; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlProxyTo;)V +} + +public final class org/ton/api/adnl/AdnlProxyToSign { + public static final field Companion Lorg/ton/api/adnl/AdnlProxyToSign$Companion; + public fun (IIILorg/ton/tl/ByteString;)V + public fun (III[B)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (IIILorg/ton/tl/ByteString;)Lorg/ton/api/adnl/AdnlProxyToSign; + public static synthetic fun copy$default (Lorg/ton/api/adnl/AdnlProxyToSign;IIILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/AdnlProxyToSign; + public final fun date ()I + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun ip ()I + public final fun port ()I + public final fun signature ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/AdnlProxyToSign$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/AdnlProxyToSign; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/AdnlProxyToSign;)V +} + +public final class org/ton/api/adnl/config/AdnlConfigGlobal { + public static final field Companion Lorg/ton/api/adnl/config/AdnlConfigGlobal$Companion; + public fun ()V + public fun (Lorg/ton/api/adnl/AdnlNodes;)V + public synthetic fun (Lorg/ton/api/adnl/AdnlNodes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/api/adnl/AdnlNodes; + public final fun copy (Lorg/ton/api/adnl/AdnlNodes;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public static synthetic fun copy$default (Lorg/ton/api/adnl/config/AdnlConfigGlobal;Lorg/ton/api/adnl/AdnlNodes;ILjava/lang/Object;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun staticNodes ()Lorg/ton/api/adnl/AdnlNodes; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/config/AdnlConfigGlobal$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/config/AdnlConfigGlobal;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/config/AdnlConfigGlobal;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/config/AdnlConfigGlobal;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/config/AdnlConfigGlobal;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/adnl/config/AdnlConfigGlobal;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/adnl/config/AdnlConfigGlobal;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/adnl/config/AdnlConfigGlobal;)[B +} + +public abstract interface class org/ton/api/adnl/message/AdnlMessage : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessage$Companion; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/api/adnl/message/AdnlMessage$Companion : org/ton/tl/TlCombinator { + public final fun sizeOf (Lorg/ton/api/adnl/message/AdnlMessage;)I +} + +public final class org/ton/api/adnl/message/AdnlMessageAnswer : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessageAnswer$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public fun ([B[B)V + public final fun answer ()Lorg/ton/tl/ByteString; + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/message/AdnlMessageAnswer; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessageAnswer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessageAnswer; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun queryId ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/message/AdnlMessageAnswer$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageAnswer; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageAnswer;)V + public final fun sizeOf (Lorg/ton/api/adnl/message/AdnlMessageAnswer;)I +} + +public final class org/ton/api/adnl/message/AdnlMessageConfirmChannel : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel$Companion; + public static final field SIZE_BYTES I + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;I)V + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;Lkotlinx/datetime/Instant;)V + public fun ([B[BI)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()I + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;I)Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel; + public final fun date ()I + public final fun date ()Lkotlinx/datetime/Instant; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun key ()Lorg/ton/tl/ByteString; + public final fun peerKey ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/message/AdnlMessageConfirmChannel$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageConfirmChannel;)V +} + +public final class org/ton/api/adnl/message/AdnlMessageCreateChannel : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessageCreateChannel$Companion; + public static final field SIZE_BYTES I + public fun (Lorg/ton/tl/ByteString;I)V + public fun ([BLkotlinx/datetime/Instant;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun copy (Lorg/ton/tl/ByteString;I)Lorg/ton/api/adnl/message/AdnlMessageCreateChannel; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessageCreateChannel;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessageCreateChannel; + public final fun date ()I + public final fun date ()Lkotlinx/datetime/Instant; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun key ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/message/AdnlMessageCreateChannel$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageCreateChannel; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageCreateChannel;)V +} + +public final class org/ton/api/adnl/message/AdnlMessageCustom : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessageCustom$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/message/AdnlMessageCustom; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessageCustom;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessageCustom; + public final fun data ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/message/AdnlMessageCustom$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageCustom; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageCustom;)V + public final fun sizeOf (Lorg/ton/api/adnl/message/AdnlMessageCustom;)I +} + +public final class org/ton/api/adnl/message/AdnlMessageNop : org/ton/tl/TlConstructor, org/ton/api/adnl/message/AdnlMessage { + public static final field INSTANCE Lorg/ton/api/adnl/message/AdnlMessageNop; + public static final field SIZE_BYTES I + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageNop; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageNop;)V +} + +public final class org/ton/api/adnl/message/AdnlMessagePart : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessagePart$Companion; + public fun (Lorg/ton/tl/ByteString;IILorg/ton/tl/ByteString;)V + public fun ([BII[B)V + public static final fun build (Lorg/ton/api/adnl/message/AdnlMessage;I)Ljava/util/List; + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;IILorg/ton/tl/ByteString;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessagePart;Lorg/ton/tl/ByteString;IILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public final fun data ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public final fun hash ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public final fun offset ()I + public static final fun sizeOf (Lorg/ton/api/adnl/message/AdnlMessagePart;)I + public static final fun tlConstructor ()Lorg/ton/tl/TlConstructor; + public fun toString ()Ljava/lang/String; + public final fun totalSize ()I +} + +public final class org/ton/api/adnl/message/AdnlMessagePart$Companion : org/ton/tl/TlCodec { + public final fun build (Lorg/ton/api/adnl/message/AdnlMessage;I)Ljava/util/List; + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/adnl/message/AdnlMessagePart; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/message/AdnlMessagePart;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessagePart;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/adnl/message/AdnlMessagePart;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessagePart;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/adnl/message/AdnlMessagePart;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/adnl/message/AdnlMessagePart;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/adnl/message/AdnlMessagePart;)[B + public final fun sizeOf (Lorg/ton/api/adnl/message/AdnlMessagePart;)I + public final fun tlConstructor ()Lorg/ton/tl/TlConstructor; +} + +public final class org/ton/api/adnl/message/AdnlMessageQuery : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessageQuery$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/adnl/message/AdnlMessageQuery; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessageQuery;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessageQuery; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun query ()Lorg/ton/tl/ByteString; + public final fun queryId ()Lorg/ton/tl/ByteString; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/message/AdnlMessageQuery$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageQuery; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageQuery;)V + public final fun sizeOf (Lorg/ton/api/adnl/message/AdnlMessageQuery;)I +} + +public final class org/ton/api/adnl/message/AdnlMessageReinit : org/ton/api/adnl/message/AdnlMessage { + public static final field Companion Lorg/ton/api/adnl/message/AdnlMessageReinit$Companion; + public static final field SIZE_BYTES I + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/api/adnl/message/AdnlMessageReinit; + public static synthetic fun copy$default (Lorg/ton/api/adnl/message/AdnlMessageReinit;IILjava/lang/Object;)Lorg/ton/api/adnl/message/AdnlMessageReinit; + public final fun date ()I + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/adnl/message/AdnlMessageReinit$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/adnl/message/AdnlMessageReinit; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/adnl/message/AdnlMessageReinit;)V +} + +public final class org/ton/api/config/ConfigGlobal : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/config/ConfigGlobal$Companion; + public fun (Lorg/ton/api/adnl/config/AdnlConfigGlobal;Lorg/ton/api/dht/config/DhtConfigGlobal;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)V + public synthetic fun (Lorg/ton/api/adnl/config/AdnlConfigGlobal;Lorg/ton/api/dht/config/DhtConfigGlobal;Lorg/ton/api/validator/config/ValidatorConfigGlobal;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun adnl ()Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public final fun component1 ()Lorg/ton/api/adnl/config/AdnlConfigGlobal; + public final fun component2 ()Lorg/ton/api/dht/config/DhtConfigGlobal; + public final fun component3 ()Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public final fun copy (Lorg/ton/api/adnl/config/AdnlConfigGlobal;Lorg/ton/api/dht/config/DhtConfigGlobal;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)Lorg/ton/api/config/ConfigGlobal; + public static synthetic fun copy$default (Lorg/ton/api/config/ConfigGlobal;Lorg/ton/api/adnl/config/AdnlConfigGlobal;Lorg/ton/api/dht/config/DhtConfigGlobal;Lorg/ton/api/validator/config/ValidatorConfigGlobal;ILjava/lang/Object;)Lorg/ton/api/config/ConfigGlobal; + public final fun dht ()Lorg/ton/api/dht/config/DhtConfigGlobal; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public final fun validator ()Lorg/ton/api/validator/config/ValidatorConfigGlobal; +} + +public final class org/ton/api/config/ConfigGlobal$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/config/ConfigGlobal; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/config/ConfigGlobal;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/config/ConfigGlobal;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/config/ConfigGlobal;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/config/ConfigGlobal;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/config/ConfigGlobal;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/config/ConfigGlobal;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/config/ConfigGlobal;)[B +} + +public final class org/ton/api/config/ConfigLocal { + public fun (Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;)V + public final fun component1 ()Ljava/util/Collection; + public final fun component2 ()Ljava/util/Collection; + public final fun component3 ()Ljava/util/Collection; + public final fun component4 ()Ljava/util/Collection; + public final fun component5 ()Ljava/util/Collection; + public final fun copy (Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;)Lorg/ton/api/config/ConfigLocal; + public static synthetic fun copy$default (Lorg/ton/api/config/ConfigLocal;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;ILjava/lang/Object;)Lorg/ton/api/config/ConfigLocal; + public fun equals (Ljava/lang/Object;)Z + public final fun getControl ()Ljava/util/Collection; + public final fun getDht ()Ljava/util/Collection; + public final fun getLiteServers ()Ljava/util/Collection; + public final fun getLocalIds ()Ljava/util/Collection; + public final fun getValidators ()Ljava/util/Collection; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/control/ControlConfigLocal { + public fun (Lorg/ton/api/pk/PrivateKey;Lorg/ton/tl/ByteString;I)V + public final fun component1 ()Lorg/ton/api/pk/PrivateKey; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()I + public final fun copy (Lorg/ton/api/pk/PrivateKey;Lorg/ton/tl/ByteString;I)Lorg/ton/api/control/ControlConfigLocal; + public static synthetic fun copy$default (Lorg/ton/api/control/ControlConfigLocal;Lorg/ton/api/pk/PrivateKey;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/control/ControlConfigLocal; + public fun equals (Ljava/lang/Object;)Z + public final fun getPort ()I + public final fun getPriv ()Lorg/ton/api/pk/PrivateKey; + public final fun getPub ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/DhtKey : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/DhtKey$Companion; + public fun (Lorg/ton/api/adnl/AdnlIdShort;Ljava/lang/String;)V + public fun (Lorg/ton/api/adnl/AdnlIdShort;Ljava/lang/String;I)V + public synthetic fun (Lorg/ton/api/adnl/AdnlIdShort;Ljava/lang/String;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Lorg/ton/tl/ByteString;Ljava/lang/String;)V + public fun (Lorg/ton/tl/ByteString;Ljava/lang/String;I)V + public synthetic fun (Lorg/ton/tl/ByteString;Ljava/lang/String;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun ([BLjava/lang/String;)V + public fun ([BLjava/lang/String;I)V + public synthetic fun ([BLjava/lang/String;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public static final fun address (Lorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/dht/DhtKey; + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()I + public final fun copy (Lorg/ton/tl/ByteString;Ljava/lang/String;I)Lorg/ton/api/dht/DhtKey; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtKey;Lorg/ton/tl/ByteString;Ljava/lang/String;IILjava/lang/Object;)Lorg/ton/api/dht/DhtKey; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/tl/ByteString; + public final fun idx ()I + public final fun name ()Ljava/lang/String; + public static final fun nodes (Lorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/dht/DhtKey; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/DhtKey$Companion : org/ton/tl/TlConstructor { + public final fun address (Lorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/dht/DhtKey; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtKey; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtKey;)V + public final fun nodes (Lorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/dht/DhtKey; +} + +public final class org/ton/api/dht/DhtKeyDescription : org/ton/api/SignedTlObject { + public static final field Companion Lorg/ton/api/dht/DhtKeyDescription$Companion; + public fun (Lorg/ton/api/dht/DhtKey;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/dht/DhtUpdateRule;Lorg/ton/tl/ByteString;)V + public synthetic fun (Lorg/ton/api/dht/DhtKey;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/dht/DhtUpdateRule;Lorg/ton/tl/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/api/dht/DhtKey; + public final fun component2 ()Lorg/ton/api/pub/PublicKey; + public final fun component3 ()Lorg/ton/api/dht/DhtUpdateRule; + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/dht/DhtKey;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/dht/DhtUpdateRule;Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtKeyDescription; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtKeyDescription;Lorg/ton/api/dht/DhtKey;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/dht/DhtUpdateRule;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/dht/DhtKeyDescription; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Lorg/ton/api/pub/PublicKey; + public final fun getKey ()Lorg/ton/api/dht/DhtKey; + public fun getSignature ()Lorg/ton/tl/ByteString; + public final fun getUpdateRule ()Lorg/ton/api/dht/DhtUpdateRule; + public fun hashCode ()I + public static final fun signed (Ljava/lang/String;Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/dht/DhtKeyDescription; + public fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/tl/TlObject; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public fun verify (Lorg/ton/api/pub/PublicKey;)Z +} + +public final class org/ton/api/dht/DhtKeyDescription$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/DhtKeyDescription; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtKeyDescription;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtKeyDescription;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtKeyDescription;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtKeyDescription;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/DhtKeyDescription;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/DhtKeyDescription;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/DhtKeyDescription;)[B + public final fun signed (Ljava/lang/String;Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/dht/DhtKeyDescription; +} + +public final class org/ton/api/dht/DhtMessage : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/DhtMessage$Companion; + public fun (Lorg/ton/api/dht/DhtNode;)V + public final fun component1 ()Lorg/ton/api/dht/DhtNode; + public final fun copy (Lorg/ton/api/dht/DhtNode;)Lorg/ton/api/dht/DhtMessage; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtMessage;Lorg/ton/api/dht/DhtNode;ILjava/lang/Object;)Lorg/ton/api/dht/DhtMessage; + public fun equals (Ljava/lang/Object;)Z + public final fun getNode ()Lorg/ton/api/dht/DhtNode; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/DhtMessage$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtMessage; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtMessage;)V +} + +public final class org/ton/api/dht/DhtNode : org/ton/api/SignedTlObject { + public static final field Companion Lorg/ton/api/dht/DhtNode$Companion; + public fun (Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;ILorg/ton/tl/ByteString;)V + public synthetic fun (Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;ILorg/ton/tl/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun addrList ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun component1 ()Lorg/ton/api/pub/PublicKey; + public final fun component2 ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;ILorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtNode; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtNode;Lorg/ton/api/pub/PublicKey;Lorg/ton/api/adnl/AdnlAddressList;ILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/dht/DhtNode; + public fun equals (Ljava/lang/Object;)Z + public synthetic fun getSignature ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public final fun id ()Lorg/ton/api/pub/PublicKey; + public final fun key ()Lorg/ton/api/adnl/AdnlIdShort; + public fun signature ()Lorg/ton/tl/ByteString; + public fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/dht/DhtNode; + public synthetic fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/tl/TlObject; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public final fun toAdnlNode ()Lorg/ton/api/adnl/AdnlNode; + public fun toString ()Ljava/lang/String; + public fun verify (Lorg/ton/api/pub/PublicKey;)Z + public final fun version ()I +} + +public final class org/ton/api/dht/DhtNode$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtNode; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtNode; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtNode; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/DhtNode; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtNode; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtNode; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtNode; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/DhtNode; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtNode;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtNode;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtNode;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtNode;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/DhtNode;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/DhtNode;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/DhtNode;)[B +} + +public final class org/ton/api/dht/DhtNodes : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/DhtNodes$Companion; + public fun ()V + public fun (Ljava/util/List;)V + public synthetic fun (Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/util/List; + public final fun copy (Ljava/util/List;)Lorg/ton/api/dht/DhtNodes; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtNodes;Ljava/util/List;ILjava/lang/Object;)Lorg/ton/api/dht/DhtNodes; + public fun equals (Ljava/lang/Object;)Z + public final fun getNodes ()Ljava/util/List; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public final fun toAdnlNodes ()Lorg/ton/api/adnl/AdnlNodes; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/DhtNodes$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtNodes; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtNodes;)V +} + +public final class org/ton/api/dht/DhtPong : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/DhtPong$Companion; + public fun (J)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/api/dht/DhtPong; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtPong;JILjava/lang/Object;)Lorg/ton/api/dht/DhtPong; + public fun equals (Ljava/lang/Object;)Z + public final fun getRandomId ()J + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/DhtPong$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtPong; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtPong; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtPong; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/DhtPong; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtPong; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtPong; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtPong; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/DhtPong; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtPong;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtPong;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtPong;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtPong;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/DhtPong;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/DhtPong;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/DhtPong;)[B +} + +public final class org/ton/api/dht/DhtStore : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/api/dht/DhtStore$Companion; + public fun (Lorg/ton/api/dht/DhtValue;)V + public final fun component1 ()Lorg/ton/api/dht/DhtValue; + public final fun copy (Lorg/ton/api/dht/DhtValue;)Lorg/ton/api/dht/DhtStore; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtStore;Lorg/ton/api/dht/DhtValue;ILjava/lang/Object;)Lorg/ton/api/dht/DhtStore; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()Lorg/ton/api/dht/DhtValue; + public fun hashCode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/DhtStore$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtStore; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtStore; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtStore; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/DhtStore; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtStore; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtStore; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtStore; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/DhtStore; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtStore;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtStore;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtStore;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtStore;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/DhtStore;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/DhtStore;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/DhtStore;)[B +} + +public final class org/ton/api/dht/DhtStored : org/ton/tl/TlConstructor, org/ton/tl/TlObject { + public static final field INSTANCE Lorg/ton/api/dht/DhtStored; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtStored; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtStored;)V + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/api/dht/DhtUpdateRule : java/lang/Enum, org/ton/tl/TlObject { + public static final field ANYBODY Lorg/ton/api/dht/DhtUpdateRule; + public static final field Companion Lorg/ton/api/dht/DhtUpdateRule$Companion; + public static final field OVERLAY_NODES Lorg/ton/api/dht/DhtUpdateRule; + public static final field SIGNATURE Lorg/ton/api/dht/DhtUpdateRule; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public static fun valueOf (Ljava/lang/String;)Lorg/ton/api/dht/DhtUpdateRule; + public static fun values ()[Lorg/ton/api/dht/DhtUpdateRule; +} + +public final class org/ton/api/dht/DhtUpdateRule$Companion : org/ton/tl/constructors/EnumTlCombinator { +} + +public final class org/ton/api/dht/DhtValue : org/ton/api/SignedTlObject { + public static final field Companion Lorg/ton/api/dht/DhtValue$Companion; + public fun (Lorg/ton/api/dht/DhtKeyDescription;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;)V + public synthetic fun (Lorg/ton/api/dht/DhtKeyDescription;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/api/dht/DhtKeyDescription; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/dht/DhtKeyDescription;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtValue; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtValue;Lorg/ton/api/dht/DhtKeyDescription;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/dht/DhtValue; + public fun equals (Ljava/lang/Object;)Z + public fun getSignature ()Lorg/ton/tl/ByteString; + public final fun getTtl ()I + public final fun getValue ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public final fun key ()Lorg/ton/api/dht/DhtKeyDescription; + public fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/dht/DhtValue; + public synthetic fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/tl/TlObject; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public fun verify (Lorg/ton/api/pub/PublicKey;)Z +} + +public final class org/ton/api/dht/DhtValue$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtValue; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtValue; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtValue; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/DhtValue; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/DhtValue; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/DhtValue; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtValue; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/DhtValue; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtValue;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtValue;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/DhtValue;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtValue;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/DhtValue;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/DhtValue;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/DhtValue;)[B +} + +public final class org/ton/api/dht/DhtValueFound : org/ton/api/dht/DhtValueResult { + public static final field Companion Lorg/ton/api/dht/DhtValueFound$Companion; + public fun (Lorg/ton/api/dht/DhtValue;)V + public final fun component1 ()Lorg/ton/api/dht/DhtValue; + public final fun copy (Lorg/ton/api/dht/DhtValue;)Lorg/ton/api/dht/DhtValueFound; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtValueFound;Lorg/ton/api/dht/DhtValue;ILjava/lang/Object;)Lorg/ton/api/dht/DhtValueFound; + public fun equals (Ljava/lang/Object;)Z + public final fun getValue ()Lorg/ton/api/dht/DhtValue; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public fun valueOrNull ()Lorg/ton/api/dht/DhtValue; +} + +public final class org/ton/api/dht/DhtValueFound$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtValueFound; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtValueFound;)V +} + +public final class org/ton/api/dht/DhtValueNotFound : org/ton/api/dht/DhtValueResult { + public static final field Companion Lorg/ton/api/dht/DhtValueNotFound$Companion; + public fun (Lorg/ton/api/dht/DhtNodes;)V + public final fun component1 ()Lorg/ton/api/dht/DhtNodes; + public final fun copy (Lorg/ton/api/dht/DhtNodes;)Lorg/ton/api/dht/DhtValueNotFound; + public static synthetic fun copy$default (Lorg/ton/api/dht/DhtValueNotFound;Lorg/ton/api/dht/DhtNodes;ILjava/lang/Object;)Lorg/ton/api/dht/DhtValueNotFound; + public fun equals (Ljava/lang/Object;)Z + public final fun getNodes ()Lorg/ton/api/dht/DhtNodes; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public fun valueOrNull ()Lorg/ton/api/dht/DhtValue; +} + +public final class org/ton/api/dht/DhtValueNotFound$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/DhtValueNotFound; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/DhtValueNotFound;)V +} + +public abstract interface class org/ton/api/dht/DhtValueResult : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/DhtValueResult$Companion; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public abstract fun valueOrNull ()Lorg/ton/api/dht/DhtValue; +} + +public final class org/ton/api/dht/DhtValueResult$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/dht/config/DhtConfigGlobal : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/config/DhtConfigGlobal$Companion; + public fun ()V + public fun (Ljava/util/List;II)V + public fun (Lorg/ton/api/dht/DhtNodes;II)V + public synthetic fun (Lorg/ton/api/dht/DhtNodes;IIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun a ()I + public final fun component1 ()Lorg/ton/api/dht/DhtNodes; + public final fun component2 ()I + public final fun component3 ()I + public final fun copy (Lorg/ton/api/dht/DhtNodes;II)Lorg/ton/api/dht/config/DhtConfigGlobal; + public static synthetic fun copy$default (Lorg/ton/api/dht/config/DhtConfigGlobal;Lorg/ton/api/dht/DhtNodes;IIILjava/lang/Object;)Lorg/ton/api/dht/config/DhtConfigGlobal; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun k ()I + public final fun staticNodes ()Lorg/ton/api/dht/DhtNodes; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/config/DhtConfigGlobal$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/config/DhtConfigGlobal; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/config/DhtConfigGlobal;)V +} + +public final class org/ton/api/dht/config/DhtConfigIdLocal : org/ton/api/dht/config/DhtConfigLocal { + public static final field Companion Lorg/ton/api/dht/config/DhtConfigIdLocal$Companion; + public fun (Lorg/ton/api/adnl/AdnlIdShort;)V + public final fun component1 ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun copy (Lorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/dht/config/DhtConfigIdLocal; + public static synthetic fun copy$default (Lorg/ton/api/dht/config/DhtConfigIdLocal;Lorg/ton/api/adnl/AdnlIdShort;ILjava/lang/Object;)Lorg/ton/api/dht/config/DhtConfigIdLocal; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/adnl/AdnlIdShort; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/config/DhtConfigIdLocal$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/config/DhtConfigIdLocal; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/config/DhtConfigIdLocal;)V +} + +public abstract interface class org/ton/api/dht/config/DhtConfigLocal : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/config/DhtConfigLocal$Companion; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/api/dht/config/DhtConfigLocal$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/dht/config/DhtConfigRandomLocal : org/ton/api/dht/config/DhtConfigLocal { + public static final field Companion Lorg/ton/api/dht/config/DhtConfigRandomLocal$Companion; + public fun (I)V + public final fun cnt ()I +} + +public final class org/ton/api/dht/config/DhtConfigRandomLocal$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/config/DhtConfigRandomLocal; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/config/DhtConfigRandomLocal;)V +} + +public final class org/ton/api/dht/db/DhtDbBucket : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/db/DhtDbBucket$Companion; + public fun (Ljava/util/List;)V + public fun (Lorg/ton/api/dht/DhtNodes;)V + public final fun component1 ()Lorg/ton/api/dht/DhtNodes; + public final fun copy (Lorg/ton/api/dht/DhtNodes;)Lorg/ton/api/dht/db/DhtDbBucket; + public static synthetic fun copy$default (Lorg/ton/api/dht/db/DhtDbBucket;Lorg/ton/api/dht/DhtNodes;ILjava/lang/Object;)Lorg/ton/api/dht/db/DhtDbBucket; + public fun equals (Ljava/lang/Object;)Z + public final fun getNodes ()Lorg/ton/api/dht/DhtNodes; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/db/DhtDbBucket$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/db/DhtDbBucket; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/db/DhtDbBucket;)V +} + +public final class org/ton/api/dht/db/DhtDbKey : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/dht/db/DhtDbKey$Companion; + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/api/dht/db/DhtDbKey; + public static synthetic fun copy$default (Lorg/ton/api/dht/db/DhtDbKey;IILjava/lang/Object;)Lorg/ton/api/dht/db/DhtDbKey; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()I + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/db/DhtDbKey$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/db/DhtDbKey; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/db/DhtDbKey;)V +} + +public final class org/ton/api/dht/functions/DhtFindValue : org/ton/tl/TLFunction { + public fun (Lorg/ton/api/dht/DhtKey;I)V + public fun (Lorg/ton/tl/ByteString;I)V + public fun ([BI)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun copy (Lorg/ton/tl/ByteString;I)Lorg/ton/api/dht/functions/DhtFindValue; + public static synthetic fun copy$default (Lorg/ton/api/dht/functions/DhtFindValue;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/dht/functions/DhtFindValue; + public fun equals (Ljava/lang/Object;)Z + public final fun getK ()I + public final fun getKey ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/functions/DhtPing : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/api/dht/functions/DhtPing$Companion; + public fun (J)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/api/dht/functions/DhtPing; + public static synthetic fun copy$default (Lorg/ton/api/dht/functions/DhtPing;JILjava/lang/Object;)Lorg/ton/api/dht/functions/DhtPing; + public fun equals (Ljava/lang/Object;)Z + public final fun getRandomId ()J + public fun hashCode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/functions/DhtPing$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/functions/DhtPing; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/functions/DhtPing;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/functions/DhtPing;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/functions/DhtPing;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/functions/DhtPing;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/functions/DhtPing;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/functions/DhtPing;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/functions/DhtPing;)[B +} + +public final class org/ton/api/dht/functions/DhtQuery { + public static final field Companion Lorg/ton/api/dht/functions/DhtQuery$Companion; + public fun (Lorg/ton/api/dht/DhtNode;)V + public final fun component1 ()Lorg/ton/api/dht/DhtNode; + public final fun copy (Lorg/ton/api/dht/DhtNode;)Lorg/ton/api/dht/functions/DhtQuery; + public static synthetic fun copy$default (Lorg/ton/api/dht/functions/DhtQuery;Lorg/ton/api/dht/DhtNode;ILjava/lang/Object;)Lorg/ton/api/dht/functions/DhtQuery; + public fun equals (Ljava/lang/Object;)Z + public final fun getNode ()Lorg/ton/api/dht/DhtNode; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/dht/functions/DhtQuery$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/dht/functions/DhtQuery; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/functions/DhtQuery;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/functions/DhtQuery;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/dht/functions/DhtQuery;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/dht/functions/DhtQuery;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/dht/functions/DhtQuery;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/dht/functions/DhtQuery;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/dht/functions/DhtQuery;)[B +} + +public abstract interface class org/ton/api/dht/functions/DhtQueryFunction { + public abstract fun query (Lorg/ton/api/dht/DhtNode;)V +} + +public final class org/ton/api/exception/ExceptionsKt { + public static final fun TonException (ILjava/lang/String;Ljava/lang/Throwable;)Lorg/ton/api/exception/TonException; + public static synthetic fun TonException$default (ILjava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)Lorg/ton/api/exception/TonException; +} + +public class org/ton/api/exception/TonCancelledException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonCancelledException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonCancelledException$Companion { +} + +public class org/ton/api/exception/TonErrorException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonErrorException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonErrorException$Companion { +} + +public abstract class org/ton/api/exception/TonException : java/lang/RuntimeException { + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public abstract fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public class org/ton/api/exception/TonFailureException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonFailureException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonFailureException$Companion { +} + +public class org/ton/api/exception/TonNotReadyException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonNotReadyException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonNotReadyException$Companion { +} + +public class org/ton/api/exception/TonProtoviolationException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonProtoviolationException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonProtoviolationException$Companion { +} + +public class org/ton/api/exception/TonTimeoutException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonTimeoutException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonTimeoutException$Companion { +} + +public class org/ton/api/exception/TonWarningException : org/ton/api/exception/TonException { + public static final field CODE I + public static final field Companion Lorg/ton/api/exception/TonWarningException$Companion; + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun getCause ()Ljava/lang/Throwable; + public fun getCode ()I + public fun getMessage ()Ljava/lang/String; +} + +public final class org/ton/api/exception/TonWarningException$Companion { +} + +public final class org/ton/api/exception/TvmException : java/lang/RuntimeException { + public fun (ILjava/lang/String;Ljava/lang/Throwable;)V + public synthetic fun (ILjava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getCode ()I +} + +public final class org/ton/api/fec/FecRaptorQ : org/ton/api/fec/FecType { + public static final field Companion Lorg/ton/api/fec/FecRaptorQ$Companion; + public fun (III)V + public final fun component1 ()I + public final fun component2 ()I + public final fun component3 ()I + public final fun copy (III)Lorg/ton/api/fec/FecRaptorQ; + public static synthetic fun copy$default (Lorg/ton/api/fec/FecRaptorQ;IIIILjava/lang/Object;)Lorg/ton/api/fec/FecRaptorQ; + public fun equals (Ljava/lang/Object;)Z + public fun getDataSize ()I + public fun getSymbolCount ()I + public fun getSymbolSize ()I + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/fec/FecRaptorQ$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/fec/FecRaptorQ; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/fec/FecRaptorQ;)V +} + +public abstract interface class org/ton/api/fec/FecType : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/fec/FecType$Companion; + public abstract fun getDataSize ()I + public abstract fun getSymbolCount ()I + public abstract fun getSymbolSize ()I +} + +public final class org/ton/api/fec/FecType$Companion : org/ton/tl/TlCombinator { + public final fun check (Lorg/ton/api/fec/FecType;)V +} + +public final class org/ton/api/http/HttpHeader { + public static final field Companion Lorg/ton/api/http/HttpHeader$Companion; + public fun (Ljava/lang/String;Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;)Lorg/ton/api/http/HttpHeader; + public static synthetic fun copy$default (Lorg/ton/api/http/HttpHeader;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lorg/ton/api/http/HttpHeader; + public fun equals (Ljava/lang/Object;)Z + public final fun getName ()Ljava/lang/String; + public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/HttpHeader$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/HttpHeader; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/HttpHeader; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/HttpHeader; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/http/HttpHeader; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/HttpHeader; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/HttpHeader; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/HttpHeader; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/http/HttpHeader; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/HttpHeader;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/HttpHeader;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/HttpHeader;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/HttpHeader;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/http/HttpHeader;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/http/HttpHeader;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/http/HttpHeader;)[B +} + +public final class org/ton/api/http/HttpHeaderKt { + public static final fun get (Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String; + public static final fun getAll (Ljava/lang/Iterable;Ljava/lang/String;)Lkotlin/sequences/Sequence; +} + +public final class org/ton/api/http/HttpPayloadPart : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/http/HttpPayloadPart$Companion; + public fun ([BLjava/util/Collection;Z)V + public final fun component1 ()[B + public final fun component2 ()Ljava/util/Collection; + public final fun component3 ()Z + public final fun copy ([BLjava/util/Collection;Z)Lorg/ton/api/http/HttpPayloadPart; + public static synthetic fun copy$default (Lorg/ton/api/http/HttpPayloadPart;[BLjava/util/Collection;ZILjava/lang/Object;)Lorg/ton/api/http/HttpPayloadPart; + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()[B + public final fun getLast ()Z + public final fun getTrailer ()Ljava/util/Collection; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/HttpPayloadPart$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/http/HttpPayloadPart; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/HttpPayloadPart;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/HttpPayloadPart;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/HttpPayloadPart;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/HttpPayloadPart;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/http/HttpPayloadPart;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/http/HttpPayloadPart;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/http/HttpPayloadPart;)[B +} + +public final class org/ton/api/http/HttpResponse : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/http/HttpResponse$Companion; + public fun (Ljava/lang/String;ILjava/lang/String;Ljava/util/Collection;Z)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()I + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/util/Collection; + public final fun component5 ()Z + public final fun copy (Ljava/lang/String;ILjava/lang/String;Ljava/util/Collection;Z)Lorg/ton/api/http/HttpResponse; + public static synthetic fun copy$default (Lorg/ton/api/http/HttpResponse;Ljava/lang/String;ILjava/lang/String;Ljava/util/Collection;ZILjava/lang/Object;)Lorg/ton/api/http/HttpResponse; + public fun equals (Ljava/lang/Object;)Z + public final fun getHeaders ()Ljava/util/Collection; + public final fun getHttpVersion ()Ljava/lang/String; + public final fun getNoPayload ()Z + public final fun getReason ()Ljava/lang/String; + public final fun getStatusCode ()I + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/HttpResponse$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/HttpResponse; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/HttpResponse; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/HttpResponse; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/http/HttpResponse; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/HttpResponse; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/HttpResponse; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/HttpResponse; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/http/HttpResponse; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/HttpResponse;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/HttpResponse;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/HttpResponse;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/HttpResponse;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/http/HttpResponse;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/http/HttpResponse;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/http/HttpResponse;)[B +} + +public final class org/ton/api/http/functions/HttpGetNextPayloadPart : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/api/http/functions/HttpGetNextPayloadPart$Companion; + public fun (Lorg/ton/tl/ByteString;II)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun component3 ()I + public final fun copy (Lorg/ton/tl/ByteString;II)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public static synthetic fun copy$default (Lorg/ton/api/http/functions/HttpGetNextPayloadPart;Lorg/ton/tl/ByteString;IIILjava/lang/Object;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Lorg/ton/tl/ByteString; + public final fun getMaxChunkSize ()I + public final fun getSeqno ()I + public fun hashCode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/functions/HttpGetNextPayloadPart$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/http/functions/HttpGetNextPayloadPart; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/functions/HttpGetNextPayloadPart;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/functions/HttpGetNextPayloadPart;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/functions/HttpGetNextPayloadPart;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/functions/HttpGetNextPayloadPart;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/http/functions/HttpGetNextPayloadPart;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/http/functions/HttpGetNextPayloadPart;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/http/functions/HttpGetNextPayloadPart;)[B +} + +public final class org/ton/api/http/functions/HttpRequest : org/ton/tl/TLFunction { + public static final field Companion Lorg/ton/api/http/functions/HttpRequest$Companion; + public fun (Lorg/ton/tl/ByteString;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/util/Collection; + public final fun copy (Lorg/ton/tl/ByteString;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)Lorg/ton/api/http/functions/HttpRequest; + public static synthetic fun copy$default (Lorg/ton/api/http/functions/HttpRequest;Lorg/ton/tl/ByteString;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;ILjava/lang/Object;)Lorg/ton/api/http/functions/HttpRequest; + public fun equals (Ljava/lang/Object;)Z + public final fun getHeaders ()Ljava/util/Collection; + public final fun getHttp_version ()Ljava/lang/String; + public final fun getId ()Lorg/ton/tl/ByteString; + public final fun getMethod ()Ljava/lang/String; + public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I + public fun resultTlCodec ()Lorg/ton/tl/TlCodec; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/functions/HttpRequest$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/functions/HttpRequest; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/functions/HttpRequest;)V +} + +public final class org/ton/api/http/server/HttpServerDnsEntry { + public static final field Companion Lorg/ton/api/http/server/HttpServerDnsEntry$Companion; + public fun (Ljava/lang/String;Lorg/ton/api/adnl/AdnlIdShort;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun copy (Ljava/lang/String;Lorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public static synthetic fun copy$default (Lorg/ton/api/http/server/HttpServerDnsEntry;Ljava/lang/String;Lorg/ton/api/adnl/AdnlIdShort;ILjava/lang/Object;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddr ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun getDomain ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/server/HttpServerDnsEntry$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/http/server/HttpServerDnsEntry; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/server/HttpServerDnsEntry;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/server/HttpServerDnsEntry;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/server/HttpServerDnsEntry;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/server/HttpServerDnsEntry;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/http/server/HttpServerDnsEntry;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/http/server/HttpServerDnsEntry;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/http/server/HttpServerDnsEntry;)[B +} + +public final class org/ton/api/http/server/HttpServerHost { + public static final field Companion Lorg/ton/api/http/server/HttpServerHost$Companion; + public fun (Ljava/util/Collection;IILorg/ton/api/adnl/AdnlIdShort;)V + public final fun component1 ()Ljava/util/Collection; + public final fun component2 ()I + public final fun component3 ()I + public final fun component4 ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun copy (Ljava/util/Collection;IILorg/ton/api/adnl/AdnlIdShort;)Lorg/ton/api/http/server/HttpServerHost; + public static synthetic fun copy$default (Lorg/ton/api/http/server/HttpServerHost;Ljava/util/Collection;IILorg/ton/api/adnl/AdnlIdShort;ILjava/lang/Object;)Lorg/ton/api/http/server/HttpServerHost; + public fun equals (Ljava/lang/Object;)Z + public final fun getAdnlId ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun getDomains ()Ljava/util/Collection; + public final fun getIp ()I + public final fun getPort ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/http/server/HttpServerHost$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/http/server/HttpServerHost; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/server/HttpServerHost;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/server/HttpServerHost;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/http/server/HttpServerHost;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/http/server/HttpServerHost;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/http/server/HttpServerHost;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/http/server/HttpServerHost;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/http/server/HttpServerHost;)[B +} + +public final class org/ton/api/id/config/IdConfigLocal { + public fun (Lorg/ton/api/pk/PrivateKey;)V + public final fun component1 ()Lorg/ton/api/pk/PrivateKey; + public final fun copy (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/id/config/IdConfigLocal; + public static synthetic fun copy$default (Lorg/ton/api/id/config/IdConfigLocal;Lorg/ton/api/pk/PrivateKey;ILjava/lang/Object;)Lorg/ton/api/id/config/IdConfigLocal; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Lorg/ton/api/pk/PrivateKey; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/liteclient/config/LiteClientConfigGlobal { + public fun (Lorg/ton/api/dht/config/DhtConfigGlobal;Ljava/util/Collection;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)V + public synthetic fun (Lorg/ton/api/dht/config/DhtConfigGlobal;Ljava/util/Collection;Lorg/ton/api/validator/config/ValidatorConfigGlobal;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/api/dht/config/DhtConfigGlobal; + public final fun component2 ()Ljava/util/Collection; + public final fun component3 ()Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public final fun copy (Lorg/ton/api/dht/config/DhtConfigGlobal;Ljava/util/Collection;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)Lorg/ton/api/liteclient/config/LiteClientConfigGlobal; + public static synthetic fun copy$default (Lorg/ton/api/liteclient/config/LiteClientConfigGlobal;Lorg/ton/api/dht/config/DhtConfigGlobal;Ljava/util/Collection;Lorg/ton/api/validator/config/ValidatorConfigGlobal;ILjava/lang/Object;)Lorg/ton/api/liteclient/config/LiteClientConfigGlobal; + public fun equals (Ljava/lang/Object;)Z + public final fun getDht ()Lorg/ton/api/dht/config/DhtConfigGlobal; + public final fun getLiteServers ()Ljava/util/Collection; + public final fun getValidator ()Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/liteserver/LiteServerDesc { + public fun (Lorg/ton/api/pub/PublicKey;II)V + public final fun component1 ()Lorg/ton/api/pub/PublicKey; + public final fun component2 ()I + public final fun component3 ()I + public final fun copy (Lorg/ton/api/pub/PublicKey;II)Lorg/ton/api/liteserver/LiteServerDesc; + public static synthetic fun copy$default (Lorg/ton/api/liteserver/LiteServerDesc;Lorg/ton/api/pub/PublicKey;IIILjava/lang/Object;)Lorg/ton/api/liteserver/LiteServerDesc; + public fun equals (Ljava/lang/Object;)Z + public fun hashCode ()I + public final fun id ()Lorg/ton/api/pub/PublicKey; + public final fun ip ()I + public final fun port ()I + public fun toString ()Ljava/lang/String; +} + +public abstract interface class org/ton/api/liteserver/config/LiteServerConfigLocal { +} + +public final class org/ton/api/liteserver/config/LiteServerConfigRandomLocal : org/ton/api/liteserver/config/LiteServerConfigLocal { + public fun (I)V + public final fun component1 ()I + public final fun copy (I)Lorg/ton/api/liteserver/config/LiteServerConfigRandomLocal; + public static synthetic fun copy$default (Lorg/ton/api/liteserver/config/LiteServerConfigRandomLocal;IILjava/lang/Object;)Lorg/ton/api/liteserver/config/LiteServerConfigRandomLocal; + public fun equals (Ljava/lang/Object;)Z + public final fun getPort ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/overlay/OverlayNode : org/ton/api/SignedTlObject { + public static final field Companion Lorg/ton/api/overlay/OverlayNode$Companion; + public fun (Lorg/ton/api/pub/PublicKey;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;)V + public synthetic fun (Lorg/ton/api/pub/PublicKey;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Lorg/ton/api/pub/PublicKey;[BI[B)V + public synthetic fun (Lorg/ton/api/pub/PublicKey;[BI[BILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/api/pub/PublicKey; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/api/pub/PublicKey;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;)Lorg/ton/api/overlay/OverlayNode; + public static synthetic fun copy$default (Lorg/ton/api/overlay/OverlayNode;Lorg/ton/api/pub/PublicKey;Lorg/ton/tl/ByteString;ILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/overlay/OverlayNode; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Lorg/ton/api/pub/PublicKey; + public final fun getOverlay ()Lorg/ton/tl/ByteString; + public fun getSignature ()Lorg/ton/tl/ByteString; + public final fun getVersion ()I + public fun hashCode ()I + public fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/api/overlay/OverlayNode; + public synthetic fun signed (Lorg/ton/api/pk/PrivateKey;)Lorg/ton/tl/TlObject; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public fun verify (Lorg/ton/api/pub/PublicKey;)Z +} + +public final class org/ton/api/overlay/OverlayNode$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/overlay/OverlayNode; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/overlay/OverlayNode;)V +} + +public final class org/ton/api/overlay/OverlayNodeToSign : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/overlay/OverlayNodeToSign$Companion; + public fun (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;I)V + public final fun component1 ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()I + public final fun copy (Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;I)Lorg/ton/api/overlay/OverlayNodeToSign; + public static synthetic fun copy$default (Lorg/ton/api/overlay/OverlayNodeToSign;Lorg/ton/api/adnl/AdnlIdShort;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/overlay/OverlayNodeToSign; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Lorg/ton/api/adnl/AdnlIdShort; + public final fun getOverlay ()Lorg/ton/tl/ByteString; + public final fun getVersion ()I + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/overlay/OverlayNodeToSign$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/overlay/OverlayNodeToSign; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/overlay/OverlayNodeToSign;)V +} + +public final class org/ton/api/overlay/OverlayNodes : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/overlay/OverlayNodes$Companion; + public fun (Ljava/util/List;)V + public fun ([Lorg/ton/api/overlay/OverlayNode;)V + public final fun getNodes ()Ljava/util/List; + public fun tlCodec ()Lorg/ton/tl/TlCodec; +} + +public final class org/ton/api/overlay/OverlayNodes$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/overlay/OverlayNodes; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/overlay/OverlayNodes;)V +} + +public final class org/ton/api/pk/Ed25519Kt { + public static final fun PrivateKeyEd25519 (Lkotlin/random/Random;)Lorg/ton/api/pk/PrivateKeyEd25519; + public static synthetic fun PrivateKeyEd25519$default (Lkotlin/random/Random;ILjava/lang/Object;)Lorg/ton/api/pk/PrivateKeyEd25519; +} + +public abstract interface class org/ton/api/pk/PrivateKey : org/ton/crypto/Decryptor { + public static final field Companion Lorg/ton/api/pk/PrivateKey$Companion; + public abstract fun publicKey ()Lorg/ton/api/pub/PublicKey; + public fun toAdnlIdShort ()Lorg/ton/api/adnl/AdnlIdShort; +} + +public final class org/ton/api/pk/PrivateKey$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/pk/PrivateKeyAes : org/ton/api/pk/PrivateKey, org/ton/crypto/Decryptor { + public static final field Companion Lorg/ton/api/pk/PrivateKeyAes$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pk/PrivateKeyAes; + public static synthetic fun copy$default (Lorg/ton/api/pk/PrivateKeyAes;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pk/PrivateKeyAes; + public fun decrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getKey ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public synthetic fun publicKey ()Lorg/ton/api/pub/PublicKey; + public fun publicKey ()Lorg/ton/api/pub/PublicKeyAes; + public fun sign ([B)[B + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/pk/PrivateKeyAes$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pk/PrivateKeyAes; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pk/PrivateKeyAes;)V +} + +public final class org/ton/api/pk/PrivateKeyEd25519 : org/ton/api/pk/PrivateKey, org/ton/crypto/Decryptor { + public static final field Companion Lorg/ton/api/pk/PrivateKeyEd25519$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public fun ([B)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pk/PrivateKeyEd25519; + public static synthetic fun copy$default (Lorg/ton/api/pk/PrivateKeyEd25519;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pk/PrivateKeyEd25519; + public fun decrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public static final fun generate (Lkotlin/random/Random;)Lorg/ton/api/pk/PrivateKeyEd25519; + public final fun getKey ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public static final fun of ([B)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun publicKey ()Lorg/ton/api/pub/PublicKey; + public fun publicKey ()Lorg/ton/api/pub/PublicKeyEd25519; + public final fun sharedKey (Lorg/ton/api/pub/PublicKeyEd25519;)[B + public fun sign ([B)[B + public static final fun tlConstructor ()Lorg/ton/tl/TlConstructor; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/pk/PrivateKeyEd25519$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/pk/PrivateKeyEd25519;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pk/PrivateKeyEd25519;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/pk/PrivateKeyEd25519;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/pk/PrivateKeyEd25519;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/pk/PrivateKeyEd25519;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/pk/PrivateKeyEd25519;Z)Lorg/ton/tl/ByteString; + public final fun generate (Lkotlin/random/Random;)Lorg/ton/api/pk/PrivateKeyEd25519; + public static synthetic fun generate$default (Lorg/ton/api/pk/PrivateKeyEd25519$Companion;Lkotlin/random/Random;ILjava/lang/Object;)Lorg/ton/api/pk/PrivateKeyEd25519; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/pk/PrivateKeyEd25519;)[B + public final fun of ([B)Lorg/ton/api/pk/PrivateKeyEd25519; + public final fun tlConstructor ()Lorg/ton/tl/TlConstructor; +} + +public final class org/ton/api/pk/PrivateKeyOverlay : org/ton/api/pk/PrivateKey, org/ton/crypto/Decryptor { + public static final field Companion Lorg/ton/api/pk/PrivateKeyOverlay$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pk/PrivateKeyOverlay; + public static synthetic fun copy$default (Lorg/ton/api/pk/PrivateKeyOverlay;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pk/PrivateKeyOverlay; + public fun decrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getName ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public synthetic fun publicKey ()Lorg/ton/api/pub/PublicKey; + public fun publicKey ()Lorg/ton/api/pub/PublicKeyOverlay; + public fun sign ([B)[B + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/pk/PrivateKeyOverlay$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pk/PrivateKeyOverlay; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pk/PrivateKeyOverlay;)V +} + +public final class org/ton/api/pk/PrivateKeyUnencrypted : org/ton/api/pk/PrivateKey, org/ton/crypto/Decryptor { + public static final field Companion Lorg/ton/api/pk/PrivateKeyUnencrypted$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pk/PrivateKeyUnencrypted; + public static synthetic fun copy$default (Lorg/ton/api/pk/PrivateKeyUnencrypted;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pk/PrivateKeyUnencrypted; + public fun decrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public synthetic fun publicKey ()Lorg/ton/api/pub/PublicKey; + public fun publicKey ()Lorg/ton/api/pub/PublicKeyUnencrypted; + public fun sign ([B)[B + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/pk/PrivateKeyUnencrypted$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pk/PrivateKeyUnencrypted; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pk/PrivateKeyUnencrypted;)V +} + +public final class org/ton/api/pub/Ed25519Kt { + public static final fun PublicKeyEd25519 (Lorg/ton/api/pk/PrivateKeyEd25519;)Lorg/ton/api/pub/PublicKeyEd25519; +} + +public abstract interface class org/ton/api/pub/PublicKey : org/ton/crypto/Encryptor, org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/pub/PublicKey$Companion; + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public abstract fun toAdnlIdShort ()Lorg/ton/api/adnl/AdnlIdShort; +} + +public final class org/ton/api/pub/PublicKey$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/pub/PublicKeyAes : org/ton/api/pub/PublicKey, org/ton/crypto/Encryptor { + public static final field Companion Lorg/ton/api/pub/PublicKeyAes$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pub/PublicKeyAes; + public static synthetic fun copy$default (Lorg/ton/api/pub/PublicKeyAes;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pub/PublicKeyAes; + public fun encrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getKey ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun toAdnlIdShort ()Lorg/ton/api/adnl/AdnlIdShort; + public fun toString ()Ljava/lang/String; + public fun verify ([B[B)Z +} + +public final class org/ton/api/pub/PublicKeyAes$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pub/PublicKeyAes; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pub/PublicKeyAes;)V +} + +public final class org/ton/api/pub/PublicKeyEd25519 : org/ton/api/pub/PublicKey, org/ton/crypto/Encryptor { + public static final field Companion Lorg/ton/api/pub/PublicKeyEd25519$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public fun ([B)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pub/PublicKeyEd25519; + public static synthetic fun copy$default (Lorg/ton/api/pub/PublicKeyEd25519;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pub/PublicKeyEd25519; + public fun encrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getKey ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public static final fun of (Lorg/ton/api/pk/PrivateKeyEd25519;)Lorg/ton/api/pub/PublicKeyEd25519; + public static final fun tlConstructor ()Lorg/ton/tl/TlConstructor; + public fun toAdnlIdShort ()Lorg/ton/api/adnl/AdnlIdShort; + public fun toString ()Ljava/lang/String; + public fun verify ([B[B)Z +} + +public final class org/ton/api/pub/PublicKeyEd25519$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/pub/PublicKeyEd25519; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/pub/PublicKeyEd25519;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pub/PublicKeyEd25519;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/pub/PublicKeyEd25519;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/pub/PublicKeyEd25519;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/pub/PublicKeyEd25519;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/pub/PublicKeyEd25519;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/pub/PublicKeyEd25519;)[B + public final fun of (Lorg/ton/api/pk/PrivateKeyEd25519;)Lorg/ton/api/pub/PublicKeyEd25519; + public final fun tlConstructor ()Lorg/ton/tl/TlConstructor; +} + +public final class org/ton/api/pub/PublicKeyOverlay : org/ton/api/pub/PublicKey, org/ton/crypto/Encryptor { + public static final field Companion Lorg/ton/api/pub/PublicKeyOverlay$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pub/PublicKeyOverlay; + public static synthetic fun copy$default (Lorg/ton/api/pub/PublicKeyOverlay;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pub/PublicKeyOverlay; + public fun encrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getName ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun toAdnlIdShort ()Lorg/ton/api/adnl/AdnlIdShort; + public fun toString ()Ljava/lang/String; + public fun verify ([B[B)Z +} + +public final class org/ton/api/pub/PublicKeyOverlay$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pub/PublicKeyOverlay; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pub/PublicKeyOverlay;)V +} + +public final class org/ton/api/pub/PublicKeyUnencrypted : org/ton/api/pub/PublicKey, org/ton/crypto/Encryptor { + public static final field Companion Lorg/ton/api/pub/PublicKeyUnencrypted$Companion; + public fun (Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;)Lorg/ton/api/pub/PublicKeyUnencrypted; + public static synthetic fun copy$default (Lorg/ton/api/pub/PublicKeyUnencrypted;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/pub/PublicKeyUnencrypted; + public fun encrypt ([B)[B + public fun equals (Ljava/lang/Object;)Z + public final fun getData ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun toAdnlIdShort ()Lorg/ton/api/adnl/AdnlIdShort; + public fun toString ()Ljava/lang/String; + public fun verify ([B[B)Z +} + +public final class org/ton/api/pub/PublicKeyUnencrypted$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/pub/PublicKeyUnencrypted; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/pub/PublicKeyUnencrypted;)V +} + +public final class org/ton/api/rldp/RldpAnswer : org/ton/api/rldp/RldpMessage { + public static final field Companion Lorg/ton/api/rldp/RldpAnswer$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/rldp/RldpAnswer; + public static synthetic fun copy$default (Lorg/ton/api/rldp/RldpAnswer;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/rldp/RldpAnswer; + public fun equals (Ljava/lang/Object;)Z + public fun getData ()Lorg/ton/tl/ByteString; + public fun getId ()Lorg/ton/tl/ByteString; + public final fun getQueryId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/rldp/RldpAnswer$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/rldp/RldpAnswer; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/rldp/RldpAnswer;)V +} + +public final class org/ton/api/rldp/RldpComplete : org/ton/api/rldp/RldpMessagePart { + public static final field Companion Lorg/ton/api/rldp/RldpComplete$Companion; + public fun (Lorg/ton/tl/ByteString;I)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun copy (Lorg/ton/tl/ByteString;I)Lorg/ton/api/rldp/RldpComplete; + public static synthetic fun copy$default (Lorg/ton/api/rldp/RldpComplete;Lorg/ton/tl/ByteString;IILjava/lang/Object;)Lorg/ton/api/rldp/RldpComplete; + public fun equals (Ljava/lang/Object;)Z + public fun getPart ()I + public fun getTransferId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/rldp/RldpComplete$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/rldp/RldpComplete; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/rldp/RldpComplete;)V +} + +public final class org/ton/api/rldp/RldpConfirm : org/ton/api/rldp/RldpMessagePart { + public static final field Companion Lorg/ton/api/rldp/RldpConfirm$Companion; + public fun (Lorg/ton/tl/ByteString;II)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()I + public final fun component3 ()I + public final fun copy (Lorg/ton/tl/ByteString;II)Lorg/ton/api/rldp/RldpConfirm; + public static synthetic fun copy$default (Lorg/ton/api/rldp/RldpConfirm;Lorg/ton/tl/ByteString;IIILjava/lang/Object;)Lorg/ton/api/rldp/RldpConfirm; + public fun equals (Ljava/lang/Object;)Z + public fun getPart ()I + public final fun getSeqno ()I + public fun getTransferId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/rldp/RldpConfirm$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/rldp/RldpConfirm; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/rldp/RldpConfirm;)V +} + +public abstract interface class org/ton/api/rldp/RldpMessage : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/rldp/RldpMessage$Companion; + public abstract fun getData ()Lorg/ton/tl/ByteString; + public abstract fun getId ()Lorg/ton/tl/ByteString; +} + +public final class org/ton/api/rldp/RldpMessage$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/rldp/RldpMessageData : org/ton/api/rldp/RldpMessage { + public static final field Companion Lorg/ton/api/rldp/RldpMessageData$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/rldp/RldpMessageData; + public static synthetic fun copy$default (Lorg/ton/api/rldp/RldpMessageData;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/rldp/RldpMessageData; + public fun equals (Ljava/lang/Object;)Z + public fun getData ()Lorg/ton/tl/ByteString; + public fun getId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/rldp/RldpMessageData$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/rldp/RldpMessageData; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/rldp/RldpMessageData;)V +} + +public abstract interface class org/ton/api/rldp/RldpMessagePart : org/ton/tl/TlObject { + public static final field Companion Lorg/ton/api/rldp/RldpMessagePart$Companion; + public abstract fun getPart ()I + public abstract fun getTransferId ()Lorg/ton/tl/ByteString; +} + +public final class org/ton/api/rldp/RldpMessagePart$Companion : org/ton/tl/TlCombinator { +} + +public final class org/ton/api/rldp/RldpMessagePartData : org/ton/api/rldp/RldpMessagePart { + public static final field Companion Lorg/ton/api/rldp/RldpMessagePartData$Companion; + public fun (Lorg/ton/tl/ByteString;Lorg/ton/api/fec/FecType;IJILorg/ton/tl/ByteString;)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()Lorg/ton/api/fec/FecType; + public final fun component3 ()I + public final fun component4 ()J + public final fun component5 ()I + public final fun component6 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;Lorg/ton/api/fec/FecType;IJILorg/ton/tl/ByteString;)Lorg/ton/api/rldp/RldpMessagePartData; + public static synthetic fun copy$default (Lorg/ton/api/rldp/RldpMessagePartData;Lorg/ton/tl/ByteString;Lorg/ton/api/fec/FecType;IJILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/rldp/RldpMessagePartData; + public final fun data ()Lorg/ton/tl/ByteString; + public fun equals (Ljava/lang/Object;)Z + public final fun fecType ()Lorg/ton/api/fec/FecType; + public synthetic fun getPart ()I + public synthetic fun getTransferId ()Lorg/ton/tl/ByteString; + public fun hashCode ()I + public fun part ()I + public final fun seqno ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; + public final fun totalSize ()J + public fun transferId ()Lorg/ton/tl/ByteString; +} + +public final class org/ton/api/rldp/RldpMessagePartData$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/rldp/RldpMessagePartData; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/rldp/RldpMessagePartData;)V +} + +public final class org/ton/api/rldp/RldpQuery : org/ton/api/rldp/RldpMessage { + public static final field Companion Lorg/ton/api/rldp/RldpQuery$Companion; + public fun (Lorg/ton/tl/ByteString;JILorg/ton/tl/ByteString;)V + public fun ([BJLkotlinx/datetime/Instant;[B)V + public final fun component1 ()Lorg/ton/tl/ByteString; + public final fun component2 ()J + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun copy (Lorg/ton/tl/ByteString;JILorg/ton/tl/ByteString;)Lorg/ton/api/rldp/RldpQuery; + public static synthetic fun copy$default (Lorg/ton/api/rldp/RldpQuery;Lorg/ton/tl/ByteString;JILorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/rldp/RldpQuery; + public fun equals (Ljava/lang/Object;)Z + public fun getData ()Lorg/ton/tl/ByteString; + public fun getId ()Lorg/ton/tl/ByteString; + public final fun getMaxAnswerSize ()J + public final fun getQueryId ()Lorg/ton/tl/ByteString; + public final fun getTimeout ()I + public fun hashCode ()I + public fun tlCodec ()Lorg/ton/tl/TlCodec; + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/rldp/RldpQuery$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/rldp/RldpQuery; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/rldp/RldpQuery;)V +} + +public final class org/ton/api/tcp/TcpAuthentificate { + public static final field Companion Lorg/ton/api/tcp/TcpAuthentificate$Companion; + public fun ([B)V + public final fun component1 ()[B + public final fun copy ([B)Lorg/ton/api/tcp/TcpAuthentificate; + public static synthetic fun copy$default (Lorg/ton/api/tcp/TcpAuthentificate;[BILjava/lang/Object;)Lorg/ton/api/tcp/TcpAuthentificate; + public fun equals (Ljava/lang/Object;)Z + public final fun getNonce ()[B + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/tcp/TcpAuthentificate$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tcp/TcpAuthentificate; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpAuthentificate;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpAuthentificate;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpAuthentificate;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpAuthentificate;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tcp/TcpAuthentificate;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tcp/TcpAuthentificate;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tcp/TcpAuthentificate;)[B +} + +public final class org/ton/api/tcp/TcpAuthentificationComplete : org/ton/api/tcp/TcpMessage { + public static final field Companion Lorg/ton/api/tcp/TcpAuthentificationComplete$Companion; + public fun (Lorg/ton/api/pub/PublicKey;[B)V + public final fun component1 ()Lorg/ton/api/pub/PublicKey; + public final fun component2 ()[B + public final fun copy (Lorg/ton/api/pub/PublicKey;[B)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public static synthetic fun copy$default (Lorg/ton/api/tcp/TcpAuthentificationComplete;Lorg/ton/api/pub/PublicKey;[BILjava/lang/Object;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public fun equals (Ljava/lang/Object;)Z + public final fun getKey ()Lorg/ton/api/pub/PublicKey; + public final fun getSignature ()[B + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/tcp/TcpAuthentificationComplete$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tcp/TcpAuthentificationComplete; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpAuthentificationComplete;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpAuthentificationComplete;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpAuthentificationComplete;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpAuthentificationComplete;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tcp/TcpAuthentificationComplete;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tcp/TcpAuthentificationComplete;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tcp/TcpAuthentificationComplete;)[B +} + +public final class org/ton/api/tcp/TcpAuthentificationNonce { + public static final field Companion Lorg/ton/api/tcp/TcpAuthentificationNonce$Companion; + public fun ([B)V + public final fun component1 ()[B + public final fun copy ([B)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public static synthetic fun copy$default (Lorg/ton/api/tcp/TcpAuthentificationNonce;[BILjava/lang/Object;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public fun equals (Ljava/lang/Object;)Z + public final fun getNonce ()[B + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/tcp/TcpAuthentificationNonce$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tcp/TcpAuthentificationNonce; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpAuthentificationNonce;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpAuthentificationNonce;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpAuthentificationNonce;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpAuthentificationNonce;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tcp/TcpAuthentificationNonce;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tcp/TcpAuthentificationNonce;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tcp/TcpAuthentificationNonce;)[B +} + +public abstract interface class org/ton/api/tcp/TcpMessage { +} + +public final class org/ton/api/tcp/TcpPing { + public static final field Companion Lorg/ton/api/tcp/TcpPing$Companion; + public fun (J)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/api/tcp/TcpPing; + public static synthetic fun copy$default (Lorg/ton/api/tcp/TcpPing;JILjava/lang/Object;)Lorg/ton/api/tcp/TcpPing; + public fun equals (Ljava/lang/Object;)Z + public final fun getRandomId ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/tcp/TcpPing$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpPing; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tcp/TcpPing; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpPing;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpPing;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpPing;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpPing;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tcp/TcpPing;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tcp/TcpPing;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tcp/TcpPing;)[B +} + +public final class org/ton/api/tcp/TcpPong { + public static final field Companion Lorg/ton/api/tcp/TcpPong$Companion; + public fun (J)V + public final fun component1 ()J + public final fun copy (J)Lorg/ton/api/tcp/TcpPong; + public static synthetic fun copy$default (Lorg/ton/api/tcp/TcpPong;JILjava/lang/Object;)Lorg/ton/api/tcp/TcpPong; + public fun equals (Ljava/lang/Object;)Z + public final fun getRandomId ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/tcp/TcpPong$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tcp/TcpPong; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tcp/TcpPong; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpPong;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpPong;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tcp/TcpPong;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tcp/TcpPong;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tcp/TcpPong;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tcp/TcpPong;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tcp/TcpPong;)[B +} + +public final class org/ton/api/tonnode/Shard { + public static final field Companion Lorg/ton/api/tonnode/Shard$Companion; + public static final field ID_ALL J + public static final fun bin-impl (J)Ljava/lang/String; + public static final synthetic fun box-impl (J)Lorg/ton/api/tonnode/Shard; + public static final fun child-5phNXeY (JZ)J + public static fun constructor-impl (J)J + public static final fun contains-oFgHNzU (JJ)Z + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (JLjava/lang/Object;)Z + public static final fun equals-impl0 (JJ)Z + public final fun getValue ()J + public fun hashCode ()I + public static fun hashCode-impl (J)I + public static final fun hex-impl (J)Ljava/lang/String; + public static final fun parent-c7yutBc (J)J + public static final fun toLong-impl (J)J + public fun toString ()Ljava/lang/String; + public static fun toString-impl (J)Ljava/lang/String; + public final synthetic fun unbox-impl ()J +} + +public final class org/ton/api/tonnode/Shard$Companion { + public final fun check (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/cell/Cell;)V + public final fun childShard (JZ)J + public final fun containsShard (JJ)Z + public final fun extractShard (Lorg/ton/bitstring/BitString;)J + public final fun getALL-c7yutBc ()J + public final fun parentShard (J)J +} + +public final class org/ton/api/tonnode/ShardKt { + public static final fun toShard (J)J + public static final fun toShard-VKZWuLQ (J)J + public static final fun toULong-oFgHNzU (J)J +} + +public abstract interface class org/ton/api/tonnode/TonNodeBlockId { + public static final field Companion Lorg/ton/api/tonnode/TonNodeBlockId$Companion; + public fun component1 ()I + public fun component2 ()J + public fun component3 ()I + public abstract fun getSeqno ()I + public abstract fun getShard ()J + public abstract fun getWorkchain ()I + public fun isMasterchain ()Z + public fun isValid ()Z + public fun isValidExt ()Z + public fun isValidFull ()Z + public static fun of (IJI)Lorg/ton/api/tonnode/TonNodeBlockId; + public static fun parse (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockId; + public static fun parseOrNull (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockId; + public fun withSeqno (I)Lorg/ton/api/tonnode/TonNodeBlockId; +} + +public final class org/ton/api/tonnode/TonNodeBlockId$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tonnode/TonNodeBlockId; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tonnode/TonNodeBlockId;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tonnode/TonNodeBlockId;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tonnode/TonNodeBlockId;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tonnode/TonNodeBlockId;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tonnode/TonNodeBlockId;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tonnode/TonNodeBlockId;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tonnode/TonNodeBlockId;)[B + public final fun of (IJI)Lorg/ton/api/tonnode/TonNodeBlockId; + public final fun parse (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockId; + public final fun parseOrNull (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockId; +} + +public final class org/ton/api/tonnode/TonNodeBlockIdExt : org/ton/api/tonnode/TonNodeBlockId { + public static final field Companion Lorg/ton/api/tonnode/TonNodeBlockIdExt$Companion; + public fun (IJILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public fun (IJI[B[B)V + public fun (Lorg/ton/api/tonnode/TonNodeBlockId;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public synthetic fun (Lorg/ton/api/tonnode/TonNodeBlockId;Lorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Lorg/ton/api/tonnode/TonNodeBlockId;[B[B)V + public final fun component1 ()I + public final fun component2 ()J + public final fun component3 ()I + public final fun component4 ()Lorg/ton/tl/ByteString; + public final fun component5 ()Lorg/ton/tl/ByteString; + public final fun copy (IJILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public static synthetic fun copy$default (Lorg/ton/api/tonnode/TonNodeBlockIdExt;IJILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun equals (Ljava/lang/Object;)Z + public final fun fileHash ()Lorg/ton/tl/ByteString; + public synthetic fun getSeqno ()I + public synthetic fun getShard ()J + public synthetic fun getWorkchain ()I + public fun hashCode ()I + public static final fun parse (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public static final fun parseOrNull (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun rootHash ()Lorg/ton/tl/ByteString; + public fun seqno ()I + public fun shard ()J + public fun toString ()Ljava/lang/String; + public fun workchain ()I +} + +public final class org/ton/api/tonnode/TonNodeBlockIdExt$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)[B + public final fun parse (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun parseOrNull (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockIdExt; +} + +public final class org/ton/api/tonnode/TonNodeBlockIdKt { + public static final fun TonNodeBlockId (IJI)Lorg/ton/api/tonnode/TonNodeBlockId; + public static final fun TonNodeBlockId (Ljava/lang/String;)Lorg/ton/api/tonnode/TonNodeBlockId; + public static synthetic fun TonNodeBlockId$default (IJIILjava/lang/Object;)Lorg/ton/api/tonnode/TonNodeBlockId; +} + +public final class org/ton/api/tonnode/TonNodeZeroStateIdExt { + public static final field Companion Lorg/ton/api/tonnode/TonNodeZeroStateIdExt$Companion; + public fun (ILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)V + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;)V + public final fun component1 ()I + public final fun component2 ()Lorg/ton/tl/ByteString; + public final fun component3 ()Lorg/ton/tl/ByteString; + public final fun copy (ILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;)Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public static synthetic fun copy$default (Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;ILorg/ton/tl/ByteString;Lorg/ton/tl/ByteString;ILjava/lang/Object;)Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public fun equals (Ljava/lang/Object;)Z + public final fun getFileHash ()Lorg/ton/tl/ByteString; + public final fun getRootHash ()Lorg/ton/tl/ByteString; + public final fun getWorkchain ()I + public fun hashCode ()I + public final fun isMasterchain ()Z + public final fun isValid ()Z + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/tonnode/TonNodeZeroStateIdExt$Companion : org/ton/tl/TlConstructor { + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/tonnode/TonNodeZeroStateIdExt; + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/tonnode/TonNodeZeroStateIdExt;)V +} + +public final class org/ton/api/tonnode/Workchain { + public static final field BASECHAIN_ID I + public static final field INSTANCE Lorg/ton/api/tonnode/Workchain; + public static final field INVALID_WORKCHAIN I + public static final field MASTERCHAIN_ID I +} + +public final class org/ton/api/validator/config/ValidatorConfigGlobal { + public static final field Companion Lorg/ton/api/validator/config/ValidatorConfigGlobal$Companion; + public fun ()V + public fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/Collection;)V + public synthetic fun (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/Collection;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component2 ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun component3 ()Ljava/util/Collection; + public final fun copy (Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/Collection;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public static synthetic fun copy$default (Lorg/ton/api/validator/config/ValidatorConfigGlobal;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Lorg/ton/api/tonnode/TonNodeBlockIdExt;Ljava/util/Collection;ILjava/lang/Object;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public fun equals (Ljava/lang/Object;)Z + public final fun getHardforks ()Ljava/util/Collection; + public final fun getInitBlock ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public final fun getZeroState ()Lorg/ton/api/tonnode/TonNodeBlockIdExt; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/api/validator/config/ValidatorConfigGlobal$Companion : org/ton/tl/TlCodec { + public synthetic fun decode (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decode (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decode (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/ByteString;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decode (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decode (Lorg/ton/tl/TlReader;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decode ([B)Ljava/lang/Object; + public fun decode ([B)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Ljava/lang/Object; + public fun decodeBoxed (Lio/ktor/utils/io/core/Input;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decodeBoxed (Lorg/ton/tl/ByteString;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/ByteString;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decodeBoxed (Lorg/ton/tl/TlReader;)Ljava/lang/Object; + public fun decodeBoxed (Lorg/ton/tl/TlReader;)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun decodeBoxed ([B)Ljava/lang/Object; + public fun decodeBoxed ([B)Lorg/ton/api/validator/config/ValidatorConfigGlobal; + public synthetic fun encode (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encode (Lio/ktor/utils/io/core/Output;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)V + public synthetic fun encode (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encode (Lorg/ton/tl/TlWriter;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)V + public synthetic fun encodeBoxed (Lio/ktor/utils/io/core/Output;Ljava/lang/Object;)V + public fun encodeBoxed (Lio/ktor/utils/io/core/Output;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)V + public synthetic fun encodeBoxed (Lorg/ton/tl/TlWriter;Ljava/lang/Object;)V + public fun encodeBoxed (Lorg/ton/tl/TlWriter;Lorg/ton/api/validator/config/ValidatorConfigGlobal;)V + public synthetic fun encodeToByteArray (Ljava/lang/Object;Z)[B + public fun encodeToByteArray (Lorg/ton/api/validator/config/ValidatorConfigGlobal;Z)[B + public synthetic fun encodeToByteString (Ljava/lang/Object;Z)Lorg/ton/tl/ByteString; + public fun encodeToByteString (Lorg/ton/api/validator/config/ValidatorConfigGlobal;Z)Lorg/ton/tl/ByteString; + public synthetic fun hash (Ljava/lang/Object;)[B + public fun hash (Lorg/ton/api/validator/config/ValidatorConfigGlobal;)[B +} + +public abstract interface class org/ton/api/validator/config/ValidatorConfigLocal { +} + +public final class org/ton/api/validator/config/ValidatorConfigRandomLocal : org/ton/api/validator/config/ValidatorConfigLocal { + public fun (Lorg/ton/api/adnl/AdnlAddressList;)V + public final fun component1 ()Lorg/ton/api/adnl/AdnlAddressList; + public final fun copy (Lorg/ton/api/adnl/AdnlAddressList;)Lorg/ton/api/validator/config/ValidatorConfigRandomLocal; + public static synthetic fun copy$default (Lorg/ton/api/validator/config/ValidatorConfigRandomLocal;Lorg/ton/api/adnl/AdnlAddressList;ILjava/lang/Object;)Lorg/ton/api/validator/config/ValidatorConfigRandomLocal; + public fun equals (Ljava/lang/Object;)Z + public final fun getAddrList ()Lorg/ton/api/adnl/AdnlAddressList; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + diff --git a/ton-kotlin-api/build.gradle.kts b/tonapi-tl/build.gradle.kts similarity index 63% rename from ton-kotlin-api/build.gradle.kts rename to tonapi-tl/build.gradle.kts index 11042fe5..d5763bd3 100644 --- a/ton-kotlin-api/build.gradle.kts +++ b/tonapi-tl/build.gradle.kts @@ -1,6 +1,11 @@ +plugins { + id("multiplatform") + id("publish") +} + kotlin { sourceSets { - val commonMain by getting { + commonMain { dependencies { api(projects.tonKotlinBigint) api(projects.tonKotlinTl) @@ -9,10 +14,5 @@ kotlin { api(libs.datetime) } } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } } } diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/SignedTlObject.kt b/tonapi-tl/src/SignedTlObject.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/SignedTlObject.kt rename to tonapi-tl/src/SignedTlObject.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlAddress.kt b/tonapi-tl/src/adnl/AdnlAddress.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlAddress.kt rename to tonapi-tl/src/adnl/AdnlAddress.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlAddressList.kt b/tonapi-tl/src/adnl/AdnlAddressList.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlAddressList.kt rename to tonapi-tl/src/adnl/AdnlAddressList.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlIdShort.kt b/tonapi-tl/src/adnl/AdnlIdShort.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlIdShort.kt rename to tonapi-tl/src/adnl/AdnlIdShort.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlNode.kt b/tonapi-tl/src/adnl/AdnlNode.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlNode.kt rename to tonapi-tl/src/adnl/AdnlNode.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlNodes.kt b/tonapi-tl/src/adnl/AdnlNodes.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlNodes.kt rename to tonapi-tl/src/adnl/AdnlNodes.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlPacketContents.kt b/tonapi-tl/src/adnl/AdnlPacketContents.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlPacketContents.kt rename to tonapi-tl/src/adnl/AdnlPacketContents.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlPing.kt b/tonapi-tl/src/adnl/AdnlPing.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlPing.kt rename to tonapi-tl/src/adnl/AdnlPing.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlPong.kt b/tonapi-tl/src/adnl/AdnlPong.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlPong.kt rename to tonapi-tl/src/adnl/AdnlPong.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlProxy.kt b/tonapi-tl/src/adnl/AdnlProxy.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlProxy.kt rename to tonapi-tl/src/adnl/AdnlProxy.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlProxyTo.kt b/tonapi-tl/src/adnl/AdnlProxyTo.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlProxyTo.kt rename to tonapi-tl/src/adnl/AdnlProxyTo.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlProxyToSign.kt b/tonapi-tl/src/adnl/AdnlProxyToSign.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/AdnlProxyToSign.kt rename to tonapi-tl/src/adnl/AdnlProxyToSign.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/config/AdnlConfigGlobal.kt b/tonapi-tl/src/adnl/config/AdnlConfigGlobal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/config/AdnlConfigGlobal.kt rename to tonapi-tl/src/adnl/config/AdnlConfigGlobal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessage.kt b/tonapi-tl/src/adnl/message/AdnlMessage.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessage.kt rename to tonapi-tl/src/adnl/message/AdnlMessage.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageAnswer.kt b/tonapi-tl/src/adnl/message/AdnlMessageAnswer.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageAnswer.kt rename to tonapi-tl/src/adnl/message/AdnlMessageAnswer.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageConfirmChannel.kt b/tonapi-tl/src/adnl/message/AdnlMessageConfirmChannel.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageConfirmChannel.kt rename to tonapi-tl/src/adnl/message/AdnlMessageConfirmChannel.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageCreateChannel.kt b/tonapi-tl/src/adnl/message/AdnlMessageCreateChannel.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageCreateChannel.kt rename to tonapi-tl/src/adnl/message/AdnlMessageCreateChannel.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageCustom.kt b/tonapi-tl/src/adnl/message/AdnlMessageCustom.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageCustom.kt rename to tonapi-tl/src/adnl/message/AdnlMessageCustom.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageNop.kt b/tonapi-tl/src/adnl/message/AdnlMessageNop.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageNop.kt rename to tonapi-tl/src/adnl/message/AdnlMessageNop.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessagePart.kt b/tonapi-tl/src/adnl/message/AdnlMessagePart.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessagePart.kt rename to tonapi-tl/src/adnl/message/AdnlMessagePart.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageQuery.kt b/tonapi-tl/src/adnl/message/AdnlMessageQuery.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageQuery.kt rename to tonapi-tl/src/adnl/message/AdnlMessageQuery.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageReinit.kt b/tonapi-tl/src/adnl/message/AdnlMessageReinit.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/adnl/message/AdnlMessageReinit.kt rename to tonapi-tl/src/adnl/message/AdnlMessageReinit.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/config/ConfigGlobal.kt b/tonapi-tl/src/config/ConfigGlobal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/config/ConfigGlobal.kt rename to tonapi-tl/src/config/ConfigGlobal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/config/ConfigLocal.kt b/tonapi-tl/src/config/ConfigLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/config/ConfigLocal.kt rename to tonapi-tl/src/config/ConfigLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/control/ControlConfigLocal.kt b/tonapi-tl/src/control/ControlConfigLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/control/ControlConfigLocal.kt rename to tonapi-tl/src/control/ControlConfigLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtKey.kt b/tonapi-tl/src/dht/DhtKey.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtKey.kt rename to tonapi-tl/src/dht/DhtKey.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtKeyDescription.kt b/tonapi-tl/src/dht/DhtKeyDescription.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtKeyDescription.kt rename to tonapi-tl/src/dht/DhtKeyDescription.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtMessage.kt b/tonapi-tl/src/dht/DhtMessage.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtMessage.kt rename to tonapi-tl/src/dht/DhtMessage.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtNode.kt b/tonapi-tl/src/dht/DhtNode.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtNode.kt rename to tonapi-tl/src/dht/DhtNode.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtNodes.kt b/tonapi-tl/src/dht/DhtNodes.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtNodes.kt rename to tonapi-tl/src/dht/DhtNodes.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtPong.kt b/tonapi-tl/src/dht/DhtPong.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtPong.kt rename to tonapi-tl/src/dht/DhtPong.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtStore.kt b/tonapi-tl/src/dht/DhtStore.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtStore.kt rename to tonapi-tl/src/dht/DhtStore.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtStored.kt b/tonapi-tl/src/dht/DhtStored.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtStored.kt rename to tonapi-tl/src/dht/DhtStored.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtUpdateRule.kt b/tonapi-tl/src/dht/DhtUpdateRule.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtUpdateRule.kt rename to tonapi-tl/src/dht/DhtUpdateRule.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtValue.kt b/tonapi-tl/src/dht/DhtValue.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtValue.kt rename to tonapi-tl/src/dht/DhtValue.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtValueResult.kt b/tonapi-tl/src/dht/DhtValueResult.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/DhtValueResult.kt rename to tonapi-tl/src/dht/DhtValueResult.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigGlobal.kt b/tonapi-tl/src/dht/config/DhtConfigGlobal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigGlobal.kt rename to tonapi-tl/src/dht/config/DhtConfigGlobal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigIdLocal.kt b/tonapi-tl/src/dht/config/DhtConfigIdLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigIdLocal.kt rename to tonapi-tl/src/dht/config/DhtConfigIdLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigLocal.kt b/tonapi-tl/src/dht/config/DhtConfigLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigLocal.kt rename to tonapi-tl/src/dht/config/DhtConfigLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigRandomLocal.kt b/tonapi-tl/src/dht/config/DhtConfigRandomLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/config/DhtConfigRandomLocal.kt rename to tonapi-tl/src/dht/config/DhtConfigRandomLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/db/DhtDbBucket.kt b/tonapi-tl/src/dht/db/DhtDbBucket.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/db/DhtDbBucket.kt rename to tonapi-tl/src/dht/db/DhtDbBucket.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/db/DhtDbKey.kt b/tonapi-tl/src/dht/db/DhtDbKey.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/db/DhtDbKey.kt rename to tonapi-tl/src/dht/db/DhtDbKey.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/functions/DhtFindValue.kt b/tonapi-tl/src/dht/functions/DhtFindValue.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/functions/DhtFindValue.kt rename to tonapi-tl/src/dht/functions/DhtFindValue.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/functions/DhtPing.kt b/tonapi-tl/src/dht/functions/DhtPing.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/functions/DhtPing.kt rename to tonapi-tl/src/dht/functions/DhtPing.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/functions/DhtQuery.kt b/tonapi-tl/src/dht/functions/DhtQuery.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/dht/functions/DhtQuery.kt rename to tonapi-tl/src/dht/functions/DhtQuery.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/exception/TvmException.kt b/tonapi-tl/src/exception/TvmException.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/exception/TvmException.kt rename to tonapi-tl/src/exception/TvmException.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/exception/exceptions.kt b/tonapi-tl/src/exception/exceptions.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/exception/exceptions.kt rename to tonapi-tl/src/exception/exceptions.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/fec/FecRaptorQ.kt b/tonapi-tl/src/fec/FecRaptorQ.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/fec/FecRaptorQ.kt rename to tonapi-tl/src/fec/FecRaptorQ.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/fec/FecType.kt b/tonapi-tl/src/fec/FecType.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/fec/FecType.kt rename to tonapi-tl/src/fec/FecType.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/HttpHeader.kt b/tonapi-tl/src/http/HttpHeader.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/HttpHeader.kt rename to tonapi-tl/src/http/HttpHeader.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/HttpPayloadPart.kt b/tonapi-tl/src/http/HttpPayloadPart.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/HttpPayloadPart.kt rename to tonapi-tl/src/http/HttpPayloadPart.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/HttpResponse.kt b/tonapi-tl/src/http/HttpResponse.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/HttpResponse.kt rename to tonapi-tl/src/http/HttpResponse.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/functions/HttpGetNextPayloadPart.kt b/tonapi-tl/src/http/functions/HttpGetNextPayloadPart.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/functions/HttpGetNextPayloadPart.kt rename to tonapi-tl/src/http/functions/HttpGetNextPayloadPart.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/functions/HttpRequest.kt b/tonapi-tl/src/http/functions/HttpRequest.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/functions/HttpRequest.kt rename to tonapi-tl/src/http/functions/HttpRequest.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/server/HttpServerDnsEntry.kt b/tonapi-tl/src/http/server/HttpServerDnsEntry.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/server/HttpServerDnsEntry.kt rename to tonapi-tl/src/http/server/HttpServerDnsEntry.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/server/HttpServerHost.kt b/tonapi-tl/src/http/server/HttpServerHost.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/http/server/HttpServerHost.kt rename to tonapi-tl/src/http/server/HttpServerHost.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/id/config/IdConfigLocal.kt b/tonapi-tl/src/id/config/IdConfigLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/id/config/IdConfigLocal.kt rename to tonapi-tl/src/id/config/IdConfigLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteclient/config/LiteClientConfigGlobal.kt b/tonapi-tl/src/liteclient/config/LiteClientConfigGlobal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteclient/config/LiteClientConfigGlobal.kt rename to tonapi-tl/src/liteclient/config/LiteClientConfigGlobal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteserver/LiteServerDesc.kt b/tonapi-tl/src/liteserver/LiteServerDesc.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteserver/LiteServerDesc.kt rename to tonapi-tl/src/liteserver/LiteServerDesc.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteserver/config/LiteServerConfigLocal.kt b/tonapi-tl/src/liteserver/config/LiteServerConfigLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteserver/config/LiteServerConfigLocal.kt rename to tonapi-tl/src/liteserver/config/LiteServerConfigLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteserver/config/LiteServerConfigRandomLocal.kt b/tonapi-tl/src/liteserver/config/LiteServerConfigRandomLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/liteserver/config/LiteServerConfigRandomLocal.kt rename to tonapi-tl/src/liteserver/config/LiteServerConfigRandomLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/overlay/OverlayNode.kt b/tonapi-tl/src/overlay/OverlayNode.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/overlay/OverlayNode.kt rename to tonapi-tl/src/overlay/OverlayNode.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/overlay/OverlayNodeToSign.kt b/tonapi-tl/src/overlay/OverlayNodeToSign.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/overlay/OverlayNodeToSign.kt rename to tonapi-tl/src/overlay/OverlayNodeToSign.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/overlay/OverlayNodes.kt b/tonapi-tl/src/overlay/OverlayNodes.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/overlay/OverlayNodes.kt rename to tonapi-tl/src/overlay/OverlayNodes.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/aes.kt b/tonapi-tl/src/pk/aes.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/aes.kt rename to tonapi-tl/src/pk/aes.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/ed25519.kt b/tonapi-tl/src/pk/ed25519.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/ed25519.kt rename to tonapi-tl/src/pk/ed25519.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/overlay.kt b/tonapi-tl/src/pk/overlay.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/overlay.kt rename to tonapi-tl/src/pk/overlay.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/pk.kt b/tonapi-tl/src/pk/pk.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/pk.kt rename to tonapi-tl/src/pk/pk.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/unenc.kt b/tonapi-tl/src/pk/unenc.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pk/unenc.kt rename to tonapi-tl/src/pk/unenc.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pub/ed25519.kt b/tonapi-tl/src/pub/ed25519.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pub/ed25519.kt rename to tonapi-tl/src/pub/ed25519.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pub/pub.kt b/tonapi-tl/src/pub/pub.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/pub/pub.kt rename to tonapi-tl/src/pub/pub.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpAnswer.kt b/tonapi-tl/src/rldp/RldpAnswer.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpAnswer.kt rename to tonapi-tl/src/rldp/RldpAnswer.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpComplete.kt b/tonapi-tl/src/rldp/RldpComplete.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpComplete.kt rename to tonapi-tl/src/rldp/RldpComplete.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpConfirm.kt b/tonapi-tl/src/rldp/RldpConfirm.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpConfirm.kt rename to tonapi-tl/src/rldp/RldpConfirm.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessage.kt b/tonapi-tl/src/rldp/RldpMessage.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessage.kt rename to tonapi-tl/src/rldp/RldpMessage.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessageData.kt b/tonapi-tl/src/rldp/RldpMessageData.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessageData.kt rename to tonapi-tl/src/rldp/RldpMessageData.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessagePart.kt b/tonapi-tl/src/rldp/RldpMessagePart.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessagePart.kt rename to tonapi-tl/src/rldp/RldpMessagePart.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessagePartData.kt b/tonapi-tl/src/rldp/RldpMessagePartData.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpMessagePartData.kt rename to tonapi-tl/src/rldp/RldpMessagePartData.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpQuery.kt b/tonapi-tl/src/rldp/RldpQuery.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/rldp/RldpQuery.kt rename to tonapi-tl/src/rldp/RldpQuery.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpAuthentificate.kt b/tonapi-tl/src/tcp/TcpAuthentificate.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpAuthentificate.kt rename to tonapi-tl/src/tcp/TcpAuthentificate.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpAuthentificationComplete.kt b/tonapi-tl/src/tcp/TcpAuthentificationComplete.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpAuthentificationComplete.kt rename to tonapi-tl/src/tcp/TcpAuthentificationComplete.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpAuthentificationNonce.kt b/tonapi-tl/src/tcp/TcpAuthentificationNonce.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpAuthentificationNonce.kt rename to tonapi-tl/src/tcp/TcpAuthentificationNonce.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpMessage.kt b/tonapi-tl/src/tcp/TcpMessage.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpMessage.kt rename to tonapi-tl/src/tcp/TcpMessage.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpPing.kt b/tonapi-tl/src/tcp/TcpPing.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpPing.kt rename to tonapi-tl/src/tcp/TcpPing.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpPong.kt b/tonapi-tl/src/tcp/TcpPong.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tcp/TcpPong.kt rename to tonapi-tl/src/tcp/TcpPong.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/Shard.kt b/tonapi-tl/src/tonnode/Shard.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/Shard.kt rename to tonapi-tl/src/tonnode/Shard.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/TonNodeBlockId.kt b/tonapi-tl/src/tonnode/TonNodeBlockId.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/TonNodeBlockId.kt rename to tonapi-tl/src/tonnode/TonNodeBlockId.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/TonNodeBlockIdExt.kt b/tonapi-tl/src/tonnode/TonNodeBlockIdExt.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/TonNodeBlockIdExt.kt rename to tonapi-tl/src/tonnode/TonNodeBlockIdExt.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/TonNodeZeroStateIdExt.kt b/tonapi-tl/src/tonnode/TonNodeZeroStateIdExt.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/TonNodeZeroStateIdExt.kt rename to tonapi-tl/src/tonnode/TonNodeZeroStateIdExt.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/Workchain.kt b/tonapi-tl/src/tonnode/Workchain.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/tonnode/Workchain.kt rename to tonapi-tl/src/tonnode/Workchain.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/validator/config/ValidatorConfigGlobal.kt b/tonapi-tl/src/validator/config/ValidatorConfigGlobal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/validator/config/ValidatorConfigGlobal.kt rename to tonapi-tl/src/validator/config/ValidatorConfigGlobal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/validator/config/ValidatorConfigLocal.kt b/tonapi-tl/src/validator/config/ValidatorConfigLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/validator/config/ValidatorConfigLocal.kt rename to tonapi-tl/src/validator/config/ValidatorConfigLocal.kt diff --git a/ton-kotlin-api/src/commonMain/kotlin/org/ton/api/validator/config/ValidatorConfigRandomLocal.kt b/tonapi-tl/src/validator/config/ValidatorConfigRandomLocal.kt similarity index 100% rename from ton-kotlin-api/src/commonMain/kotlin/org/ton/api/validator/config/ValidatorConfigRandomLocal.kt rename to tonapi-tl/src/validator/config/ValidatorConfigRandomLocal.kt diff --git a/ton-kotlin-api/src/commonTest/kotlin/org/ton/api/pk/PrivateKeyTest.kt b/tonapi-tl/test/PrivateKeyTest.kt similarity index 100% rename from ton-kotlin-api/src/commonTest/kotlin/org/ton/api/pk/PrivateKeyTest.kt rename to tonapi-tl/test/PrivateKeyTest.kt diff --git a/tvm/api/ton-kotlin-tvm.api b/tvm/api/ton-kotlin-tvm.api new file mode 100644 index 00000000..4847b76f --- /dev/null +++ b/tvm/api/ton-kotlin-tvm.api @@ -0,0 +1,367 @@ +public abstract interface class org/ton/boc/BagOfCells : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { + public static final field BOC_GENERIC_MAGIC I + public static final field BOC_INDEXED_CRC32C_MAGIC I + public static final field BOC_INDEXED_MAGIC I + public static final field Companion Lorg/ton/boc/BagOfCells$Companion; + public abstract fun getRoots ()Ljava/util/List; + public static fun of (Ljava/lang/Iterable;)Lorg/ton/boc/BagOfCells; + public static fun of ([B)Lorg/ton/boc/BagOfCells; + public static fun of ([Lorg/ton/cell/Cell;)Lorg/ton/boc/BagOfCells; + public static fun read (Lio/ktor/utils/io/core/Input;)Lorg/ton/boc/BagOfCells; + public fun toByteArray ()[B + public abstract fun toString ()Ljava/lang/String; + public fun write (Lio/ktor/utils/io/core/Output;)V +} + +public final class org/ton/boc/BagOfCells$Companion { + public static final field BOC_GENERIC_MAGIC I + public static final field BOC_INDEXED_CRC32C_MAGIC I + public static final field BOC_INDEXED_MAGIC I + public final fun of (Ljava/lang/Iterable;)Lorg/ton/boc/BagOfCells; + public final fun of ([B)Lorg/ton/boc/BagOfCells; + public final fun of ([Lorg/ton/cell/Cell;)Lorg/ton/boc/BagOfCells; + public final fun read (Lio/ktor/utils/io/core/Input;)Lorg/ton/boc/BagOfCells; +} + +public final class org/ton/boc/BagOfCellsKt { + public static final fun BagOfCells (Ljava/util/Collection;)Lorg/ton/boc/BagOfCells; + public static final fun BagOfCells ([B)Lorg/ton/boc/BagOfCells; + public static final fun BagOfCells ([Lorg/ton/cell/Cell;)Lorg/ton/boc/BagOfCells; +} + +public final class org/ton/boc/CachedBagOfCells : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker, org/ton/boc/BagOfCells { + public static final field Companion Lorg/ton/boc/CachedBagOfCells$Companion; + public static final field MAX_CELL_WEIGHT I + public fun (Ljava/util/List;)V + public fun equals (Ljava/lang/Object;)Z + public fun getRoots ()Ljava/util/List; + public fun hashCode ()I + public fun iterator ()Ljava/util/Iterator; + public fun toByteArray ()[B + public fun toString ()Ljava/lang/String; +} + +public final class org/ton/boc/CachedBagOfCells$Companion { +} + +public abstract interface class org/ton/cell/Cell { + public static final field Companion Lorg/ton/cell/Cell$Companion; + public static final field DEPTH_BITS I + public static final field DEPTH_BYTES I + public static final field HASH_BITS I + public static final field HASH_BYTES I + public static final field MAX_BITS_SIZE I + public static final field MAX_DEPTH I + public static final field MAX_LEVEL I + public fun beginParse ()Lorg/ton/cell/CellSlice; + public abstract fun depth (I)I + public static synthetic fun depth$default (Lorg/ton/cell/Cell;IILjava/lang/Object;)I + public static fun empty ()Lorg/ton/cell/Cell; + public abstract fun getBits ()Lorg/ton/bitstring/BitString; + public static fun getBitsDescriptor (Lorg/ton/bitstring/BitString;)B + public abstract fun getDescriptor ()Lorg/ton/cell/CellDescriptor; + public fun getLevelMask-Kat384U ()I + public abstract fun getRefs ()Ljava/util/List; + public static fun getRefsDescriptor-kgROruQ (IZI)B + public fun getType ()Lorg/ton/cell/CellType; + public abstract fun hash (I)Lorg/ton/bitstring/BitString; + public static synthetic fun hash$default (Lorg/ton/cell/Cell;IILjava/lang/Object;)Lorg/ton/bitstring/BitString; + public fun isEmpty ()Z + public static fun of (Ljava/lang/String;[Lorg/ton/cell/Cell;)Lorg/ton/cell/Cell; + public static fun of (Lorg/ton/bitstring/BitString;[Lorg/ton/cell/Cell;)Lorg/ton/cell/Cell; + public fun parse (Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public abstract fun toString ()Ljava/lang/String; + public static fun toString (Lorg/ton/cell/Cell;)Ljava/lang/String; + public static fun toString (Lorg/ton/cell/Cell;Ljava/lang/Appendable;Ljava/lang/String;)V + public fun treeWalk ()Lkotlin/sequences/Sequence; + public abstract fun virtualize (I)Lorg/ton/cell/Cell; + public static synthetic fun virtualize$default (Lorg/ton/cell/Cell;IILjava/lang/Object;)Lorg/ton/cell/Cell; +} + +public final class org/ton/cell/Cell$Companion { + public static final field DEPTH_BITS I + public static final field DEPTH_BYTES I + public static final field HASH_BITS I + public static final field HASH_BYTES I + public static final field MAX_BITS_SIZE I + public static final field MAX_DEPTH I + public static final field MAX_LEVEL I + public final fun empty ()Lorg/ton/cell/Cell; + public final fun getBitsDescriptor (Lorg/ton/bitstring/BitString;)B + public final fun getRefsDescriptor-kgROruQ (IZI)B + public final fun of (Ljava/lang/String;[Lorg/ton/cell/Cell;)Lorg/ton/cell/Cell; + public final fun of (Lorg/ton/bitstring/BitString;[Lorg/ton/cell/Cell;)Lorg/ton/cell/Cell; + public final fun toString (Lorg/ton/cell/Cell;)Ljava/lang/String; + public final fun toString (Lorg/ton/cell/Cell;Ljava/lang/Appendable;Ljava/lang/String;)V + public static synthetic fun toString$default (Lorg/ton/cell/Cell$Companion;Lorg/ton/cell/Cell;Ljava/lang/Appendable;Ljava/lang/String;ILjava/lang/Object;)V +} + +public abstract interface class org/ton/cell/CellBuilder { + public static final field Companion Lorg/ton/cell/CellBuilder$Companion; + public static fun beginCell ()Lorg/ton/cell/CellBuilder; + public abstract fun build ()Lorg/ton/cell/Cell; + public static fun createCell (Lkotlin/jvm/functions/Function1;)Lorg/ton/cell/Cell; + public static fun createPrunedBranch (Lorg/ton/cell/Cell;I)Lorg/ton/cell/Cell; + public fun endCell ()Lorg/ton/cell/Cell; + public abstract fun getBits ()Lorg/ton/bitstring/MutableBitString; + public abstract fun getBitsPosition ()I + public abstract fun getLevelMask-5JiA7ZA ()Lorg/ton/cell/LevelMask; + public abstract fun getRefs ()Ljava/util/List; + public abstract fun getRemainingBits ()I + public abstract fun isExotic ()Z + public static fun of (Lorg/ton/cell/Cell;)Lorg/ton/cell/CellBuilder; + public abstract fun setBits (Lorg/ton/bitstring/MutableBitString;)V + public abstract fun setExotic (Z)V + public abstract fun setLevelMask-fuO3_sE (Lorg/ton/cell/LevelMask;)V + public abstract fun setRefs (Ljava/util/List;)V + public abstract fun storeBit (Z)Lorg/ton/cell/CellBuilder; + public abstract fun storeBits (Ljava/lang/Iterable;)Lorg/ton/cell/CellBuilder; + public abstract fun storeBits (Ljava/util/Collection;)Lorg/ton/cell/CellBuilder; + public abstract fun storeBits (Lorg/ton/bitstring/BitString;)Lorg/ton/cell/CellBuilder; + public abstract fun storeBits ([Z)Lorg/ton/cell/CellBuilder; + public abstract fun storeByte (B)Lorg/ton/cell/CellBuilder; + public abstract fun storeBytes ([B)Lorg/ton/cell/CellBuilder; + public abstract fun storeBytes ([BI)Lorg/ton/cell/CellBuilder; + public fun storeInt (BI)Lorg/ton/cell/CellBuilder; + public fun storeInt (II)Lorg/ton/cell/CellBuilder; + public fun storeInt (JI)Lorg/ton/cell/CellBuilder; + public abstract fun storeInt (Ljava/math/BigInteger;I)Lorg/ton/cell/CellBuilder; + public fun storeInt (SI)Lorg/ton/cell/CellBuilder; + public abstract fun storeRef (Lorg/ton/cell/Cell;)Lorg/ton/cell/CellBuilder; + public abstract fun storeRefs (Ljava/lang/Iterable;)Lorg/ton/cell/CellBuilder; + public abstract fun storeRefs (Ljava/util/Collection;)Lorg/ton/cell/CellBuilder; + public abstract fun storeRefs ([Lorg/ton/cell/Cell;)Lorg/ton/cell/CellBuilder; + public abstract fun storeSlice (Lorg/ton/cell/CellSlice;)Lorg/ton/cell/CellBuilder; + public fun storeUInt (BI)Lorg/ton/cell/CellBuilder; + public fun storeUInt (II)Lorg/ton/cell/CellBuilder; + public fun storeUInt (JI)Lorg/ton/cell/CellBuilder; + public abstract fun storeUInt (Ljava/math/BigInteger;I)Lorg/ton/cell/CellBuilder; + public fun storeUInt (SI)Lorg/ton/cell/CellBuilder; + public fun storeUInt16-xj2QHRw (S)Lorg/ton/cell/CellBuilder; + public fun storeUInt32-WZ4Q5Ns (I)Lorg/ton/cell/CellBuilder; + public fun storeUInt64-VKZWuLQ (J)Lorg/ton/cell/CellBuilder; + public fun storeUInt8-7apg3OU (B)Lorg/ton/cell/CellBuilder; + public fun storeUIntLeq (BB)Lorg/ton/cell/CellBuilder; + public fun storeUIntLeq (II)Lorg/ton/cell/CellBuilder; + public fun storeUIntLeq (JJ)Lorg/ton/cell/CellBuilder; + public fun storeUIntLeq (Ljava/math/BigInteger;Ljava/math/BigInteger;)Lorg/ton/cell/CellBuilder; + public fun storeUIntLeq (SS)Lorg/ton/cell/CellBuilder; + public fun storeUIntLes (BB)Lorg/ton/cell/CellBuilder; + public fun storeUIntLes (II)Lorg/ton/cell/CellBuilder; + public fun storeUIntLes (JJ)Lorg/ton/cell/CellBuilder; + public fun storeUIntLes (Ljava/math/BigInteger;Ljava/math/BigInteger;)Lorg/ton/cell/CellBuilder; + public fun storeUIntLes (SS)Lorg/ton/cell/CellBuilder; +} + +public final class org/ton/cell/CellBuilder$Companion { + public final fun beginCell ()Lorg/ton/cell/CellBuilder; + public final fun createCell (Lkotlin/jvm/functions/Function1;)Lorg/ton/cell/Cell; + public final fun createPrunedBranch (Lorg/ton/cell/Cell;I)Lorg/ton/cell/Cell; + public final fun of (Lorg/ton/cell/Cell;)Lorg/ton/cell/CellBuilder; +} + +public final class org/ton/cell/CellBuilderKt { + public static final fun CellBuilder ()Lorg/ton/cell/CellBuilder; + public static final fun CellBuilder (Lorg/ton/cell/Cell;)Lorg/ton/cell/CellBuilder; + public static final fun buildCell (Lkotlin/jvm/functions/Function1;)Lorg/ton/cell/Cell; + public static final fun invoke (Lorg/ton/cell/CellBuilder;Lkotlin/jvm/functions/Function1;)V + public static final fun storeRef (Lorg/ton/cell/CellBuilder;Lkotlin/jvm/functions/Function1;)Lorg/ton/cell/CellBuilder; +} + +public abstract interface class org/ton/cell/CellDescriptor { + public static final field Companion Lorg/ton/cell/CellDescriptor$Companion; + public static final field HAS_HASHES_MASK I + public static final field IS_EXOTIC_MASK I + public static final field LEVEL_MASK I + public static final field REFERENCE_COUNT_MASK I + public fun component1 ()B + public fun component2 ()B + public static fun computeD1-dYmMkqQ (IZI)B + public static fun computeD2 (I)B + public static fun from-XvCu8Xw (IZII)Lorg/ton/cell/CellDescriptor; + public static fun fromBytes (BB)Lorg/ton/cell/CellDescriptor; + public static fun fromBytes ([B)Lorg/ton/cell/CellDescriptor; + public static fun fromBytes ([BI)Lorg/ton/cell/CellDescriptor; + public abstract fun getCellType ()Lorg/ton/cell/CellType; + public abstract fun getD1 ()B + public abstract fun getD2 ()B + public abstract fun getDataLength ()I + public abstract fun getHasHashes ()Z + public abstract fun getHashCount ()I + public abstract fun getLevelMask-Kat384U ()I + public abstract fun getReferenceCount ()I + public abstract fun isAbsent ()Z + public abstract fun isAligned ()Z + public abstract fun isExotic ()Z +} + +public final class org/ton/cell/CellDescriptor$Companion { + public static final field HAS_HASHES_MASK I + public static final field IS_EXOTIC_MASK I + public static final field LEVEL_MASK I + public static final field REFERENCE_COUNT_MASK I + public final fun computeD1-dYmMkqQ (IZI)B + public final fun computeD2 (I)B + public final fun from-XvCu8Xw (IZII)Lorg/ton/cell/CellDescriptor; + public final fun fromBytes (BB)Lorg/ton/cell/CellDescriptor; + public final fun fromBytes ([B)Lorg/ton/cell/CellDescriptor; + public final fun fromBytes ([BI)Lorg/ton/cell/CellDescriptor; +} + +public final class org/ton/cell/CellDescriptorKt { + public static final fun CellDescriptor (BB)Lorg/ton/cell/CellDescriptor; + public static final fun CellDescriptor ([B)Lorg/ton/cell/CellDescriptor; + public static final fun CellDescriptor ([BI)Lorg/ton/cell/CellDescriptor; + public static final fun CellDescriptor-XvCu8Xw (IZII)Lorg/ton/cell/CellDescriptor; +} + +public final class org/ton/cell/CellKt { + public static final fun Cell ()Lorg/ton/cell/Cell; + public static final fun Cell (Ljava/lang/String;[Lorg/ton/cell/Cell;)Lorg/ton/cell/Cell; + public static final fun Cell (Lorg/ton/bitstring/BitString;[Lorg/ton/cell/Cell;)Lorg/ton/cell/Cell; +} + +public abstract interface class org/ton/cell/CellSlice { + public static final field Companion Lorg/ton/cell/CellSlice$Companion; + public static fun beginParse (Lorg/ton/cell/Cell;)Lorg/ton/cell/CellSlice; + public fun component1 ()Lorg/ton/bitstring/BitString; + public fun component2 ()Ljava/util/List; + public abstract fun endParse ()V + public abstract fun getBits ()Lorg/ton/bitstring/BitString; + public abstract fun getBitsPosition ()I + public abstract fun getRefs ()Ljava/util/List; + public abstract fun getRefsPosition ()I + public fun getRemainingBits ()I + public fun isEmpty ()Z + public abstract fun loadBit ()Z + public abstract fun loadBits (I)Lorg/ton/bitstring/BitString; + public abstract fun loadInt (I)Ljava/math/BigInteger; + public abstract fun loadRef ()Lorg/ton/cell/Cell; + public abstract fun loadRefs (I)Ljava/util/List; + public fun loadTinyInt (I)J + public abstract fun loadUInt (I)Ljava/math/BigInteger; + public fun loadUInt16-Mh2AYeg ()S + public fun loadUInt32-pVg5ArA ()I + public fun loadUInt64-s-VKNKU ()J + public fun loadUInt8-w2LRezQ ()B + public fun loadUIntLeq (I)Ljava/math/BigInteger; + public fun loadUIntLes (I)Ljava/math/BigInteger; + public static fun of (Lorg/ton/bitstring/BitString;Ljava/util/List;)Lorg/ton/cell/CellSlice; + public abstract fun preloadBit ()Z + public abstract fun preloadBits (I)Lorg/ton/bitstring/BitString; + public abstract fun preloadInt (I)Ljava/math/BigInteger; + public abstract fun preloadRef ()Lorg/ton/cell/Cell; + public abstract fun preloadRef (Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public abstract fun preloadRefs (I)Ljava/util/List; + public fun preloadTinyInt (I)J + public abstract fun preloadUInt (I)Ljava/math/BigInteger; + public fun preloadUIntLeq (I)Ljava/math/BigInteger; + public fun preloadUIntLes (I)Ljava/math/BigInteger; + public abstract fun setBitsPosition (I)V + public abstract fun setRefsPosition (I)V + public abstract fun skipBits (I)Lorg/ton/cell/CellSlice; +} + +public final class org/ton/cell/CellSlice$Companion { + public final fun beginParse (Lorg/ton/cell/Cell;)Lorg/ton/cell/CellSlice; + public final fun of (Lorg/ton/bitstring/BitString;Ljava/util/List;)Lorg/ton/cell/CellSlice; + public static synthetic fun of$default (Lorg/ton/cell/CellSlice$Companion;Lorg/ton/bitstring/BitString;Ljava/util/List;ILjava/lang/Object;)Lorg/ton/cell/CellSlice; +} + +public final class org/ton/cell/CellSliceKt { + public static final fun CellSlice (Lorg/ton/bitstring/BitString;Ljava/util/List;)Lorg/ton/cell/CellSlice; + public static synthetic fun CellSlice$default (Lorg/ton/bitstring/BitString;Ljava/util/List;ILjava/lang/Object;)Lorg/ton/cell/CellSlice; + public static final fun invoke (Lorg/ton/cell/CellSlice;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun loadRef (Lorg/ton/cell/CellSlice;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; +} + +public final class org/ton/cell/CellType : java/lang/Enum { + public static final field Companion Lorg/ton/cell/CellType$Companion; + public static final field LIBRARY_REFERENCE Lorg/ton/cell/CellType; + public static final field MERKLE_PROOF Lorg/ton/cell/CellType; + public static final field MERKLE_UPDATE Lorg/ton/cell/CellType; + public static final field ORDINARY Lorg/ton/cell/CellType; + public static final field PRUNED_BRANCH Lorg/ton/cell/CellType; + public static final fun get (I)Lorg/ton/cell/CellType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public final fun getValue ()I + public final fun isExotic ()Z + public final fun isMerkle ()Z + public final fun isPruned ()Z + public static fun valueOf (Ljava/lang/String;)Lorg/ton/cell/CellType; + public static fun values ()[Lorg/ton/cell/CellType; +} + +public final class org/ton/cell/CellType$Companion { + public final fun get (I)Lorg/ton/cell/CellType; +} + +public final class org/ton/cell/DataCell : org/ton/cell/Cell { + public fun (Lorg/ton/cell/CellDescriptor;Lorg/ton/bitstring/BitString;Ljava/util/List;Ljava/util/List;)V + public fun depth (I)I + public fun equals (Ljava/lang/Object;)Z + public fun getBits ()Lorg/ton/bitstring/BitString; + public fun getDescriptor ()Lorg/ton/cell/CellDescriptor; + public fun getRefs ()Ljava/util/List; + public fun hash (I)Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public fun virtualize (I)Lorg/ton/cell/Cell; +} + +public final class org/ton/cell/LevelMask { + public static final field Companion Lorg/ton/cell/LevelMask$Companion; + public static final fun apply-spGXSBY (II)I + public static final synthetic fun box-impl (I)Lorg/ton/cell/LevelMask; + public static fun constructor-impl (I)I + public static synthetic fun constructor-impl$default (IILkotlin/jvm/internal/DefaultConstructorMarker;)I + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (ILjava/lang/Object;)Z + public static final fun equals-impl0 (II)Z + public static final fun getHashCount-impl (I)I + public static final fun getHashIndex-impl (I)I + public static final fun getLevel-impl (I)I + public final fun getMask ()I + public fun hashCode ()I + public static fun hashCode-impl (I)I + public static final fun isEmpty-impl (I)Z + public static final fun isSignificant-impl (II)Z + public static final fun level-spGXSBY (I)I + public static final fun or-Cd1l96I (II)I + public static final fun shr-spGXSBY (II)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (I)Ljava/lang/String; + public final synthetic fun unbox-impl ()I + public static final fun virtualize-spGXSBY (II)I + public static synthetic fun virtualize-spGXSBY$default (IIILjava/lang/Object;)I +} + +public final class org/ton/cell/LevelMask$Companion { + public final fun level-spGXSBY (I)I +} + +public final class org/ton/cell/PrunedBranchCell : org/ton/cell/Cell { + public fun (Lorg/ton/bitstring/BitString;ILorg/ton/cell/CellDescriptor;Lorg/ton/bitstring/BitString;)V + public fun depth (I)I + public fun equals (Ljava/lang/Object;)Z + public fun getBits ()Lorg/ton/bitstring/BitString; + public fun getDescriptor ()Lorg/ton/cell/CellDescriptor; + public fun getRefs ()Ljava/util/List; + public fun hash (I)Lorg/ton/bitstring/BitString; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; + public fun virtualize (I)Lorg/ton/cell/Cell; +} + +public final class org/ton/cell/exception/CellOverflowException : java/lang/RuntimeException { + public fun (Ljava/lang/String;)V + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public fun (Ljava/lang/Throwable;)V +} + +public final class org/ton/cell/exception/CellUnderflowException : java/lang/RuntimeException { + public fun (Ljava/lang/String;)V + public fun (Ljava/lang/String;Ljava/lang/Throwable;)V + public fun (Ljava/lang/Throwable;)V +} + diff --git a/ton-kotlin-cell/build.gradle.kts b/tvm/build.gradle.kts similarity index 62% rename from ton-kotlin-cell/build.gradle.kts rename to tvm/build.gradle.kts index ab3a1fd7..c714df43 100644 --- a/ton-kotlin-cell/build.gradle.kts +++ b/tvm/build.gradle.kts @@ -1,6 +1,11 @@ +plugins { + id("multiplatform") + id("publish") +} + kotlin { sourceSets { - val commonMain by getting { + commonMain { dependencies { api(projects.tonKotlinBitstring) api(projects.tonKotlinBigint) @@ -8,10 +13,5 @@ kotlin { implementation(libs.serialization.json) } } - val commonTest by getting { - dependencies { - implementation(kotlin("test")) - } - } } } diff --git a/tvm/src/Tvm.kt b/tvm/src/Tvm.kt new file mode 100644 index 00000000..7f04f3c2 --- /dev/null +++ b/tvm/src/Tvm.kt @@ -0,0 +1 @@ +package org.ton diff --git a/ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/BagOfCells.kt b/tvm/src/boc/BagOfCells.kt similarity index 100% rename from ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/BagOfCells.kt rename to tvm/src/boc/BagOfCells.kt diff --git a/ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/BagOfCellsImpl.kt b/tvm/src/boc/BagOfCellsImpl.kt similarity index 100% rename from ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/BagOfCellsImpl.kt rename to tvm/src/boc/BagOfCellsImpl.kt diff --git a/ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/BagOfCellsUtils.kt b/tvm/src/boc/BagOfCellsUtils.kt similarity index 100% rename from ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/BagOfCellsUtils.kt rename to tvm/src/boc/BagOfCellsUtils.kt diff --git a/ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/CachedBagOfCells.kt b/tvm/src/boc/CachedBagOfCells.kt similarity index 100% rename from ton-kotlin-boc/src/commonMain/kotlin/org/ton/boc/CachedBagOfCells.kt rename to tvm/src/boc/CachedBagOfCells.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/Cell.kt b/tvm/src/cell/Cell.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/Cell.kt rename to tvm/src/cell/Cell.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt b/tvm/src/cell/CellBuilder.kt similarity index 99% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt rename to tvm/src/cell/CellBuilder.kt index 3db7c9f8..6f9a12da 100644 --- a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt +++ b/tvm/src/cell/CellBuilder.kt @@ -7,6 +7,7 @@ import org.ton.bitstring.MutableBitString import org.ton.bitstring.toBitString import org.ton.cell.exception.CellOverflowException import org.ton.crypto.digest.sha2.SHA256Digest +import kotlin.contracts.ExperimentalContracts import kotlin.contracts.InvocationKind import kotlin.contracts.contract import kotlin.experimental.and @@ -95,6 +96,7 @@ public interface CellBuilder { @JvmStatic public fun beginCell(): CellBuilder = CellBuilderImpl() + @OptIn(ExperimentalContracts::class) @JvmStatic public fun createCell(builder: CellBuilder.() -> Unit): Cell { contract { @@ -132,6 +134,7 @@ public inline operator fun CellBuilder.invoke(builder: CellBuilder.() -> Unit) { builder(this) } +@OptIn(ExperimentalContracts::class) public inline fun buildCell(builderAction: CellBuilder.() -> Unit): Cell { contract { callsInPlace(builderAction, InvocationKind.EXACTLY_ONCE) } return CellBuilder.beginCell().apply(builderAction).endCell() @@ -262,8 +265,6 @@ private class CellBuilderImpl( hash.toBitString(), depth, descriptor, bits ) } - - CellType.LIBRARY_REFERENCE -> TODO() else -> if (descriptor == EmptyCell.descriptor) { EmptyCell } else { diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellDescriptor.kt b/tvm/src/cell/CellDescriptor.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellDescriptor.kt rename to tvm/src/cell/CellDescriptor.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellSlice.kt b/tvm/src/cell/CellSlice.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellSlice.kt rename to tvm/src/cell/CellSlice.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellType.kt b/tvm/src/cell/CellType.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellType.kt rename to tvm/src/cell/CellType.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/DataCell.kt b/tvm/src/cell/DataCell.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/DataCell.kt rename to tvm/src/cell/DataCell.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/EmptyCell.kt b/tvm/src/cell/EmptyCell.kt similarity index 95% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/EmptyCell.kt rename to tvm/src/cell/EmptyCell.kt index c3af7847..e61fbd85 100644 --- a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/EmptyCell.kt +++ b/tvm/src/cell/EmptyCell.kt @@ -25,4 +25,6 @@ internal object EmptyCell : Cell { if (other !is Cell) return false return descriptor == other.descriptor } + + override fun hashCode(): Int = 0 } diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/LevelMask.kt b/tvm/src/cell/LevelMask.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/LevelMask.kt rename to tvm/src/cell/LevelMask.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/PrunedBranchCell.kt b/tvm/src/cell/PrunedBranchCell.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/PrunedBranchCell.kt rename to tvm/src/cell/PrunedBranchCell.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/VirtualCell.kt b/tvm/src/cell/VirtualCell.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/VirtualCell.kt rename to tvm/src/cell/VirtualCell.kt diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/exception/exceptions.kt b/tvm/src/cell/exception/exceptions.kt similarity index 100% rename from ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/exception/exceptions.kt rename to tvm/src/cell/exception/exceptions.kt diff --git a/ton-kotlin-boc/src/commonTest/kotlin/org/ton/boc/BagOfCellsTest.kt b/tvm/test/BagOfCellsTest.kt similarity index 88% rename from ton-kotlin-boc/src/commonTest/kotlin/org/ton/boc/BagOfCellsTest.kt rename to tvm/test/BagOfCellsTest.kt index abc0b0e7..74cfa964 100644 --- a/ton-kotlin-boc/src/commonTest/kotlin/org/ton/boc/BagOfCellsTest.kt +++ b/tvm/test/BagOfCellsTest.kt @@ -1,6 +1,7 @@ -package org.ton.boc +package org.ton.cell import io.ktor.util.* +import org.ton.boc.BagOfCells import kotlin.test.Test import kotlin.test.assertEquals diff --git a/ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/CellBuilderTest.kt b/tvm/test/CellBuilderTest.kt similarity index 100% rename from ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/CellBuilderTest.kt rename to tvm/test/CellBuilderTest.kt diff --git a/ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/CellSliceTest.kt b/tvm/test/CellSliceTest.kt similarity index 100% rename from ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/CellSliceTest.kt rename to tvm/test/CellSliceTest.kt diff --git a/ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/CellTest.kt b/tvm/test/CellTest.kt similarity index 100% rename from ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/CellTest.kt rename to tvm/test/CellTest.kt diff --git a/ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/PrunedBranchTest.kt b/tvm/test/PrunedBranchTest.kt similarity index 100% rename from ton-kotlin-cell/src/commonTest/kotlin/org/ton/cell/PrunedBranchTest.kt rename to tvm/test/PrunedBranchTest.kt