Redeemer

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RdeemerTagNames = map[RedeemerTag]string{
	0: "spend",
	1: "mint",
	2: "cert",
	3: "reward",
}

Functions

This section is empty.

Types

type ExecutionUnits

type ExecutionUnits struct {
	Mem   int64
	Steps int64
	// contains filtered or unexported fields
}

func (*ExecutionUnits) Clone

func (ex *ExecutionUnits) Clone() ExecutionUnits

func (*ExecutionUnits) Sum

func (eu *ExecutionUnits) Sum(other ExecutionUnits)

type Redeemer

type Redeemer struct {
	Tag     RedeemerTag
	Index   int
	Data    PlutusData.Datum
	ExUnits ExecutionUnits
	// contains filtered or unexported fields
}

TODO

func (Redeemer) Clone

func (r Redeemer) Clone() Redeemer

type RedeemerTag

type RedeemerTag int
const (
	SPEND RedeemerTag = iota
	MINT
	CERT
	REWARD
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL