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.ID{'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"`
}
func (*BurnOperation) InitCtx ¶ added in v1.4.12
func (op *BurnOperation) InitCtx(ctx *snow.Context)
func (*BurnOperation) Outs ¶
func (op *BurnOperation) Outs() []verify.State
type Credential ¶
type Credential struct {
secp256k1fx.Credential `serialize:"true"`
}
type Fx ¶
type Fx struct{ secp256k1fx.Fx }
func (*Fx) Initialize ¶
func (*Fx) VerifyMintOperation ¶
func (fx *Fx) VerifyMintOperation(tx secp256k1fx.Tx, op *MintOperation, cred *Credential, utxoIntf interface{}) error
func (*Fx) VerifyOperation ¶
func (*Fx) VerifyTransfer ¶
func (*Fx) VerifyTransferOperation ¶
func (fx *Fx) VerifyTransferOperation(tx secp256k1fx.Tx, 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 v1.5.0
func (op *MintOperation) Cost() (uint64, error)
func (*MintOperation) InitCtx ¶ added in v1.4.12
func (op *MintOperation) InitCtx(ctx *snow.Context)
func (*MintOperation) Outs ¶
func (op *MintOperation) Outs() []verify.State
func (*MintOperation) Verify ¶
func (op *MintOperation) Verify() error
type MintOutput ¶
type MintOutput struct {
secp256k1fx.OutputOwners `serialize:"true"`
}
type OwnedOutput ¶
type OwnedOutput struct {
secp256k1fx.OutputOwners `serialize:"true"`
}
Click to show internal directories.
Click to hide internal directories.