io.provenance.scope.contract.proto.ProtoHash.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contract-proto Show documentation
Show all versions of contract-proto Show documentation
A collection of libraries that interact and run Provenance Java based contracts.
package io.provenance.scope.contract.proto
interface ProtoHash {
fun getClasses(): Map
fun getHash(): String
// Provides a means to pair ContractHash to ProtoHash implementations so that the pairing can be preferred
// when resolution takes place during ContractManager::dehydrateSpec. Fully qualified contract names in
// ContractHash::getClasses must be unique, but fully qualified proto names in ProtoHash::getClasses will often
// collide.
fun getUuid(): String
}