aml

package
v1.10.21-0...-208e2a1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Guard

type Guard struct {
	// contains filtered or unexported fields
}

Guard gates money movement by applying rules on operations of interest to discourage money laundering.

func NewGuard

func NewGuard(data code_data.Provider) *Guard

func (*Guard) AllowMoneyMovement

func (g *Guard) AllowMoneyMovement(ctx context.Context, intentRecord *intent.Record) (bool, error)

AllowMoneyMovement determines whether an intent that moves funds is allowed to be executed.

Jump to

Keyboard shortcuts

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