Skip to content

Commit

Permalink
refactor!: remove LSP4Compatibility contract + ERC20 Compatible tok…
Browse files Browse the repository at this point in the history
…en interfaces `ILSP7CompatibleERC20` / `ILSP8CompatibleERC721` (#749)

* refactor: inheritance of LSP7/8 Compatible

* refactor!: remove `LSP4Compatibility` contract + interface

* refactor!: remove ILSP7ERC20 and ILSP8ERC721 Compatible interfaces

* fix: support ERC20 interfaces in `LSP7CompatibleERC20`

* refactor: remove unecessary imports and overriden functions

* docs: add `ERC20Metadata` in ignored interfaceIds
  • Loading branch information
CJ42 authored Oct 17, 2023
1 parent b1ad8dd commit b038412
Show file tree
Hide file tree
Showing 28 changed files with 922 additions and 1,474 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ jobs:
"upinit",
"lsp1",
"lsp2",
"lsp4",
"lsp6",
"lsp6init",
"lsp7",
Expand Down
1 change: 1 addition & 0 deletions constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const INTERFACE_IDS = {
ERC165: '0x01ffc9a7',
ERC1271: '0x1626ba7e',
ERC20: '0x36372b07',
ERC20Metadata: '0xa219a025',
ERC223: '0x87d43052',
ERC721: '0x80ac58cd',
ERC721Metadata: '0x5b5e139f',
Expand Down
25 changes: 0 additions & 25 deletions contracts/LSP4DigitalAssetMetadata/ILSP4Compatibility.sol

This file was deleted.

41 changes: 0 additions & 41 deletions contracts/LSP4DigitalAssetMetadata/LSP4Compatibility.sol

This file was deleted.

83 changes: 0 additions & 83 deletions contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol

This file was deleted.

Loading

0 comments on commit b038412

Please sign in to comment.