Forte Rules Engine home page
v1
Search...
⌘K
Ask AI
Contact Us
Contact Us
Search...
Navigation
Candler
Fees Invariants
Documentation
Guides
Reference
Documentation
GitHub FRE
Contributor Guide
Get Started
Introduction
Live Demo
Networks
Core Concepts
Overview
Application Level Rules
Token Level Rules
Permissions
Customization Options
Rule Types
Tag Based
Access Level
Risk Score
Additional Concepts
Action Types
Oracles
Pricing
Advanced
Architecture
Development
Invariants
Pricing Invariants
Protocol
Client
Token
Candler
Fees Invariants
Common
ProtocolERC721Handler Invariants
ProtocolERC20Handler Invariants
ERC-20
ERC-721
Application
Token Systen Level Invariants
Adding New Rules
Glossary
Fees
On this page
FeesFacet Invariants
Fees Invariants
Candler
Fees Invariants
Note: Not implemented, todo
FeesFacet Invariants
Only a ruleAdmin can activate a set fee activation
Any account can retrieve the fee activation
Only the owning handler can add a fee
When adding a fee, the minBalance
Fees Invariants
A non Rule Admin can never add a fee
A non Rule Admin can never remove a fee
A non Rule Admin can never propose a new owner
Any user can getApplicableFees.
When adding a fee, minimum balance can never be more than maximum balance
When adding a fee, fee percentage can never be greater than 10000 or less than -10000
When adding a fee, fee percentage can never be 0
When adding a fee, target account can never be a zero address when the feePercentage is positive
When adding a fee, maxBalance will be max uint256 when maxBalance is sent in as 0
When removing an existing fee, fee total will decrement by 1
When removing an existing fee, FeeType event is emitted
When attempting to remove a non existent fee, FeeType event is not emitted
Can never propose zero address as the new owner
Protocol Invariants
Handler Utils Invariants
Assistant
Responses are generated using AI and may contain mistakes.