bartjellema/BoringSolidity
Sobre
Contratos e bibliotecas básicos em Solidity para facilitar o desenvolvimento.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- -1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalBoringSolidity
BoringSolidity is a collection of general purpose Solidity contracts that have been reasonably optimized, reviewed and tested. Still, they come with no guarantees and are provided as-is.
BoringOwnable
This is a combination of the well known Ownable and Claimable patterns. It's streamlined to reduce the amount of functions exposed for gas savings.
BoringERC20
This is not a full ERC20 implementation, as it's missing totalSupply. It's optimized for minimal gas usage while remaining easy to read.
BoringFactory
Simple universal factory to create minimal proxies from masterContracts.
BoringBatchable
Extension to be added to any contract to allow calling multiple functions on the contract in a batch (a single EOA call). The EIP 2612 permit proxy function is included because it's common to approve spending before calling other functions on a contract.
BoringRebase
The Rebase struct and RebaseLibary make it easy to track amounts and shares in a single storage slot. This will limit amounts and shares to 128 bits, but if used for token balances, this should be enough for pretty much all tokens that have real use.
Licence
MIT
Explore projetos relacionados
Carregando…