OCC Protocol v.1
With many iterations behind there are five EVM smart contracts forming the core protocol layer; (1) Mail; (2) Chat; (3) Users; (4) AppFeeManager, and; (5) Lock.
Overview
The OCC Protocol follows mathematical methods embedded and enforced by smart contracts and can not act in a malicious or harmful manner (e.g. breaking its code primitives by granting access to communication transactions in any way or form). The methods within OCC Protocol smart contracts (i.e. Mail, Chat, Users, AppFeeManager, Lock, TierManager) set simple but strong rules enforcing its core primitives such as; immutability and transparency within P2P decentralized communication.
While built and developed by the 4thTech initiative, the multi-chain OCC Protocol v.1 deployment is the task of a Level-1
integrator Immu3.
[Mail] Smart Contract
[Mail]
smart contract is implementing the following methods;
Explainer: The envelope URL and envelope checksum are saved within the [Mails] smart contract and include the time of the send information and the sender data (i.e. sender address). Envelope stands for metadata that is stored encrypted on decentralized storage (i.e.PollinationX).
[Mails]
smart contract enables Web3 data exchange and communication in various use cases. To learn more visit the use cases page.
[Chat] Smart Contract
[Chat]
is a smart contract used for decentralized, encrypted short message exchange over the blockchain. Deployed on various L1s and L2s, the protocol empowers any project to develop Web3 messaging-like communication dApps. Chat smart contract is implementing the following methods;
Explainer: Messages are stored on-chain, while data and media files are exchanged using PollinationX decentralized storage on demand.
The [Chat]
smart contract enables Web3 data exchange and communication in various use cases. To learn more visit the use cases page.
[Users] Smart Contract
[Users]
smart contract is used to manage user-related on-chain data. It is implementing the following methods;
[AppFeeManager] Smart Contract
[AppFeeManager]
is a smart contract used for the management of app and fee-related tasks. It is implementing the following methods;
[Lock] Smart Contract
[Lock]
is a smart contract used for asset-locking-based tasks related to w3CaaS. It is implementing the following methods;
[TierManager] Smart Contract
[TierManager]
smart contract enables end users to set the desired PROTOCOL BASE-FEE DISCOUNT tier, while integrators can access the methods that enable them to withdraw and update dApp OWNER-FEEs.[TierManager]
smart contract is implementing the following methods;
Explainer: Smart contracts within 4thTech OCC Protocol v.1 are registered under EUPL open-source license with commercial restrictions. GitHub repositories are currently still private, while audits will be available shortly.
Resources
Audits
We use Slither, the Solidity source analyzer for preliminary smart contracts code audits.
Note: Slither is a Solidity static analysis framework written in Python3. It runs a suite of vulnerability detectors, prints visual information about contract details, and provides an API to easily write custom analyses. Slither enables developers to find vulnerabilities, enhance their code comprehension, and quickly prototype custom analyses.
What we audit:
Solidity code vulnerabilities with low false positives (read more)
Last updated