Documentation ¶
Index ¶
- Variables
- type BurnOperation
- type Credential
- type Factory
- type Fx
- func (fx *Fx) Initialize(vmIntf interface{}) error
- func (fx *Fx) VerifyMintOperation(tx secp256k1fx.Tx, op *MintOperation, cred *Credential, utxoIntf interface{}) error
- func (fx *Fx) VerifyOperation(txIntf, opIntf, credIntf interface{}, utxosIntf []interface{}) error
- func (fx *Fx) VerifyTransfer(_, _, _, _ interface{}) error
- func (fx *Fx) VerifyTransferOperation(tx secp256k1fx.Tx, op *BurnOperation, cred *Credential, utxoIntf interface{}) error
- type MintOperation
- type MintOutput
- type OwnedOutput
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 ...
type Credential ¶
type Credential struct {
secp256k1fx.Credential `serialize:"true"`
}
Credential ...
type Fx ¶
type Fx struct{ secp256k1fx.Fx }
Fx ...
func (*Fx) VerifyMintOperation ¶
func (fx *Fx) VerifyMintOperation(tx secp256k1fx.Tx, op *MintOperation, cred *Credential, utxoIntf interface{}) error
VerifyMintOperation ...
func (*Fx) VerifyOperation ¶
VerifyOperation ...
func (*Fx) VerifyTransfer ¶
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 ...
type MintOutput ¶
type MintOutput struct {
secp256k1fx.OutputOwners `serialize:"true"`
}
MintOutput ...
type OwnedOutput ¶
type OwnedOutput struct {
secp256k1fx.OutputOwners `serialize:"true"`
}
OwnedOutput ...
Click to show internal directories.
Click to hide internal directories.