-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Emit event when donator contract is deployed #135
Comments
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm a frontend and smart contract developer. How I plan on tackling this issueHere is how I will tackle this task:
At the end of my implementation, Code builds successfully and event struct will have all the attributes needed. ETA: 24hrs. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm Poulav Bhowmick, a Starknet Wolf. I am a software engineer at Invisible Studios, and a blockchain engineer with a robust background in TypeScript, Rust, Solidity Cairo, fullstack development and blockchain technology. My experience includes building robust applications, optimizing functionalities and blockchain integration. I have actively participated in events and open source contributions, enhancing my capability to tackle real-world tech challenges. My projects can be viewed on my GitHub Profile and OnlyDust Profile. Plus I´m active member of Starknet, Ethereum, Stellar ecosystem. How I plan on tackling this issueTo solve this issue, I will modify the constructor of the Donator contract to emit an event when the contract is successfully deployed. This event will include the owner (caller address) and the new donator contract address, as specified in the issue. First, I will define an event structure that contains two fields: owner and contract_address. In the constructor, after the initial values are set, I will use Starknet's event emission functionality to emit this event, passing the owner and the contract address. I'll also ensure that the contract address is retrieved correctly using the Starknet context. Finally, I will write a test case to validate that the event is emitted with the correct data when the donator contract is deployed. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedAs a skilled solidity and cairo developer with experience in blockchain technologies and contribution to previous testing of smart contracts. Link to previous test: scaffoldstark testing How I plan on tackling this issue
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHey! I'm Gerson. 👋Member of Dojo Coding. I have contributed before to other Cairo projects like:
Can I work on this issue? Check my OnlyDust profile, I've contributed to many projects: Profile How I plan on tackling this issuePlan to Solve the Issue:
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHi! I’m Anwar a Software Developer with +3 years of experience, and I would love I'm excited to take on this issue to challenge myself, and contribute to the project's success. I'm also a member of the Dojo Coding community CR. How I plan on tackling this issueFirst, I’ll read through the Contributor Guidelines and README to ensure I understand the project structure, coding standards, and the process you’re following. I will begin by examining the donator manager contract to understand how and where the donator contracts are deployed. I will add an event that triggers upon successful deployment of a donator contract. The event will include the caller's address and the address of the newly created donator contract. I will define the event struct to include all necessary attributes After implementing the event, I will conduct tests to verify that the event is emitted correctly during deployment and that all required data is present. If I run into any problems or questions, I’ll reach out to the maintainers for assistance. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have been a developer for over 4 years and have been contributing to the Starknet ecosystem for more than a year. My recent contributions include work on cairo-lint and scaffold-starknet. I’m eager to participate in this project as I see a lot of potential in it and believe it adds valuable functionality to the Starknet ecosystem. Also I'm part of dojo-coding comunity! How I plan on tackling this issueI am going to create the event structure with the necessary parameters and when the function has been carried out correctly I am going to emit this event. It is an easy issue to solve |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am Shantel Peters, a frontend and blockchain developer .My experience with smart contracts will aid in efficiently implementing this functionality. How I plan on tackling this issueTo address the issue of emitting an event upon the successful deployment of a donator contract, I would define a new event structure that includes the owner’s address and the new donator contract address. In the donator manager contract, I would implement the logic to emit this event immediately after a donator contract is deployed. I will ensure the code builds successfully and that the event struct captures all necessary attributes. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have contributed to several Cairo projects on OnlyDust and I've worked on very similar issues in the past such as ArkProjectNFTs/bridge#236 How I plan on tackling this issueI will carefully add the necessary Starknet event and will make sure to emit it correctly where it is required. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI bring 2 years of experience writing tests for Solidity smart contracts, with specialized focus on event-driven architectures. Recently, I've expanded into Cairo development where I've noticed interesting parallels between ERC event patterns and Starknet's event system. Working with leveling mechanisms in gaming contracts has given me particular insight into contracts with state progression like this donator contract, where tracking level changes and donations through events becomes crucial for off-chain applications. How I plan on tackling this issueCore Event Implementation: Define DonatorCreated event capturing owner address and initial level state, which enables tracking user progression from genesis State Management: Ensure event emission aligns with DonatorConstants initialization, particularly INITIAL_LEVEL and INITIAL_MAX_STARKS_DONATION_TO_NEXT_LEVEL Integration Pattern: Structure event to enable future linking with Fund contract events for comprehensive donation tracking |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a cairo dev. A new-comer here, willing and ready to contribute to contribute to solve the issue. |
This issue will be part of ODHack9.0, please apply via Onlydust app
Acceptance Criteria
The text was updated successfully, but these errors were encountered: