mirror of
https://github.com/luxfi/utxo.git
synced 2026-10-30 15:13:57 +00:00
Drop redundant fx/ directory since packages already have fx suffix: - github.com/luxfi/utxo/fx/secp256k1fx → github.com/luxfi/utxo/secp256k1fx - github.com/luxfi/utxo/fx/nftfx → github.com/luxfi/utxo/nftfx - github.com/luxfi/utxo/fx/propertyfx → github.com/luxfi/utxo/propertyfx BREAKING CHANGE: Import paths changed
31 lines
554 B
Go
31 lines
554 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package secp256k1fx
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/luxfi/vm/components/verify"
|
|
)
|
|
|
|
var _ verify.State = (*MintOutput)(nil)
|
|
|
|
type MintOutput struct {
|
|
verify.IsState `serialize:"-" json:"-"`
|
|
|
|
OutputOwners `serialize:"true"`
|
|
}
|
|
|
|
func (out *MintOutput) InitializeWithContext(ctx context.Context) error {
|
|
return nil
|
|
}
|
|
|
|
func (out *MintOutput) Verify() error {
|
|
if out == nil {
|
|
return ErrNilOutput
|
|
}
|
|
|
|
return out.OutputOwners.Verify()
|
|
}
|