Releases: vittominacori/erc1363-payable-token
Releases · vittominacori/erc1363-payable-token
v6.0.0
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
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
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
What's Changed
- feat: check erc20 return behavior by @vittominacori in #22
Full Changelog: v5.1.7...v5.2.0
v5.1.7
Fix a typo.
v5.1.6
Update return values docs.
Full Changelog: v5.1.5...v5.1.6
v5.1.5
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
Update dependencies
Full Changelog: v5.1.3...v5.1.4
v5.1.3
- Update solc to 0.8.23
- Update dependencies
Full Changelog: v5.1.2...v5.1.3
v5.1.2
Fix typos and update deps