nexlabsweb3 / scanguard

https://scanguard.vercel.app
2 stars 2 forks source link

Create and emit events for register_product() #6

Open zintarh opened 16 hours ago

zintarh commented 16 hours ago

This issues is part of ODHACK 9.0, apply via the platform

Thank you for showing interest!

Ensure that relevant data is captured in the events

Please ensure to provide an ETA.

Looking forward to seeing your great work!

No-bodyq commented 15 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I am a full-stack and web3 dev with experience in writing smart contracts in Cairo

How I plan on tackling this issue

I will create a struct that derives from the starknet event trait and add the data fields to be be emitted with the event, add the event to an event enum then ensure it is properly emitted when the function is called ETA is 2 days

CollinsC1O commented 11 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Hello I'm a front-end and a blockchain developer. I will love to solve this issue. please assign

MullerTheScientist commented 6 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I am a full-stack developer with experience in QA testing and languages like Python, Cairo, Solidity, React, and JavaScript.

How I plan on tackling this issue

i will Add event emission to the register_product() function. Create a new ProductRegistered event instance with the relevant data.