-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
mkdocs.yml
167 lines (162 loc) · 7.13 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Refer to https://github.com/mkdocs/mkdocs/blob/master/mkdocs.yml for a working example
site_name: Ethereum Smart Contract Best Practices
site_url: https://consensys.github.io/smart-contract-best-practices/
site_description: Ethereum Smart Contract Security Best Practices
site_author: ConsenSys Diligence
repo_url: https://github.com/ConsenSys/smart-contract-best-practices
repo_name: Github
remote_branch: gh-pages
remote_name: origin
strict: true
nav:
- Home: index.md
- General Philosophy:
- general-philosophy/index.md
- Prepare for Failure: general-philosophy/prepare-for-failure.md
- Stay up to Date: general-philosophy/stay-up-to-date.md
- Keep it Simple: general-philosophy/simplicity.md
- Rolling out: general-philosophy/rollout.md
- Blockchain Properties: general-philosophy/blockchain-properties.md
- Simplicity vs. Complexity: general-philosophy/simplicity-vs-complexity.md
- Development Recommendations:
- development-recommendations/index.md
- General:
- External Calls: development-recommendations/general/external-calls.md
- Force-feeding Ether: development-recommendations/general/force-feeding.md
- Public on-chain Data: development-recommendations/general/public-data.md
- Unreliable Participants: development-recommendations/general/participants.md
- Negation of Signed Integers: development-recommendations/general/negative-int.md
- Precautions:
- General: development-recommendations/precautions/general.md
- Upgradeability: development-recommendations/precautions/upgradeability.md
- Circuit Breakers: development-recommendations/precautions/circuit-breakers.md
- Speed Bumps: development-recommendations/precautions/speed-bumps.md
- Rate Limiting: development-recommendations/precautions/rate-limiting.md
- Deployment: development-recommendations/precautions/deployment.md
- Safe Haven: development-recommendations/precautions/safe-haven.md
- Solidity-specific:
- Assert, Require, Revert: development-recommendations/solidity-specific/assert-require-revert.md
- Modifiers as Guards: development-recommendations/solidity-specific/modifiers-as-guards.md
- Integer Division: development-recommendations/solidity-specific/integer-division.md
- Abstract vs Interfaces: development-recommendations/solidity-specific/abstract-vs-interfaces.md
- Fallback Functions: development-recommendations/solidity-specific/fallback-functions.md
- Payability: development-recommendations/solidity-specific/payability.md
- Visibility: development-recommendations/solidity-specific/visibility.md
- Locking Pragmas: development-recommendations/solidity-specific/locking-pragmas.md
- Event Monitoring: development-recommendations/solidity-specific/event-monitoring.md
- Shadowing: development-recommendations/solidity-specific/shadowing.md
- tx.origin: development-recommendations/solidity-specific/tx-origin.md
- Timestamp Dependence: development-recommendations/solidity-specific/timestamp-dependence.md
- Complex Inheritance: development-recommendations/solidity-specific/complex-inheritance.md
- Interface Types: development-recommendations/solidity-specific/interface-types.md
- EXTCODESIZE Checks: development-recommendations/solidity-specific/extcodesize-checks.md
- Token-specific:
- Standardization: development-recommendations/token-specific/standardization.md
- Frontrunning: development-recommendations/token-specific/frontrunning.md
- Zero Address: development-recommendations/token-specific/zero-address.md
- Contract Address: development-recommendations/token-specific/contract-address.md
- Documentation:
- General: development-recommendations/documentation/general.md
- Specification: development-recommendations/documentation/specification.md
- Status: development-recommendations/documentation/status.md
- Procedures: development-recommendations/documentation/procedures.md
- Known Issues: development-recommendations/documentation/known-issues.md
- History: development-recommendations/documentation/history.md
- Contact: development-recommendations/documentation/contact.md
- Deprecated:
- Division by Zero: development-recommendations/deprecated/division-by-zero.md
- Functions and Events: development-recommendations/deprecated/functions-and-events.md
- Constructor Naming: development-recommendations/deprecated/constructor-naming.md
- Attacks:
- attacks/index.md
- Reentrancy: attacks/reentrancy.md
- Oracle Manipulation: attacks/oracle-manipulation.md
- Frontrunning: attacks/frontrunning.md
- Timestamp Dependence: attacks/timestamp-dependence.md
- Insecure Arithmetic: attacks/insecure-arithmetic.md
- Denial of Service: attacks/denial-of-service.md
- Griefing: attacks/griefing.md
- Force Feeding: attacks/force-feeding.md
- Deprecated/Historical: attacks/deprecated.md
- More: attacks/more.md
- Security Tools:
- security-tools/index.md
- Visualization: security-tools/visualization.md
- Static and Dynamic Analysis: security-tools/static-and-dynamic-analysis.md
- Classification: security-tools/classification.md
- Testing: security-tools/testing.md
- Linters and Formatters: security-tools/linters-and-formatters.md
- Bug Bounty Programs: bug-bounty-programs.md
- About:
- about/index.md
- License: about/license.md
theme:
name: 'material'
custom_dir: 'custom'
logo: 'assets/images/CDili.png'
favicon: 'assets/images/CDili_black.png'
language: en
features:
- toc.integrate
- navigation.instant
- header.autohide
# - navigation.sections
- navigation.top
- navigation.tabs
- navigation.tabs.sticky
- navigation.indexes
palette:
- scheme: default
primary: black
accent: deep-purple
toggle:
icon: material/lightbulb
name: Switch to light mode
- scheme: slate
primary: black
accent: cyan
toggle:
icon: material/lightbulb-outline
name: Switch to dark mode
extra_css:
- 'stylesheets/extra.css'
extra:
social:
- icon: fontawesome/solid/shield-alt
link: https://consensys.net/diligence/blog/
- icon: fontawesome/brands/github
link: https://github.com/ConsenSys/
- icon: fontawesome/brands/twitter
link: https://twitter.com/ConsenSysAudits
- icon: fontawesome/brands/medium
link: https://medium.com/consensys-diligence
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/channel/UCkoGLA5DUdXO4Qfo_9RDjIA/playlists
analytics:
provider: google
property: G-VYGQ8GTH45
markdown_extensions:
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.critic:
mode: view
- pymdownx.tasklist:
custom_checkbox: true
- admonition
- def_list
- footnotes
- meta
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.caret
- pymdownx.details
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tilde
- markdown_include.include