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

tech.pylons.lib.core.IMulticore.kt Maven / Gradle / Ivy

package tech.pylons.lib.core

import tech.pylons.lib.types.Config
import tech.pylons.lib.types.PylonsSECP256K1

interface IMulticore {
    companion object {
        val enabled get() = config != null
        var config : Config? = null
        var instance : IMulticore? = null
    }


    fun enable (cfg : Config)

    fun addCore (kp: PylonsSECP256K1.KeyPair?) : ICore

    fun switchCore (address : String) : ICore
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy