compliance

package
v0.0.0-...-2da98db Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package compliance provides functions to check for compliance of cross-chain transactions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCctxRestricted

func IsCctxRestricted(cctx *crosschaintypes.CrossChainTx) bool

IsCctxRestricted returns true if the cctx involves restricted addresses

func PrintComplianceLog

func PrintComplianceLog(
	inboundLogger zerolog.Logger,
	complianceLogger zerolog.Logger,
	outbound bool,
	chainID int64,
	identifier, sender, receiver, token string,
)

PrintComplianceLog prints compliance log with fields [chain, cctx/inbound, chain, sender, receiver, token]

Types

This section is empty.

Jump to

Keyboard shortcuts

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