-
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 user withdraw fund's balance #139
Comments
Hello I'm a front-end and a blockchain developer and will love to work on this |
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 withdraw method of the Fund contract to emit an event when a withdrawal is made. The event will include the fund contract address (retrieved using get_contract_address()), the owner's address (retrieved using get_caller_address()), and the amount of STRKs withdrawn. I will define an event structure with fields for the contract address, owner address, and the withdrawn STRK amount. After the withdrawal is completed and the STRK tokens are transferred, I will emit this event. Additionally, I will write test cases to ensure that the event is emitted correctly with the appropriate data when a withdrawal occurs. |
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 issueI'll start by defining the event in the fund contract |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello! My name is Lukman, and I am a passionate Smart Contract Developer with two years of experience in writing smart contracts. My hands-on experience spans various blockchain platforms, including Ethereum and Starknet. I’m eager to leverage my skills in developing efficient, secure, and innovative solutions in the blockchain space. How I plan on tackling this issueTo tackle this issue, I will begin by reviewing the existing withdraw method in the fund contract to identify where the event should be emitted. I will then define a new event struct that includes the fund contract address, owner address, and the amount of STRKs withdrawn, ensuring all required attributes are incorporated. Finally, I will implement the event emission within the withdraw method and test the code to ensure it builds successfully. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedhello @ i'm an experienced frontend developer and a blockchain developer i would love to work on this issue How I plan on tackling this issuei would make sure it is working and test it to make sure it is working |
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 leveragedHi, I'm data analyst / SC dev. For last half a year i ve been participating in development of DeFi products on Starknet, thus i have quite extensive hands on experience with Cairo. While I have solid experience with cairo i believe theres always room to learn from new codebases and other developers. How I plan on tackling this issue
ETA 1 day |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedGM @adrianvrj, I am Sagar Rana, a smart contract developer and full stack engineer. I have 3 years of experience building robust full stack applications and over a year of writing smart contracts. You can see my projects and contributions to some major repos on my GitHub profile. The tech stack I use mainly includes Solidity, Rust, Cairo and Typescript. I am also contributing to the Starknet and Rust ecosystems and building on Cairo and Rust languages. I am interested in contributing to projects like this to learn more about these technologies and help make these projects better. Please assign me as I would be really glad to be a contributor in this project! :) How I plan on tackling this issue
ETA: 2 Days |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI bring 2 years of hands-on experience in writing and optimizing tests for Solidity smart contracts, which has given me strong foundation in blockchain testing patterns. Recently, I've expanded my expertise into Cairo development, actively writing contracts and their corresponding tests. My combination of established testing experience in Solidity and fresh perspective in Cairo, along with deep theoretical knowledge, positions me well to tackle this testing challenge effectively. How I plan on tackling this issueIn the |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm Software Enginer Backend SR in web 2.0. I'm learning Cairo I don't have many experience with the language but i can work on it How I plan on tackling this issueI will found the code that receive a new donation and I will add the event as it expected |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a typescript dev. A new-comer here, willing and ready to contribute to contribute to solve the issue. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello guys, I have been working for the past 4 years as a developer with multiple languages such as ts, and for the past 3 months learning and working with cairo on my own projects. How I plan on tackling this issueI would look for the method that needs the event emitted, follow the guidelines of the contributor guide and test it´s different cases |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm a full-stack developer with web3 experience member of Dojo Coding, specializing in smart contracts and decentralized applications. I've worked on projects using React, Solidity, Cairo, and blockchain tools. My skills in both front-end and back-end development allow me to build scalable and secure solutions for web3 ecosystems. How I plan on tackling this issue
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello, I am Manuel, a process engineer and web3 developer. I have participated in Starknet Bootcamps, ETHGlobal and am an Elite winner of Speedrunstark. I have a high capacity to solve problems. I am a member of the DojoCoding community. How I plan on tackling this issueModify the withdraw method in the fund contract to emit an event when a new donation is received, including the fund contract address, owner address, and the amount of STRKs withdrawn. I'll work diligently until the desired outcome is achieved, ensuring the code builds successfully and the event struct contains all necessary attributes. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI’m a blockchain developer with expertise in Rust , Cairo and Solidity, experienced in writing and testing smart contracts How I plan on tackling this issueModify the withdrawal function to emit an event containing the contract address, [1]=>owner address, and STRKs amount withdrawn. |
This issue will be part of ODHack9.0, please apply via Onlydust app
withdraw
method.Acceptance Criteria
The text was updated successfully, but these errors were encountered: