fix: set indexed address to filter
This commit is contained in:
parent
260568d62d
commit
e207b779b8
@ -19,9 +19,9 @@ contract SoulboundToken is ERC721, Ownable {
|
|||||||
mapping(address => Certificate[]) private certificates;
|
mapping(address => Certificate[]) private certificates;
|
||||||
mapping(address => uint) private address_to_number;
|
mapping(address => uint) private address_to_number;
|
||||||
|
|
||||||
event Borrow(address client, address shop, address bank, uint id, uint amount);
|
event Borrow(address indexed client, address indexed shop, address indexed bank, uint id, uint amount);
|
||||||
event Repay(address client, address bank, uint id, uint amount);
|
event Repay(address indexed client, address indexed bank, uint id, uint amount);
|
||||||
event Warning(address client, address bank);
|
event Warning(address indexed client, address indexed bank);
|
||||||
|
|
||||||
constructor() ERC721("Credit System Soulbound Token", "CS_SBT") {}
|
constructor() ERC721("Credit System Soulbound Token", "CS_SBT") {}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user