Certificate

scalus.cardano.ledger.Certificate
See theCertificate companion enum
object Certificate

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object given_Decoder_Certificate extends Decoder[Certificate]

Attributes

Supertypes
trait Decoder[Certificate]
class Object
trait Matchable
class Any
Self type
object given_Encoder_Certificate extends Encoder[Certificate]

Attributes

Supertypes
trait Encoder[Certificate]
class Object
trait Matchable
class Any
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def conwayDRepDeposits(params: ProtocolParams, certificates: Iterable[Certificate]): Coin

Calculate total deposits required for Conway-era DRep certificates

Calculate total deposits required for Conway-era DRep certificates

Value parameters

certificates

Certificates in the transaction

params

Protocol parameters containing DRep deposit amount

Attributes

Returns

Total DRep deposit amount

def conwayDRepRefundsTxCerts(lookupDRepDeposit: Credential => Option[Coin], certificates: Iterable[Certificate]): Coin
def shelleyTotalDeposits(params: ProtocolParams, certificates: Iterable[Certificate]): Coin

Calculate total deposits required for Shelley-era certificates (stake pool and delegation)

Calculate total deposits required for Shelley-era certificates (stake pool and delegation)

Value parameters

certificates

Certificates in the transaction

params

Protocol parameters containing deposit amounts

Attributes

Returns

Total deposit amount

def shelleyTotalRefundsTxCerts(lookupStakingDeposit: Credential => Option[Coin], params: ProtocolParams, certificates: Iterable[Certificate]): Coin