0.0.6 • Published 3 years ago

soliutils v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

soliutils

A collection of basic contracts that I reuse all the time

Install an usage

Install with

npm i -D soliutils @openzeppelin/contracts-upgradeable

and use as usual. For example, the UUPSUgradeable template:

import "@secrez/soliutils/contracts/UUPSUpgradeableTemplate.sol";

contract YourUpgradeableContract is UUPSUpgradeableTemplate {

  function initialize() public initializer {
    __UUPSUpgradableTemplate_init();
  }

  function _authorizeUpgrade(address newImplementation) internal virtual override onlyOwner {}
  
...

History

0.0.6

  • Emit emit ImplementationUpgraded(newImplementation); in _authorizeUpgrade

0.0.3

  • Just set adding ERC721Receiver.sol and UUPSUpgradeableTemplate.sol and fixed some minor issue

License

MIT

Copyright

(c) 2021 Francesco Sullo

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago