Functions
setAccountMinMaxTokenBalanceId
Rule Setters and Getters that setting a rule will automatically activate it. Set the accountMinMaxTokenBalanceRuleId. Restricted to rule administrators only.Name | Type | Description |
---|---|---|
_actions | ActionTypes[] | the action types |
_ruleId | uint32 | Rule Id to set |
setAccountMinMaxTokenBalanceIdFull
that setting a rule will automatically activate it. This function does not check that the array length is greater than zero to allow for clearing out of the action types data Set the setAccountMinMaxTokenBalanceRule suite. Restricted to rule administrators only.Name | Type | Description |
---|---|---|
_actions | ActionTypes[] | actions to have the rule applied to |
_ruleIds | uint32[] | Rule Id corresponding to the actions |
clearMinMaxTokenBalance
Clear the rule data structuresetAccountMinMaxTokenBalanceIdUpdate
that setting a rule will automatically activate it. Set the AccountMaxMinMaxTokenBalanceRuleId.Name | Type | Description |
---|---|---|
_action | ActionTypes | the action type to set the rule |
_ruleId | uint32 | Rule Id to set |
activateAccountMinMaxTokenBalance
enable/disable rule. Disabling a rule will save gas on transfer transactions.Name | Type | Description |
---|---|---|
_actions | ActionTypes[] | the action types |
_on | bool | boolean representing if a rule must be checked or not. |
getAccountMinMaxTokenBalanceId
Get the accountMinMaxTokenBalanceRuleId.Name | Type | Description |
---|---|---|
_action | ActionTypes | the action type |
Name | Type | Description |
---|---|---|
<none> | uint32 | accountMinMaxTokenBalance rule id. |
isAccountMinMaxTokenBalanceActive
Tells you if the AccountMinMaxTokenBalance is active or not.Name | Type | Description |
---|---|---|
_action | ActionTypes | the action type |
Name | Type | Description |
---|---|---|
<none> | bool | boolean representing if the rule is active |