From 09a9bffbb031c2284f9a3730a4dbca12af433b2d Mon Sep 17 00:00:00 2001 From: Rui Date: Mon, 20 May 2024 10:19:46 -0700 Subject: [PATCH] Data class --- .../exchange.dydx.abacus/state/internalstate/InternalState.kt | 4 ++-- .../state/internalstate/InternalTransferInputState.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalState.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalState.kt index d52dd864d..34214d499 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalState.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalState.kt @@ -1,5 +1,5 @@ package exchange.dydx.abacus.state.internalstate -internal class InternalState( - var transfer: InternalTransferInputState = InternalTransferInputState(), +internal data class InternalState( + val transfer: InternalTransferInputState = InternalTransferInputState(), ) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalTransferInputState.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalTransferInputState.kt index c0db359e0..7dc5e6687 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalTransferInputState.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/internalstate/InternalTransferInputState.kt @@ -4,7 +4,7 @@ import exchange.dydx.abacus.output.input.SelectionOption import exchange.dydx.abacus.output.input.TransferInputChainResource import exchange.dydx.abacus.output.input.TransferInputTokenResource -internal class InternalTransferInputState( +internal data class InternalTransferInputState( var chains: List? = null, var tokens: List? = null, var chainResources: Map? = null,