Reference implementation for the ERC-1363 Payable Token
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v6.0.0...v6.1.0
Published by vittominacori 6 months ago
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
Published by vittominacori 7 months ago
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.3.0...v5.4.0
Published by vittominacori 8 months ago
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.2.0...v5.3.0
Published by vittominacori 9 months ago
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.7...v5.2.0
Published by vittominacori 9 months ago
Fix a typo.
Published by vittominacori 9 months ago
Update return values docs.
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.5...v5.1.6
Published by vittominacori 9 months ago
Update readme and update dependencies and test.
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.4...v5.1.5
Published by vittominacori 11 months ago
Update dependencies
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.3...v5.1.4
Published by vittominacori 11 months ago
Full Changelog: https://github.com/vittominacori/erc1363-payable-token/compare/v5.1.2...v5.1.3
Published by vittominacori 12 months ago
Fix typos and update deps
Published by vittominacori 12 months ago
Update solc dependency and some documentation
Published by vittominacori almost 1 year ago
Published by vittominacori about 1 year ago
ERC1363Holder
Published by vittominacori about 1 year ago
Check transfer or approval reverts instead of returning boolean
Published by vittominacori about 1 year ago
Add gas report
Published by vittominacori about 1 year ago
Remove use of address library to reduce code size
Published by vittominacori about 1 year ago
Update expect event test
Published by vittominacori about 1 year ago
Update dependencies
Published by vittominacori over 1 year ago
Update dependencies