7.3.1. Smart Contract Architecture
Last updated
Last updated
DeflationCoin is a decentralized token built on the Binance Smart Chain platform. Its primary functionality is ensured by a system of smart contracts, divided into two layers: the Proxy Contract and the Logic Contract both written in Solidity. The Proxy Contract acts as an interface between external calls and the business logic of the token, reducing the load on the core part of the system. The Logic Contract manages the token’s core functionality.
In the framework of the Logic smart contract, the entire functionality of the token described in the previous chapters has been implemented, namely: deflationary halving, smart staking, smart dividends, smart commissions, smooth unlock, basket & pump, affiliate marketing, attention-capturing mechanism, Proof of Deflation functionality, token-burning functionality, and the profit share indicator of ecosystem elements for subsequent distribution into dividends and burning.
The key functions implemented in the smart contract, along with their attributes, are illustrated in the diagram below.
DeflationCoin is an open-source project, with the smart contract’s source code available on our official GitHub: