Add ERC1363 implementation (#4631)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
Vittorio Minacori
2024-01-24 09:38:25 +01:00
committed by GitHub
parent a51f1e1354
commit e5f02bc608
21 changed files with 1227 additions and 215 deletions

View File

@ -31,6 +31,14 @@ const SIGNATURES = {
'onERC1155Received(address,address,uint256,uint256,bytes)',
'onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)',
],
ERC1363: [
'transferAndCall(address,uint256)',
'transferAndCall(address,uint256,bytes)',
'transferFromAndCall(address,address,uint256)',
'transferFromAndCall(address,address,uint256,bytes)',
'approveAndCall(address,uint256)',
'approveAndCall(address,uint256,bytes)',
],
AccessControl: [
'hasRole(bytes32,address)',
'getRoleAdmin(bytes32)',