Skip to content

Releases: BuildsWithKing/buildswithking-security

v1.6.0 – Centralized Access Control Refactor

20 Nov 06:57

Choose a tag to compare

This release introduces a structural refactor across five modules to improve modularity and maintainability:

  • Removed inline onlyKing modifiers from Kingable, KingableContracts, KingableEOAs, KingablePausable, and KingPausable.
  • Centralized access control logic via KingAccessControlLite.
  • No changes to public interfaces - fully backward compatible.
  • Cleaner inheritance and reduced duplication.

This update lays the groundwork for more scalable role-based access patterns across the King ecosystem.

v1.5.0 - KingERC20 token, Interfaces and exetensions.

18 Nov 09:43

Choose a tag to compare

🛠 Added

Tokens – ERC20

  • KingERC20: Gas-efficient, clean core token implementation.

Extensions:

  • KingERC20Burnable
  • KingERC20Mintable
  • KingERC20Pausable
  • KingERC20Capped

Interfaces:

  • IERC20
  • IERC20Metadata

Errors:

  • KingERC20Errors – Centralized custom error definitions for ERC20 modules.

v1.4.0 - New Security Primitive

18 Nov 09:29
31e5672

Choose a tag to compare

🛠 Added

Core

KingAccessControlLite: Minimal and Gas-efficient role-based access control module for king-based contracts.

Utils

KingCheckAddressLib: Utility library providing zero-address validation for secure address checks.

v1.3.0 – New Security Primitives

20 Oct 10:49
31e5672

Choose a tag to compare

🛠 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.

Extensions Modules

26 Sep 12:30
246656d

Choose a tag to compare

  • Added KingableEOAs.sol
  • Added KingableContracts.sol
  • Added KingPausable.sol
  • Added KingablePausable.sol
  • Added extensions for core Kingable functionality

Core Access Control Modules

26 Sep 12:29
246656d

Choose a tag to compare

  • Added Kingable.sol
  • Added KingImmutable.sol
  • These are the base access control contracts for BuildsWithKing-Security

v1.0.1 - Added Kingable Access Control

18 Sep 14:08
246656d

Choose a tag to compare

🚀 What’s New

  • Added access/Kingable.sol (strict EOA-based ownership model for contracts).
  • Repo structured into contract/access.

v1.0.0 - Added ReentrancyGuard Security

18 Sep 13:14
8147e5f

Choose a tag to compare

🚀 What’s New

  • Added security/ReentrancyGuard