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

jsMain.jslibs.cosmjs.amino.coins.module_@cosmjs_amino.kt Maven / Gradle / Ivy

Go to download

A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.

There is a newer version: 6.4.1-rc
Show newest version
@file:Suppress(
    "INTERFACE_WITH_SUPERCLASS",
    "OVERRIDING_FINAL_MEMBER",
    "RETURN_TYPE_MISMATCH_ON_OVERRIDE",
    "CONFLICTING_OVERLOADS"
)

package jslibs.cosmjs.amino

external interface Coin {
    var denom: String
    var amount: String
}

external fun coin(amount: Number, denom: String): Coin

external fun coin(amount: String, denom: String): Coin

external fun coins(amount: Number, denom: String): Array

external fun coins(amount: String, denom: String): Array

external fun parseCoins(input: String): Array

external fun addCoins(lhs: Coin, rhs: Coin): Coin




© 2015 - 2025 Weber Informatics LLC | Privacy Policy