BondFactory
The BondFactory contract generates the Bond contracts, orchestrates their activation, and handles their GRAIL rewards minting.
Address: 0xFEC996F9dd797A670fcb218920b6209DEf49B049
Github: https://github.com/ExcaliburExchange/contracts/blob/main/farm/BondingFactory.sol
Bond contract creation
Bond contract are generated through the create2 function.
Bond contract activation
The factory centralizes the activation of bonding contracts, ensuring control over the GRAIL token emission.
To activate a new Bond contract, its maximum GRAIL rewards added to those of other active contracts can't exceed the set MAX_MINTABLE_GRAIL_PERCENT
of the total GRAIL supply.
Once a Bond contract has reached its endTime, it will be automatically set as inactive into the Factory.
Bond rewards
All of the bonding contracts rewards (GRAIL) are handled through the Factory, and minted every time a user harvests.
Last updated