io.provenance.explorer.model.StakingModels.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of explorer-api-model Show documentation
Show all versions of explorer-api-model Show documentation
API models used by the Provenance Explorer API
The newest version!
package io.provenance.explorer.model
import io.provenance.explorer.model.base.CoinStr
import org.joda.time.DateTime
data class Delegation(
val delegatorAddr: String,
val validatorSrcAddr: String,
val validatorDstAddr: String?,
val amount: CoinStr,
val initialBal: CoinStr?,
val shares: String?,
val block: Int?,
val endTime: DateTime?
)
data class UnpaginatedDelegation(
val records: List,
val rollupTotals: Map
)