2 个仓库
Immutable settings defined at the contract level to optimize execution costs.
Distinct from Default Configuration Values: Distinct from Default Configuration Values: focuses on immutable contract-level optimization rather than fallback settings.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Contract Configuration Values. Refine with filters or upvote what's useful.
OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the development of decentralized applications. It provides a foundational framework for building standard-compliant contracts, offering battle-tested implementations for token standards, access control, and common utility patterns. The project distinguishes itself through its comprehensive support for complex architectural patterns, including proxy-based upgradeability, role-based access control, and account abstraction. It enables developers to implement modular logic injection via hoo
Combines multiple small values into a single 32-byte storage slot to reduce gas costs associated with reading and writing contract state.
Solmate 是一个用于在 Solana 区块链上开发安全高效智能合约的 Gas 优化构建块和库集合。它提供了一套标准化工具,包括用于管理用户角色和所有权的角色访问控制框架、用于十进制和有符号整数计算的高精度定点数学库,以及用于验证数据包含的 Merkle 证明验证器。 该项目提供用于发行和转移同质化及非同质化代币的安全代币实现。这些实现包括防止资产转移期间静默失败的安全检查,以及用于金库和封装资产变体的 Gas 高效模板。 该库涵盖了更广泛的能力领域,包括确定性合约部署、通过类型转换进行链上数据管理,以及重入保护等智能合约安全措施。它还利用优化的存储模式来减少执行开销和状态更新成本。
Combines multiple small values into single storage slots to optimize gas usage and state updates.