Help us shape the future of Go! Take the 2026 Go Developer Survey

propertyfx

package
v1.16.19 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "propertyfx"

Variables

View Source
var (

	// ID that this Fx uses when labeled
	ID = ids.ID{'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'f', 'x'}
)

Functions

This section is empty.

Types

type BurnOperation

type BurnOperation struct {
	secp256k1fx.Input `serialize:"true"`
}

func (*BurnOperation) InitCtx added in v0.1.1

func (*BurnOperation) InitCtx(context.Context)

func (*BurnOperation) InitializeContext added in v1.16.16

func (*BurnOperation) InitializeContext(context.Context) error

func (*BurnOperation) Outs

func (*BurnOperation) Outs() []verify.State

type Credential

type Credential struct {
	secp256k1fx.Credential `serialize:"true"`
}

type Factory

type Factory struct{}

func (*Factory) New

func (*Factory) New() any

type Fx

type Fx struct{ secp256k1fx.Fx }

func (*Fx) Initialize

func (fx *Fx) Initialize(vmIntf interface{}) error

func (*Fx) VerifyMintOperation

func (fx *Fx) VerifyMintOperation(tx secp256k1fx.UnsignedTx, op *MintOperation, cred *Credential, utxoIntf interface{}) error

func (*Fx) VerifyOperation

func (fx *Fx) VerifyOperation(txIntf, opIntf, credIntf interface{}, utxosIntf []interface{}) error

func (*Fx) VerifyTransfer

func (*Fx) VerifyTransfer(_, _, _, _ interface{}) error

func (*Fx) VerifyTransferOperation

func (fx *Fx) VerifyTransferOperation(tx secp256k1fx.UnsignedTx, op *BurnOperation, cred *Credential, utxoIntf interface{}) error

type MintOperation

type MintOperation struct {
	MintInput   secp256k1fx.Input `serialize:"true" json:"mintInput"`
	MintOutput  MintOutput        `serialize:"true" json:"mintOutput"`
	OwnedOutput OwnedOutput       `serialize:"true" json:"ownedOutput"`
}

func (*MintOperation) Cost added in v0.1.1

func (op *MintOperation) Cost() (uint64, error)

func (*MintOperation) InitCtx added in v0.1.1

func (op *MintOperation) InitCtx(ctx context.Context)

func (*MintOperation) InitializeContext added in v1.16.16

func (op *MintOperation) InitializeContext(ctx context.Context) error

func (*MintOperation) Outs

func (op *MintOperation) Outs() []verify.State

func (*MintOperation) Verify

func (op *MintOperation) Verify() error

type MintOutput

type MintOutput struct {
	verify.IsState `json:"-"`

	secp256k1fx.OutputOwners `serialize:"true"`
}

func (*MintOutput) InitializeWithContext added in v1.11.14

func (out *MintOutput) InitializeWithContext(ctx context.Context) error

InitializeWithContext implements consensus.ContextInitializable

type OwnedOutput

type OwnedOutput struct {
	verify.IsState `json:"-"`

	secp256k1fx.OutputOwners `serialize:"true"`
}

Jump to

Keyboard shortcuts

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