com.wavesplatform.state.AssetInfo.scala Maven / Gradle / Ivy
The newest version!
package com.wavesplatform.state
import cats.Semigroup
import com.google.protobuf.ByteString
case class AssetInfo(name: ByteString, description: ByteString, lastUpdatedAt: Height)
object AssetInfo {
implicit val semigroup: Semigroup[AssetInfo] = (_, y) => y
def apply(name: String, description: String, lastUpdatedAt: Height): AssetInfo =
AssetInfo(ByteString.copyFromUtf8(name), ByteString.copyFromUtf8(description), lastUpdatedAt)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy