GRAILToken
The GRAILToken contract is a classic token based on OpenZeppelin ERC20 lib.
Address: 0x1a8fd04b7eBEB82605829EEA91324D81b41d6dcf
Github: https://github.com/ExcaliburExchange/contracts/blob/main/farm/GRAILToken.sol
ART calculation
The GRAIL ART of a user address is re-calculated every time he receives GRAIL, as follows:
Bp: previous user balance ARTp: previously calculated ART G: added GRAIL amount t: current time
GRAIL to EXC swap
Depending on the ART, the GRAIL to EXC swap ratio will decrease from the max penalty (1:0.7 ratio) to the min penalty (1:1, no penalty) for a configurable period of time.
This period duration can be updated by the owner from 3 to 14 days.
Dividends
Holding the GrailToken makes users eligible for dividends in various currencies which are distributed through the Dividends contract. Although distribution is automatic, the user still needs to claim these.
Last updated