propertyfx

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ID = ids.NewID([32]byte{'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'f', 'x'})
)

ID that this Fx uses when labeled

Functions

This section is empty.

Types

type BurnOperation

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

BurnOperation ...

func (*BurnOperation) Outs

func (op *BurnOperation) Outs() []verify.Verifiable

Outs ...

type Credential

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

Credential ...

type Factory

type Factory struct{}

Factory ...

func (*Factory) New

func (f *Factory) New() (interface{}, error)

New ...

type Fx

type Fx struct{ secp256k1fx.Fx }

Fx ...

func (*Fx) Initialize

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

Initialize ...

func (*Fx) VerifyMintOperation

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

VerifyMintOperation ...

func (*Fx) VerifyOperation

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

VerifyOperation ...

func (*Fx) VerifyTransfer

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

VerifyTransfer ...

func (*Fx) VerifyTransferOperation

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

VerifyTransferOperation ...

type MintOperation

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

MintOperation ...

func (*MintOperation) Outs

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

Outs ...

func (*MintOperation) Verify

func (op *MintOperation) Verify() error

Verify ...

type MintOutput

type MintOutput struct {
	secp256k1fx.OutputOwners `serialize:"true"`
}

MintOutput ...

type OwnedOutput

type OwnedOutput struct {
	secp256k1fx.OutputOwners `serialize:"true"`
}

OwnedOutput ...

Jump to

Keyboard shortcuts

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