error thrown if an invalid module is specified during updateModularCompliancesModules
Structs
SupportedComplianceData
ModularComplianceInfo
UpdateModularComplianceData
Structure to represent the update of modular compliance data.
UpdateSupportedComplianceData
Structure to represent the update of modular compliance data for a given token type
newTreasuryManager_
address
the address of the treasury manager to set throws FrictionlessComplianceFactoryZeroAddress if the newTreasuryManager_ is a zero address
newModularComplianceImpl_
address
the address of the modular compliance implementation
updateSupportedComplianceDataArr_
UpdateSupportedComplianceData[]
the set of supported modular compliance modules.
updateModularComplianceDataArr_
UpdateModularComplianceData[]
the modular compliance data.
tokenType_
IBasicFrictionlessToken.FrictionlessTokenTypes
The Frictionless token type as defined by IBasicFrictionlessToken.FrictionlessTokenTypes
<none>
address
the address of the deployed compliance contract for the specified Frictionless token type throws FrictionlessComplianceFactoryNotATreasuryManager if the msg.sender is not the treasury manager emits FrictionlessComplianceDeployed event upon successful deployment of the compliance contract.
<none>
address
the address of the treasuryManager
<none>
ProxyBeacon
the ProxyBeacon of the ModularCompliance
<none>
address
the address of the ModularCompliance
modularComplianceAddr_
address
the address of the ModularComplianceImpl
<none>
IBasicFrictionlessToken.FrictionlessTokenTypes
the address of the ModularCompliance
tokenType_
IBasicFrictionlessToken.FrictionlessTokenTypes
the type of token as defined by the IBasicFrictionlessToken.FrictionlessTokenTypes enumerated type
<none>
uint256
the amount of supported compliances
tokenType_
IBasicFrictionlessToken.FrictionlessTokenTypes
the type of token as defined by the IBasicFrictionlessToken.FrictionlessTokenTypes enumerated type
<none>
address[]
the array of supported compliances
tokenType_
IBasicFrictionlessToken.FrictionlessTokenTypes
the type of token as defined by the IBasicFrictionlessToken.FrictionlessTokenTypes enumerated type
moduleToCheck_
address
the address of the modular compliance contract to verify
<none>
bool
true if the compliance module supports the Frictionless token type, otherwise false
modularComplianceAddr_
address
the address of the ModularCompliance contract
<none>
bool
true if the address provided is a ModularCompliance contract, otherwise false
function setTreasuryManager(address newTreasuryManager_) external;
function updateModularComplianceImpl(address newModularComplianceImpl_) external;
function updateSupportedComplianceData(UpdateSupportedComplianceData[] calldata updateSupportedComplianceDataArr_)
external;
function updateModularComplianceData(UpdateModularComplianceData[] calldata updateModularComplianceDataArr_) external;
function deployCompliance(IBasicFrictionlessToken.FrictionlessTokenTypes tokenType_) external returns (address);
function treasuryManager() external view returns (address);
function modularComplianceBeacon() external view returns (ProxyBeacon);
function getModularComplianceImpl() external view returns (address);
function getModularComplianceTokenType(address modularComplianceAddr_)
external
view
returns (IBasicFrictionlessToken.FrictionlessTokenTypes);
function getSupportedComplianceModulesCount(IBasicFrictionlessToken.FrictionlessTokenTypes tokenType_)
external
view
returns (uint256);
function getSupportedComplianceModules(IBasicFrictionlessToken.FrictionlessTokenTypes tokenType_)
external
view
returns (address[] memory);
function getSupportedComplianceInfo(IBasicFrictionlessToken.FrictionlessTokenTypes tokenType_)
external
view
returns (ModularComplianceInfo memory);
function isSupportedComplianceModule(IBasicFrictionlessToken.FrictionlessTokenTypes tokenType_, address moduleToCheck_)
external
view
returns (bool);
function isModularCompliance(address modularComplianceAddr_) external view returns (bool);