Skip to content

Releases: vittominacori/erc1363-payable-token

v6.0.0

12 Apr 14:14
Compare
Choose a tag to compare

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: v5.4.0...v6.0.0

v5.4.0

27 Mar 17:09
Compare
Choose a tag to compare

What's Changed

  • chore: update dependencies and solc
  • feat: move docs to vitepress by @vittominacori in #26

Full Changelog: v5.3.0...v5.4.0

v5.3.0

01 Mar 15:31
Compare
Choose a tag to compare

What's Changed

  • update node to v20 and solc to v0.8.24
  • chore: update solidity-coverage
  • chore(deps-dev): bump ip from 1.1.8 to 1.1.9 by @dependabot in #24
  • chore(deps-dev): bump undici from 5.28.2 to 5.28.3 by @dependabot in #23
  • chore(deps): bump @openzeppelin/contracts from 5.0.1 to 5.0.2 by @dependabot in #25

Full Changelog: v5.2.0...v5.3.0

v5.2.0

25 Jan 09:20
5f8e412
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.1.7...v5.2.0

v5.1.7

22 Jan 10:21
Compare
Choose a tag to compare

Fix a typo.

v5.1.6

22 Jan 10:13
Compare
Choose a tag to compare

Update return values docs.

Full Changelog: v5.1.5...v5.1.6

v5.1.5

18 Jan 14:02
Compare
Choose a tag to compare

Update readme and update dependencies and test.

What's Changed

  • chore(deps-dev): bump follow-redirects from 1.15.3 to 1.15.4 by @dependabot in #18

Full Changelog: v5.1.4...v5.1.5

v5.1.4

08 Dec 18:53
Compare
Choose a tag to compare

Update dependencies

Full Changelog: v5.1.3...v5.1.4

v5.1.3

14 Nov 14:20
Compare
Choose a tag to compare
  • Update solc to 0.8.23
  • Update dependencies

Full Changelog: v5.1.2...v5.1.3

v5.1.2

27 Oct 08:13
e2b7bfe
Compare
Choose a tag to compare

Fix typos and update deps