Audit Commissioned
An update on Omniscia’s audit of BIOPset smart contracts.
By Munair and Shalaquiana.
Omniscia has officially been commissioned to audit BIOPset’s smart contracts. This article provides a detailed update. It explains what’s happened and resets expectations on the launch of the binary options settlement protocol on the Ethereum mainnet.
TL;DR
It will take Omniscia 3–4 weeks to complete the audit. That means that it will be at least 3 weeks before BIOPset V4 is deployed to mainnet.
On Tuesday, May 11th, 2021, the BIOPset development team reached an agreement with Omniscia over the audit of BIOPset smart contracts. Payment was sent today.
The Commissioning
Omniscia will audit the following contracts over the next 3–4 weeks:
APP.sol - Approved price providers, a set of key value pairs mapping oracle addresses to RateCalcs addresses. Controlled/owned by the Settlement DAO (DelegatedGov) and utilized by BinaryOptions and EBOP20.
AdaptiveRateCalc.sol - A rate calculator offering mostly 1:1 rates based on the belief this is good for marketing. The default RateCalc that will be deployed and mapped to the first oracle approved in the APP.
BinaryOptions.sol - The main contract of the protocol. Allows traders to open trades, writers to underwrite them, and settlers to exercise/expire them. The quote currency is ETH. Controlled/owned by the Settlement DAO (DelegatedGov) and interfacing with APP, RateCalcs, UtilizationRewards, and GovProxy. Also keeps surface level record of utilization rewards owed to users.
DelegatedGov.sol - The Settlement DAO. From here those staking BIOP oversee every aspect of the protocol. This allows them to delegate power to governors who are able to update settings and replace contracts of the protocol. Controls the oracle/RateCalc pairs in the APP. Also controls the EBOP20Factory. Can be used to pay a percentage of all trading fees directly to those staking BIOP but doesn't by default. Interfaces with BinaryOptions, APP, EBOP20s, EBOP20Factory, GovProxy, LateStageBondingCurve, and Treasury.
GovProxy.sol - A helper contract that holds funds collected from trading fees in BinaryOptions or EBOP20s. Can be called by any $BIOP staker with any staked balance to transfer amassed ETH(not ERC20s) to the treasury or directly to stakers (decided beforehand by the Settlement DAO). Controlled/owned by the DelegatedGov. Interfaces with DelegatedGov and Treasury.
LateStageBondingCurve(LSBC.sol) - An AMM for $BIOP tokens. Not to be activated until after DEX rewards are complete. Controlled/owned by the DelegatedGov.
Treasury.sol - The treasury of funds amassed from trading fees and owned collectively by the Settlement DAO. This is separate from funds disperse directly to stakers which are held in the DelegatedGov until collected by the stakers. ERC20 fees are sent here directly and do not pass through the GovProxy. Can be used to send amassed funds to anywhere by a governor in the Settlement DAO. Controlled/owned by the DelegatedGov.
UtilizationRewards.sol - holds and then disperses funds to traders, settlers, and writers using BinaryOptions (but not EBOP20s). Designed to be used over multiple "epochs". Controlled/owned by the Settlement DAO. Interfaces with BinaryOptions. Users call a method on BinaryOptions to receive funds from the UtilizationRewards. The only direct calls to the UtilizationRewards are made by the Settlement DAO when depositing funds or updating contracts.
Vesting.sol - For vesting team tokens over the given period. There's no cliff. Once setup, only the claimant can call the relevant funds and is able to transfer the claimant roll to other addresses at their discretion. Does not interface with other contracts.
TieredVesting.sol - For vesting things like UtilizationReward tokens not activated yet. No cliff. Does not interface with other contracts.
Unlock.sol - For vesting things like LateStageBondingCurve tokens that activate all at once at a specific date. Does not interface with other contracts.
EBOP20/EBOP20.sol - ERC20 based binary options trading. Any fees it generates are sent directly to the Treasury. Created by EBOP20Factory. Controlled/owned by the Settlement DAO. Interfaces with APP.
EBOP20/EBOP20Factory.sol - Handles creation of new EBOP20 contracts. Controlled/owned by the Settlement DAO. Also contains a key value mapping of ERC20 addresses to EBOP20 addresses used by the Settlement DAO to determine if an EBOP20 exists for any arbitrary ERC20 already. Allows deactivation of a EBOP20 address.
Interfaces: (these are definitions of aspects that may have different implementations later on, like RateCalc):
interfaces/IEBOP20.sol - interface for EBOP20.
interfaces/IBinaryOptions.sol - interface for BinaryOptions.
interfaces/IAPP.sol - interface for APP.
interfaces/IUtilizationRewards.sol - Interface for UtilizationRewards.
interfaces/IRCD.sol - Interface for RateCalcs.
These contracts are located in the BIOPset GitHub Repository.
About Omniscia
Omniscia is a top-tier smart contract auditing firm whose clients include Fetch.ai, Alliance Block, ChainGuardians, GlobeDX, Aavegothi, Rari.finance, xFai, Unifty, Polkadex, Dafi, NFTFY, Fractal, Moss, CryptoNight, bWare, IronFinance, CrossPool, Nevermined, Prism, Deflect, Trustworks, Cirus, OlympusDAO, InstantBurn, EmpireDEX, Faculty Group, Spool, and many others.
About BIOPset
BIOPset is the Settlement DAO governed, on-demand, censorship-resistant, peer-to-pool decentralized binary options protocol.
Further Reading
To learn more about BIOPset, please consider reading:
Additional Links
Please reach out and keep in touch:
Telegram: https://t.me/BIOPset
Discord: https://discord.gg/4SRYBNdE3r
Twitter: https://twitter.com/BIOPset
Forum: https://biopset.freeforums.net/