Skip to main content

How Rules Work

The protocol enables sophisticated control over token actions that are enforced on-chain. For example, the Forte Rules Engine allows you to prevent your tokens from interacting with wallets on the OFAC Sanctions list with an Oracle Deny rule. You can designate access levels to your users that correlate with their level of KYC completion, which enables fine-tuned control over allowed transaction size priced in USD. These are just a few examples that can be leveraged to make your application adhere to compliance standards and align incentives with your users.

Applying Rules

There are several mechanisms to control whether a rule applies to a particular user’s transactions: tags, access levels, and risk scores. Use the links below for more information on each option. Some rules apply at a global application level and will affect all tokens registered simultaneously. For example, the Pause rule will halt all actions for all registered tokens in the app. The remaining rules apply on a per token basis. One example is the Token Min Tx Size rule, which allows setting unique minimums on your ERC-20 and ERC-721 token(s). Expand the table below for more info.
RuleLevelActions
PauseApplicationmint burn buy sell transfer
Account Max Value by Risk ScoreApplicationmint buy transfer
Account Max Tx Value by Risk ScoreApplicationmint buy sell transfer
Account Max Value by Access LevelApplicationmint buy transfer
Account Max Value Out by Access LevelApplicationburn sell transfer
Account Deny For No Access LevelApplicationmint burn buy sell transfer
OracleERC20/ERC721mint buy sell transfer
Oracle FlexibleERC20/ERC721mint buy sell transfer
Account Min/Max Token BalanceERC20/ERC721mint burn buy sell transfer
Account Max Trade SizeERC20/ERC721buy sell
Token Max Trading VolumeERC20/ERC721mint buy sell transfer
Token Max Buy/Sell VolumeERC20/ERC721buy sell
Token Max Supply VolatilityERC20/ERC721mint burn
Token Max Daily TradesERC721mint buy sell transfer
Token Minimum Hold TimeERC721burn sell transfer
Token Minimum Transaction SizeERC20mint burn buy sell transfer

Additional Rules Concepts