Platform View Contract
The platform view contract reads on-chain data and feeds it to the frontend app so that the end-user experiences a data-rich dashboard with their NFT, MFI tokens, MetFier rewards, and statistics.
Typically, out-of-the-box solutions for reading on-chain data are limited to only a few basic calls. Due to the sheer size and complexity of MetFi DAOs data being stored, processed, and consumed in multiple smart contracts the decision was made to combine all of the retrievable data into one, master data smart contract, simplifying and speeding up the retrieval of data from the chain to the end users screen. It combines data from multiple building blocks and serves them over its own functions. It has view-only functions and cannot be written to.
Platform View Contract: https://bscscan.com/address/0x58944E992419cCb4908870da3790a10EdD69B2dd#code