Skip to content

v1.3.0 – New Security Primitives

Choose a tag to compare

@BuildsWithKing BuildsWithKing released this 20 Oct 10:49
· 13 commits to main since this release
31e5672

🛠 Added

Guards

KingClaimMistakenETH.sol – Enables users to reclaim ETH mistakenly sent to child contracts.

KingRejectETH.sol – Rejects direct ETH transfers to child contracts, improving safety.

Utils

KingReentrancyAttacker.sol – Reusable attacker contract for testing reentrancy vulnerabilities in dev/test environments.

KingVulnerableContract.sol – Intentionally insecure contract for simulating and learning from reentrancy exploits.


🔁 Updated

ReentrancyGuard refactored, optimized for gas, and renamed to KingReentrancyGuard.