Technology
Description of the protocol and other technology behind DAT

Technical Whitepaper (lots of math!)

This is a link to the guts of the technology. This explains the token in much greater detail and how the calculations and other challenges have been addressed.

Technology overview

DAT is an innovative Ethereum token that uses the Reflect protocol that re-imagines the concept of DeFI yield generation.
At its core, Reflect charges a transaction fee and re-distributes that fee to existing DAT holders instantly and automatically at the time of each transaction.
Unique features of the Reflect smart contract allow certain addresses like the Uniswap pool, exchange or locked wallets to be blocked from earning fees.
Because of this, 100% of the fees generated go to holders of the token. The percentage of fees you earn is calculated by the percentage of DAT that you own among holders. This generates a much higher yield than would otherwise be possible.
Reflect Protocol
The above diagram represents the Reflect protocol and the activity that takes place when a token is bought or sold. The flow starts when the translation takes place on the DATA user interface which is using the Pancakeswap API and the DAT token is acquired. Starting at “tAmount” and flowing from there.
Note:
  1. 1.
    Only when the contract has more than 0.03% of the total supply of DAT tokens.
  2. 2.
    If sender is excluded from staking         
  3. 3.
    If sender is NOT excluded from staking     
  4. 4.
    If recipient is excluded from staking
  5. 5.
    If recipient is NOT excluded from staking
Glossary:
  • tAmount: the token amount that sender pays/transfers including the fee
  • tSwapFee: 90% of the fee that will get converted to BTCB
  • tFee: 10% of the fee that will remain as DAT
  • tTransferAmount: tokens that will get transferred to the recipient
  • tOwned[user]: User’s balance represented in t-space (only used by non-stakers)
  • rOwned[user]: User’s balance represented in r-space
  • staked[user]: User’s staked amount.
The diagram below shows the process flow with DATA using the Reflect.
The numbered items are one-time activities that are executed in the initial phase of setting up the project and launching the coin. The transfer of tokens to wallets and the addition of liquidity are processes that happen when the DAT project goes live.

Source Code

Source code is a forked Reflect and openzeppelin's crowdsale contract (https://docs.openzeppelin.com/contracts/2.x/api/crowdsale)
DAT forked from:

Last modified 4mo ago