Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockIn ¶
type LockIn struct {
Locktime uint64 `serialize:"true" json:"locktime"`
lux.TransferableIn `serialize:"true" json:"input"`
}
func (*LockIn) InitRuntime ¶ added in v1.22.87
type LockOut ¶
type LockOut struct {
Locktime uint64 `serialize:"true" json:"locktime"`
lux.TransferableOut `serialize:"true" json:"output"`
}
func (*LockOut) Bytes ¶ added in v1.28.28
Bytes returns the ZAP-native wire envelope for this LockOut. Envelope = (TypeKindReserved, ShapeKindLockedOutput, ZAP message) where the ZAP message carries Locktime and the inner TransferableOut's own wire envelope (which carries its own TypeKind+ShapeKind+message).
The inner TransferableOut MUST satisfy the wireSerializable contract (Bytes() []byte) — every fx package's wire.go adapter does. Nested LockOut is forbidden by Verify() and panics here to surface the bug.
func (*LockOut) InitRuntime ¶ added in v1.22.87
Click to show internal directories.
Click to hide internal directories.