Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RdeemerTagNames = map[RedeemerTag]string{
0: "spend",
1: "mint",
2: "certificate",
3: "withdrawal",
}
See https://ogmios.dev/mini-protocols/local-tx-submission/#evaluatetx
Functions ¶
This section is empty.
Types ¶
type ExecutionUnits ¶
func (*ExecutionUnits) Clone ¶
func (ex *ExecutionUnits) Clone() ExecutionUnits
*
Clone creates a deep copy of the ExecutionUnits. Returns: ExecutionUnits: A new ExecutionUnits instance with the same values.
func (*ExecutionUnits) Sum ¶
func (eu *ExecutionUnits) Sum(other ExecutionUnits)
*
Sum adds the memory and step of another ExecutionUnits to the current instance. Params: other ExecutionUnits: The ExecutionUnits to add.
type Redeemer ¶
type Redeemer struct { Tag RedeemerTag Index int Data PlutusData.PlutusData ExUnits ExecutionUnits // contains filtered or unexported fields }
TODO
Click to show internal directories.
Click to hide internal directories.