Project Events
This section covers the events related to project management.
ProjectIdClaimed
event ProjectIdClaimed(uint256 projectId, address admin)Parameters
Description
Example
// Listen for project ID claim events
papayaContract.on("ProjectIdClaimed", (projectId, admin) => {
console.log(`Project ID ${projectId} claimed by ${admin}`);
});SetDefaultSettings
event SetDefaultSettings(uint256 indexed projectId, uint16 protocolFee)Parameters
Description
Example
SetSettingsForUser
Parameters
Description
Example
Last updated