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.
Click to show internal directories.
Click to hide internal directories.