RegDExemption

Git Source

Inherits: FederalExemption, PrivateOfferingRoles

Demonstrates a minimal example for Reg D (506c) usage, focusing on accreditation checks, etc.

State Variables

INFINITE

uint256 public constant INFINITE = type(uint256).max;

eas

IEAS public eas = IEAS(0x4200000000000000000000000000000000000021);

attestationRegistry

AttestationRegistry public attestationRegistry;

formDManager

address public formDManager;

formDNumber

string public formDNumber;

formDDate

uint256 public formDDate;

amendmentCount

uint256 public amendmentCount;

Functions

constructor

constructor();

_initializeRegDExemption

function _initializeRegDExemption(address _attestationRegistry, address _issuer) internal;

issueUnderExemption

Overridden function to ensure only accredited investors, etc.

function issueUnderExemption(address investor, uint256 amount) internal virtual override;

amendFilingData

Set the Form D data.

function amendFilingData(string calldata newFormDNumber, uint256 newFormDDate) external;

Parameters

Name
Type
Description

newFormDNumber

string

The new Form D number.

newFormDDate

uint256

The new Form D date.

setAttestationRegistry

Set the attestation registry.

function setAttestationRegistry(address _attestationRegistry) public;

Parameters

Name
Type
Description

_attestationRegistry

address

The address of the attestationRegistry.

_complianceCheck

Check if an investor is accredited.

function _complianceCheck(address investor) internal view virtual returns (bool);

Parameters

Name
Type
Description

investor

address

The address of the investor.

Returns

Name
Type
Description

<none>

bool

bool The accreditation status.

Last updated

Was this helpful?