All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.provenance.explorer.model.AssetModels.kt Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package io.provenance.explorer.model

import com.fasterxml.jackson.databind.node.ObjectNode
import io.provenance.explorer.model.base.CoinStrWithPrice
import io.provenance.explorer.model.base.CountStrTotal
import java.math.BigInteger

data class AssetListed(
    val marker: String,
    val holdingAccount: String?,
    val supply: CoinStrWithPrice,
    val status: String,
    val mintable: Boolean = false,
    val lastTxTimestamp: String?,
    val markerType: String
)

data class AssetDetail(
    val marker: String,
    val holdingAccount: String?,
    val managingAccounts: AssetManagement?,
    val supply: CoinStrWithPrice,
    val mintable: Boolean = false,
    val holderCount: Int,
    val txnCount: BigInteger?,
    val attributes: List,
    val metadata: ObjectNode,
    val tokens: TokenCounts,
    val markerStatus: String,
    val markerType: String
)

data class AssetManagement(
    val managers: Map>,
    val allowGovControl: Boolean
)

data class AssetHolder(
    val ownerAddress: String,
    val balance: CountStrTotal
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy