io.provenance.scope.contract.contracts.ContractHash.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contract-base Show documentation
Show all versions of contract-base Show documentation
A collection of libraries that interact and run Provenance Java based contracts.
The newest version!
package io.provenance.scope.contract.contracts
interface ContractHash {
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
}