Skip to content

TSxo/libsol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libsol

CI License: MIT

A suite of opinionated, optimized smart contract modules.

Contracts

The smart contracts are located in the src directory.

.
├── auth
│   ├── IOwned.sol
│   ├── managed
│   │   ├── AuthManaged.sol
│   │   ├── AuthManager.sol
│   │   ├── IAuthManaged.sol
│   │   ├── IAuthManager.sol
│   │   └── IAuthority.sol
│   └── Owned.sol
├── mixins
│   ├── CallContext.sol
│   └── Mutex.sol
├── pause
│   ├── IPausable.sol
│   ├── managed
│   │   ├── IPauseAuthority.sol
│   │   ├── IPauseManaged.sol
│   │   ├── IPauseManager.sol
│   │   ├── PauseManaged.sol
│   │   └── PauseManager.sol
│   └── Pausable.sol
└── proxy
    ├── ERC1967
    │   └── ERC1967Logic.sol
    ├── Proxy.sol
    └── UUPS
        ├── UUPSImplementation.sol
        └── UUPSProxy.sol

Purpose & License

This project is primarily for research purposes. It is licensed under MIT, and you are free to use the code however you wish. Please be sure to carefully note the disclaimer section below.

Many of the patterns implemented in this repository are well-known and popularized by established projects in the ecosystem. My thanks and appreciation to the many developers whose work has influenced this project.

Notably, heavy inspiration is taken from:

This project is under active development. New modules and features will be added to enhance functionality and performance.

Contributions and suggestions are welcome.

Disclaimer

This suite of contracts prioritize an opinionated balance of optimization and readability. They were not designed with user safety in mind and contain minimal safety checks. It is experimental software and is provided as-is, without any warranties or guarantees of functionality, security, or fitness for any particular purpose.

There are implicit invariants these contracts expect to hold. Users and developers integrating this contract do so at their own risk and are responsible for thoroughly reviewing the code before use.

The author assumes no liability for any loss, damage, or unintended behavior resulting from the use, deployment, or interaction with this contract.

About

A suite of opinionated, optimized smart contract modules.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published