erc1363-payable-token

Reference implementation for the ERC-1363 Payable Token

MIT License

Downloads
173
Stars
131
Committers
2

Bot releases are hidden (Show)

erc1363-payable-token - v6.1.0 Latest Release

Published by vittominacori about 2 months ago

What's Changed

Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v6.0.0...v6.1.0

erc1363-payable-token - v6.0.0

Published by vittominacori 6 months ago

What's Changed

  • feat: add ERC1363Payable contract as example
  • feat: add ERC20 tests against ERC1363
  • feat: rename owner to initialHolder to avoid confusion
  • feat: move ERC1363Guardian to presets
  • chore: remove truffle
  • chore: bump version
  • fix(ci): temp disable slither pragma detector d4ea674

NOTE

ERC1363Guardian, has been moved from examples to presets.

If you used ERC1363Guardian update your contracts with the new path. You MUST also implements _transferReceived and _approvalReceived.

pragma solidity ^0.8.20;

-import {ERC1363Guardian} from "erc-payable-token/contracts/examples/ERC1363Guardian.sol";
+import {ERC1363Guardian} from "erc-payable-token/contracts/presets/ERC1363Guardian.sol";

contract MyContract is ERC1363Guardian {    
    // your stuff
+    function _transferReceived(address token, address operator, address from, uint256 value, bytes calldata data) internal override {
+        // your stuff
+    }

+    function _approvalReceived(address token, address owner, uint256 value, bytes calldata data) internal override {
+        // your stuff
+    }
}

Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.4.0...v6.0.0

erc1363-payable-token - v5.4.0

Published by vittominacori 7 months ago

What's Changed

Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.3.0...v5.4.0

erc1363-payable-token - v5.3.0

Published by vittominacori 8 months ago

What's Changed

Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.2.0...v5.3.0

erc1363-payable-token - v5.2.0

Published by vittominacori 9 months ago

erc1363-payable-token - v5.1.7

Published by vittominacori 9 months ago

Fix a typo.

erc1363-payable-token - v5.1.6

Published by vittominacori 9 months ago

erc1363-payable-token - v5.1.5

Published by vittominacori 9 months ago

Update readme and update dependencies and test.

What's Changed

Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.4...v5.1.5

erc1363-payable-token - v5.1.4

Published by vittominacori 11 months ago

erc1363-payable-token - v5.1.3

Published by vittominacori 11 months ago

  • Update solc to 0.8.23
  • Update dependencies

Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.2...v5.1.3

erc1363-payable-token - v5.1.2

Published by vittominacori 12 months ago

Fix typos and update deps

erc1363-payable-token - v5.1.1

Published by vittominacori 12 months ago

Update solc dependency and some documentation

erc1363-payable-token - v5.1.0

Published by vittominacori almost 1 year ago

  • Refactor the utilities and example files.
  • Add documentation
erc1363-payable-token - v5.0.0

Published by vittominacori about 1 year ago

  • Update OpenZeppelin reference to 5.0.0
  • Use custom errors in ERC1363
  • Bumb minimum compiler version to 0.8.20
  • Add ERC1363Holder
  • Improve documentation
  • Improve tests
  • Add slither and codespell
erc1363-payable-token - v4.9.7

Published by vittominacori about 1 year ago

Check transfer or approval reverts instead of returning boolean

erc1363-payable-token - v4.9.6

Published by vittominacori about 1 year ago

Add gas report

erc1363-payable-token - v4.9.5

Published by vittominacori about 1 year ago

Remove use of address library to reduce code size

erc1363-payable-token - v4.9.4

Published by vittominacori about 1 year ago

Update expect event test

erc1363-payable-token - v4.9.3

Published by vittominacori about 1 year ago

Update dependencies

erc1363-payable-token - v4.9.2

Published by vittominacori over 1 year ago

Update dependencies

Package Rankings
Top 4.87% on Npmjs.org
Badges
Extracted from project README
NPM Package CI Coverage Status MIT licensed
Related Projects