lawenforcement

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntiMoneyLaunderingGuard

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

AntiMoneyLaunderingGuard gates money movement by applying rules on operations of interest to discourage money laundering through Code.

func NewAntiMoneyLaunderingGuard

func NewAntiMoneyLaunderingGuard(data code_data.Provider) *AntiMoneyLaunderingGuard

func (*AntiMoneyLaunderingGuard) AllowMoneyMovement

func (g *AntiMoneyLaunderingGuard) 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