-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename validator data models for Vaults and move them to the correct …
…package (#685)
- v1.13.61
- v1.13.60
- v1.13.59
- v1.13.58
- v1.13.54
- v1.13.53
- v1.13.51
- v1.13.50
- v1.13.49
- v1.13.48
- v1.13.46
- v1.13.44
- v1.13.43
- v1.13.42
- v1.13.41
- v1.13.40
- v1.13.39
- v1.13.38
- v1.13.34
- v1.13.33
- v1.13.32
- v1.13.31
- v1.13.24
- v1.13.21
- v1.13.19
- v1.13.18
- v1.13.17
- v1.13.15
- v1.13.14
- v1.13.13
- v1.13.12
- v1.13.10
- v1.13.9
- v1.13.8
- v1.13.6
- v1.13.5
- v1.13.4
- v1.13.0
- v1.12.31
- v1.12.28
- v1.12.24
- v1.12.21
- v1.12.17
- v1.12.16
- v1.12.14
- v1.12.12
- v1.12.10
- v1.12.8
- v1.12.7
- v1.12.6
Showing
9 changed files
with
64 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/commonMain/kotlin/indexer/models/chain/OnChainAccountVaultResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package indexer.models.chain | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
@JsExport | ||
@Serializable | ||
data class OnChainShareUnlock( | ||
val shares: OnChainNumShares?, | ||
val unlockBlockHeight: Double?, | ||
) | ||
|
||
@JsExport | ||
@Serializable | ||
data class OnChainNumShares( | ||
val numShares: Double?, | ||
) | ||
|
||
@JsExport | ||
@Serializable | ||
data class OnChainAccountVaultResponse( | ||
val address: String? = null, | ||
val shares: OnChainNumShares? = null, | ||
val shareUnlocks: Array<OnChainShareUnlock>? = null, | ||
val equity: Double? = null, | ||
val withdrawableEquity: Double? = null, | ||
) |
11 changes: 11 additions & 0 deletions
11
src/commonMain/kotlin/indexer/models/chain/OnChainVaultDepositWithdrawSlippageResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package indexer.models.chain | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
@JsExport | ||
@Serializable | ||
data class OnChainVaultDepositWithdrawSlippageResponse( | ||
val sharesToWithdraw: OnChainNumShares, | ||
val expectedQuoteQuantums: Double, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters