INestorComplianceModule¶
Inherits: IModule
Author: Originally developed by DEFYCA Labs S.a.r.l., maintained by Nestor Exchange OÜ
MIT Licence. Originally Copyright © 2023 DEFYCA Labs S.a.r.l.
The INestorComplianceModule is responsible for the compliant transfer of the various Tokens in the Nestor Protocol.
Functions¶
setPermissionsManager¶
Sets the instance of the INestorPermissionsManager to determine permissions for users.
setComplianceFactory¶
Sets the instance of the INestorComplianceFactory to determine the compliance module for the protocol.
permissionsManager¶
complianceFactory¶
isTreasury¶
Verifies if the specified wallet address is a PROTOCOL_TREASURY user.
isCustodian¶
Verifies if the specified wallet address is a PERMISSIONED_CUSTODIAN user.
isInvestor¶
Verifies if the specified wallet address is a PERMISSIONED_INVESTOR user.
isManager¶
Verifies if the specified wallet address is a PERMISSIONED_MANAGER user.
isCalculatingAgent¶
Verifies if the specified wallet address is a PERMISSIONED_CALCULATING_AGENT user.
isTransferAgent¶
Verifies if the specified wallet address is a PERMISSIONED_TRANSFER_AGENT user.
isFundAccountant¶
Verifies if the specified wallet address is a PERMISSIONED_FUND_ACCOUNTANT user.
isUser¶
Verifies if the specified wallet address is a permissioned user in the Nestor Protocol.
hasClaim¶
Verify if the userAddress is permissioned in the Nestor Protocol and has a valid claim
function hasClaim(address userAddress_, INestorPermissionsManager.NestorPermissionedUser userType_)
external
view
returns (bool);
Events¶
NestorTokenTransferred¶
Event emitted during compliance module transfers
event NestorTokenTransferred(
IBasicNestorToken.NestorTokenTypes tokenType,
address tokenAddr,
address from,
address to,
uint256 amount
);