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

io.api.bloxy.model.dto.dex.DexProtocol.kt Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package io.api.bloxy.model.dto.dex

import com.beust.klaxon.Json
import io.api.bloxy.model.IModel


/**
 * ! NO DESCRIPTION !
 *
 * @author GoodforGod
 * @since 18.11.2018
 */
data class DexProtocol(
    val protocol: String = "",
    @Json(name = "smart_contracts") val smartContracts: Int = 0
) : IModel {
    override fun isEmpty(): Boolean {
        return smartContracts == 0 && protocol.isEmpty()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy