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

io.api.bloxy.model.ITokenModel.kt Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
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