OpenZeppelin / OpenZeppelin/openzeppelin-contracts

Discussion around adding audited statistical approximation libraries

Open
#4,172 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Solidity
Stars
27.2k
Forks
12.4k
Avg merge
2d 19h
Merged PRs (30d)
33

Description

🧐 Motivation

Statistical functions are transcendental functions. This means they cannot be represented with a ration of polynomials and are evaluated irrationally. We have documented this in rigorous detail here. However, statistical processes are critical to a large number of engineering applications in both in finance and gaming.

📝 Details
We at primitive have both built and financed audits for SolStat, a statistical approximation library in solidity with custom EVM precision. I would like to open up discussion about including these contracts in the Open Zeppelin contracts and welcome community feedback.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the SolStat repository and the linked solstat explanation, then consider how the audited Solidity contracts fit OpenZeppelin Contracts. Done means the community has decided whether these statistical libraries belong in the project and, if so, what scope is acceptable.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.