File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
contracts/prebuilts/token Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,10 @@ contract TokenERC1155 is
173
173
174
174
_setupRole (METADATA_ROLE, _defaultAdmin);
175
175
_setRoleAdmin (METADATA_ROLE, METADATA_ROLE);
176
+
177
+ emit PrimarySaleRecipientUpdated (_primarySaleRecipient);
178
+ emit PlatformFeeInfoUpdated (_platformFeeRecipient, _platformFeeBps);
179
+ emit DefaultRoyalty (_royaltyRecipient, _royaltyBps);
176
180
}
177
181
178
182
/// ===== Public functions =====
Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ contract TokenERC20 is
112
112
_setupRole (TRANSFER_ROLE, _defaultAdmin);
113
113
_setupRole (MINTER_ROLE, _defaultAdmin);
114
114
_setupRole (TRANSFER_ROLE, address (0 ));
115
+
116
+ emit PrimarySaleRecipientUpdated (_primarySaleRecipient);
117
+ emit PlatformFeeInfoUpdated (_platformFeeRecipient, _platformFeeBps);
115
118
}
116
119
117
120
/// @dev Returns the module type of the contract.
Original file line number Diff line number Diff line change @@ -154,6 +154,10 @@ contract TokenERC721 is
154
154
155
155
_setupRole (TRANSFER_ROLE, _defaultAdmin);
156
156
_setupRole (TRANSFER_ROLE, address (0 ));
157
+
158
+ emit PrimarySaleRecipientUpdated (_saleRecipient);
159
+ emit PlatformFeeInfoUpdated (_platformFeeRecipient, _platformFeeBps);
160
+ emit DefaultRoyalty (_royaltyRecipient, _royaltyBps);
157
161
}
158
162
159
163
/// ===== Public functions =====
You can’t perform that action at this time.
0 commit comments