ProposalDepositValidator

scalus.cardano.ledger.rules.ProposalDepositValidator

Attributes

Graph
Supertypes
trait Validator
trait STS
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

Inherited types

final type Context = Context

Attributes

Inherited from:
STS
final type Event = Transaction

Attributes

Inherited from:
STS
final type Result = Either[Error, Value]

Attributes

Inherited from:
STS
final type State = State

Attributes

Inherited from:
STS
final override type Value = Unit

Attributes

Inherited from:
Validator

Value members

Concrete methods

override def validate(context: Context, state: State, event: Event): Result

Rejects a tx with a proposal whose deposit differs from govActionDeposit. Conway LEDGER runs GOV only when isValid is true.

Rejects a tx with a proposal whose deposit differs from govActionDeposit. Conway LEDGER runs GOV only when isValid is true.

Attributes

Definition Classes

Inherited methods

final override def apply(context: Context, state: State, event: Event): Result

Attributes

Definition Classes
Inherited from:
Validator
def name: String

Attributes

Inherited from:
STS