io.api.bloxy.model.ITokenModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bloxy-api Show documentation
Show all versions of bloxy-api Show documentation
Kotlin & Java Library for all available Bloxy API endpoints
package io.api.bloxy.model
import io.api.bloxy.model.dto.TokenType
/**
* Model have Ethereum ERC token type
*
* @see TokenType
*
* @author GoodforGod
* @since 28.11.2018
*/
interface ITokenModel {
val tokenType: TokenType
fun isUnknown() : Boolean = tokenType == TokenType.UNKNOWN
fun isERC20() : Boolean = tokenType == TokenType.ERC20
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy