Rule701AdministrationFacet

Git Source

Inherits: IRule701Events

Administrative functions for Rule 701 management

Functions

onlyEntity

modifier onlyEntity();

setAnnualLimit

Set the annual grant limit

function setAnnualLimit(uint256 newLimit) external onlyEntity;

setCompanyLimit

Set the company-wide grant limit

function setCompanyLimit(uint256 newLimit) external onlyEntity;

setRule701Status

Enable or disable Rule 701 plan

function setRule701Status(bool isActive) external onlyEntity;

addGrantAdmin

Add a grant administrator

function addGrantAdmin(address admin) external onlyEntity;

removeGrantAdmin

Remove a grant administrator

function removeGrantAdmin(address admin) external onlyEntity;

addApprovedAssetType

Add an approved asset type

function addApprovedAssetType(address assetType) external onlyEntity;

removeApprovedAssetType

Remove an approved asset type

function removeApprovedAssetType(address assetType) external onlyEntity;

getApprovedAssetTypes

Get approved asset types

function getApprovedAssetTypes() external view returns (address[] memory);

isApprovedAssetType

Check if an asset type is approved

function isApprovedAssetType(address assetType) external view returns (bool);

getPlanConfig

Get plan configuration

function getPlanConfig()
    external
    view
    returns (address entity, uint256 annualLimit, uint256 companyLimit, uint256 totalGranted, bool isActive);

Last updated

Was this helpful?