constraints

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WalletConstraint

type WalletConstraint interface {
	CheckWallet(wallet system.Wallet) bool
}

func WithBalance

func WithBalance(amount types.Balance) WalletConstraint

type WalletConstraintFunc

type WalletConstraintFunc func(wallet system.Wallet) bool

func (WalletConstraintFunc) CheckWallet

func (f WalletConstraintFunc) CheckWallet(wallet system.Wallet) bool

Jump to

Keyboard shortcuts

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