Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(protocol): improve contracts and docs for auditing #14565

Merged
merged 191 commits into from
Aug 31, 2023
Merged

Conversation

adaki2004
Copy link
Contributor

@adaki2004 adaki2004 commented Aug 23, 2023

(Still draft)

Described here, we need to address few items to properly comply with a comprehensive description of https://secure-contracts.com/.

Arithmetic

  • is unchecked / rounding safe ?
  • arithmetic formulas (more complex ones) documented and match the code ?

Monitoring documentation

  • incident response plan, possible failures identified

Authentication/ access control

  • There is clear documentation about the actors and their respective privileges in the system. (-> actors_privileges_deployments.md)

  • Actors with privileges are not EOAs. (Documented in the markdown above. For now, some yes, but TimeLockController will be further down the road.)

Migration/update documentation

  • Is it documented 'howto' ? -> actors_privileges_deployments.md

  • ERC20 comformity check

dantaik and others added 30 commits June 28, 2023 15:30
Co-authored-by: D <51912515+adaki2004@users.noreply.github.com>
Co-authored-by: dantaik <dantaik@users.noreply.github.com>
Co-authored-by: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com>
Co-authored-by: adaki2004 <adaki2004@users.noreply.github.com>
Co-authored-by: jeff <113397187+cyberhorsey@users.noreply.github.com>
Co-authored-by: Francisco Ramos <jscriptcoder@gmail.com>
Co-authored-by: David <david@taiko.xyz>
Co-authored-by: Kenk <kenghin_lim@hotmail.com>
Co-authored-by: mfinestone <36642873+mfinestone@users.noreply.github.com>
Co-authored-by: hideonbug <92258181+whohideonbug@users.noreply.github.com>
Co-authored-by: megumii <98658943+Megumiiiiii@users.noreply.github.com>
Co-authored-by: Tomaž <venooxpersonal@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wang <dong77@gmail.com>
Co-authored-by: adaki2004 <keszeydani@gmail.com>
Co-authored-by: Jeffery Walsh <cyberhorsey@gmail.com>
Co-authored-by: cyberhorsey <cyberhorsey@users.noreply.github.com>
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
Co-authored-by: dantaik <dantaik@users.noreply.github.com>
Co-authored-by: Jeffery Walsh <cyberhorsey@gmail.com>
Co-authored-by: cyberhorsey <cyberhorsey@users.noreply.github.com>
Co-authored-by: dantaik <dantaik@users.noreply.github.com>
Co-authored-by: Daniel Wang <dong77@gmail.com>
Co-authored-by: Daniel Wang <dong77@gmail.com>
Co-authored-by: jeff <113397187+cyberhorsey@users.noreply.github.com>
Co-authored-by: Daniel Wang <dong77@gmail.com>
dantaik
dantaik previously approved these changes Aug 31, 2023
Brechtpd
Brechtpd previously approved these changes Aug 31, 2023
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
@dantaik dantaik added this pull request to the merge queue Aug 31, 2023
Merged via the queue into main with commit 839326c Aug 31, 2023
@dantaik dantaik deleted the audit_preparation branch August 31, 2023 15:26
2manslkh added a commit that referenced this pull request Sep 14, 2023
Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com>
Co-authored-by: dantaik <dantaik@users.noreply.github.com>
Co-authored-by: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com>
Co-authored-by: adaki2004 <adaki2004@users.noreply.github.com>
Co-authored-by: jeff <113397187+cyberhorsey@users.noreply.github.com>
Co-authored-by: Francisco Ramos <jscriptcoder@gmail.com>
Co-authored-by: David <david@taiko.xyz>
Co-authored-by: Kenk <kenghin_lim@hotmail.com>
Co-authored-by: mfinestone <36642873+mfinestone@users.noreply.github.com>
Co-authored-by: hideonbug <92258181+whohideonbug@users.noreply.github.com>
Co-authored-by: megumii <98658943+Megumiiiiii@users.noreply.github.com>
Co-authored-by: Tomaž <venooxpersonal@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wang <dong77@gmail.com>
Co-authored-by: Jeffery Walsh <cyberhorsey@gmail.com>
Co-authored-by: cyberhorsey <cyberhorsey@users.noreply.github.com>
Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
Co-authored-by: d1onys1us <d1onys1us@users.noreply.github.com>
Co-authored-by: Roger <50648015+RogerLamTd@users.noreply.github.com>
Co-authored-by: Korbinian <KorbinianK@users.noreply.github.com>
Co-authored-by: Daniel Wang <dan@taiko.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audit preparation items
9 participants