Name | Type | Description |
---|---|---|
root | address | address to set as the super admin and first app administrator |
_appName | string | Application Name String |
upgradeMode | bool | specifies whether this is a fresh AppManager or an upgrade replacement. |
Name | Type | Description |
---|---|---|
role | bytes32 | the role to grant to an acount. |
account | address | address being granted the role. |
Name | Type | Description |
---|---|---|
role | bytes32 | the role to renounce. |
account | address | address renouncing to the role. |
Name | Type | Description |
---|---|---|
role | bytes32 | the role to revoke. |
account | address | address of revoked role. |
Name | Type | Description |
---|---|---|
account | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | success true if admin, false if not |
Name | Type | Description |
---|---|---|
account | address | address to be added (Cannot be zero address and cannot be current super admin) |
Name | Type | Description |
---|---|---|
newAddress | address | the new Proposed Super Admin account. |
Name | Type | Description |
---|---|---|
account | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | success true if app administrator, false if not |
Name | Type | Description |
---|---|---|
account | address | address to be added |
Name | Type | Description |
---|---|---|
_accounts | address[] | address array to be added |
Name | Type | Description |
---|---|---|
account | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | success true if RULE_ADMIN_ROLE, false if not |
Name | Type | Description |
---|---|---|
account | address | address to be added as a rule admin |
Name | Type | Description |
---|---|---|
account | address[] | address to be added as a rule admin |
Name | Type | Description |
---|---|---|
account | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | success true if TREASURY_ACCOUNT, false if not |
Name | Type | Description |
---|---|---|
account | address | address to be added as a Treasury account |
Name | Type | Description |
---|---|---|
_accounts | address[] | addresses to be added as a Treasury account |
Name | Type | Description |
---|---|---|
account | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | success true if ACCESS_LEVEL_ADMIN_ROLE, false if not |
Name | Type | Description |
---|---|---|
account | address | address to be added as a access level |
Name | Type | Description |
---|---|---|
account | address[] | address to be added as a access level |
Name | Type | Description |
---|---|---|
account | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | success true if RISK_ADMIN_ROLE, false if not |
Name | Type | Description |
---|---|---|
account | address | address to be added |
Name | Type | Description |
---|---|---|
account | address[] | address to be added |
Name | Type | Description |
---|---|---|
_account | address | address upon which to apply the Access Level |
_level | uint8 | Access Level to add |
Name | Type | Description |
---|---|---|
_accounts | address[] | address upon which to apply the Access Level |
_level | uint8 | Access Level to add |
Name | Type | Description |
---|---|---|
_accounts | address[] | address array upon which to apply the Access Level |
_level | uint8[] | Access Level array to add |
Name | Type | Description |
---|---|---|
_account | address | address of the user |
Name | Type | Description |
---|---|---|
<none> | uint8 |
Name | Type | Description |
---|---|---|
_account | address | address which the Access Level will be removed from |
Name | Type | Description |
---|---|---|
_account | address | address upon which to apply the Risk Score |
_score | uint8 | Risk Score(0-100) |
Name | Type | Description |
---|---|---|
_accounts | address[] | address array upon which to apply the Risk Score |
_score | uint8 | Risk Score(0-100) |
Name | Type | Description |
---|---|---|
_accounts | address[] | address array upon which to apply the Risk Score |
_scores | uint8[] | Risk Score array (0-100) |
Name | Type | Description |
---|---|---|
_account | address | address upon which the risk score was set |
Name | Type | Description |
---|---|---|
<none> | uint8 | score risk score(0-100) |
Name | Type | Description |
---|---|---|
_account | address | address which the risk score will be removed from |
Name | Type | Description |
---|---|---|
_pauseStart | uint64 | Beginning of the pause window |
_pauseStop | uint64 | End of the pause window |
Name | Type | Description |
---|---|---|
_pauseStart | uint64 | Beginning of the pause window |
_pauseStop | uint64 | End of the pause window |
Name | Type | Description |
---|---|---|
_on | bool | boolean representing if a rule must be checked or not. |
Name | Type | Description |
---|---|---|
<none> | PauseRule[] | PauseRule An array of all the pause rules |
Name | Type | Description |
---|---|---|
_account | address | Address to be tagged |
_tag | bytes32 | Tag for the account. Can be any allowed string variant |
Name | Type | Description |
---|---|---|
_accounts | address[] | Address array to be tagged |
_tag | bytes32 | Tag for the account. Can be any allowed string variant |
Name | Type | Description |
---|---|---|
_accounts | address[] | Address array to be tagged |
_tags | bytes32[] | Tag array for the account at index. Can be any allowed string variant |
Name | Type | Description |
---|---|---|
_account | address | Address to have its tag removed |
_tag | bytes32 | The tag to remove |
Name | Type | Description |
---|---|---|
_account | address | Address to check |
_tag | bytes32 | Tag to be checked for |
Name | Type | Description |
---|---|---|
<none> | bool | success true if account has the tag, false if it does not |
Name | Type | Description |
---|---|---|
_address | address | Address to retrieve the tags |
Name | Type | Description |
---|---|---|
<none> | bytes32[] | tags Array of all tags for the account |
Name | Type | Description |
---|---|---|
_newProvider | address | Address of the new provider |
Name | Type | Description |
---|---|---|
<none> | address | provider Address of the provider |
Name | Type | Description |
---|---|---|
_newProvider | address | Address of the new provider |
Name | Type | Description |
---|---|---|
<none> | address | provider Address of the provider |
Name | Type | Description |
---|---|---|
_newProvider | address | Address of the new provider |
Name | Type | Description |
---|---|---|
<none> | address | provider Address of the provider |
Name | Type | Description |
---|---|---|
_newProvider | address | Address of the new provider |
Name | Type | Description |
---|---|---|
<none> | address | accessLevelProvider Address of the Access Level provider |
Name | Type | Description |
---|---|---|
_tokenAddress | address | address of the token calling the rule check |
_sender | address | address of the calling account passed through from the token |
_from | address | address of the from account |
_to | address | address of the to account |
_amount | uint256 | number of tokens to be transferred |
_nftValuationLimit | uint16 | number of tokenID’s per collection before checking collection price vs individual token price |
_tokenId | uint256 | tokenId of the NFT token |
_action | ActionTypes | Action to be checked |
_handlerType | HandlerTypes | type of handler calling checkApplicationRules function |
Name | Type | Description |
---|---|---|
_address | address | address to be checked |
Name | Type | Description |
---|---|---|
<none> | bool | isHandler true if handler, false if not |
Name | Type | Description |
---|---|---|
_token | string | The token identifier(may be NFT or ERC20) |
_tokenAddress | address | Address corresponding to the tokenId |
Name | Type | Description |
---|---|---|
_token | string | The token identifier of registered token |
_tokenAddress | address | Address corresponding to the tokenId |
_tokenType | uint8 | The token type to update registered token |
Name | Type | Description |
---|---|---|
_tokenId | string | The token id(may be NFT or ERC20) |
Name | Type | Description |
---|---|---|
<none> | address | tokenAddress the address corresponding to the tokenId |
Name | Type | Description |
---|---|---|
_tokenAddress | address | the address of the contract of the token to query |
Name | Type | Description |
---|---|---|
<none> | string | the identification string. |
Name | Type | Description |
---|---|---|
_tokenId | string | The token id(may be NFT or ERC20) |
Name | Type | Description |
---|---|---|
_addressArray | address[] | The array to have an address removed |
_addressToIndex | mapping(address => uint256) | mapping that keeps track of the indexes in the list by address |
_registerFlag | mapping(address => bool) | mapping that keeps track of the addresses that are members of the list |
_address | address | The address to remove |
Name | Type | Description |
---|---|---|
_addressArray | address[] | The array to have an address added |
_addressToIndex | mapping(address => uint256) | mapping that keeps track of the indexes in the list by address |
_registerFlag | mapping(address => bool) | mapping that keeps track of the addresses that are members of the list |
_address | address | The address to add |
Name | Type | Description |
---|---|---|
_address | address | account in the list to manage |
isApproved | bool | set to true to indicate that _address can bypass trading rules. |
Name | Type | Description |
---|---|---|
_address | address | the address to check for |
Name | Type | Description |
---|---|---|
<none> | bool | true if the address can bypass trading rules, or false otherwise. |
Name | Type | Description |
---|---|---|
<none> | address | AccessLevelDataAddress |
Name | Type | Description |
---|---|---|
<none> | address | riskDataAddress |
Name | Type | Description |
---|---|---|
<none> | address | tagsDataAddress |
Name | Type | Description |
---|---|---|
<none> | address | pauseRulesDataAddress |
Name | Type | Description |
---|---|---|
<none> | address[] | tokenList list of all tokens registered |
Name | Type | Description |
---|---|---|
<none> | string | VERSION |
Name | Type | Description |
---|---|---|
_newApplicationHandler | address | address of new Application Handler contract |
Name | Type | Description |
---|---|---|
<none> | address | handlerAddress |
Name | Type | Description |
---|---|---|
_appName | string | application name string |
Name | Type | Description |
---|---|---|
<none> | string | appName |
Name | Type | Description |
---|---|---|
_assetAddress | address | address of a protocol entity that uses AppManager |
Name | Type | Description |
---|---|---|
_newOwner | address | address of the new AppManager |
Name | Type | Description |
---|---|---|
_providerType | IDataEnum.ProviderType | the type of data provider |