Closed adrianvrj closed 1 week ago
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.
I'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.
To 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.
As 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
I'll start by defining the event in the fund contract I'll implement the withdraw method in the fund contract I'll create a test file for the fund contract and add a test case I'll ensure the event is properly defined and emitted, and that the tests pass successfully.
I am applying to this issue via OnlyDust platform.
Hello! 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.
To 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.
hello @ i'm an experienced frontend developer and a blockchain developer i would love to work on this issue Pleasee kindly assign :)
i would make sure it is working and test it to make sure it is working
I am applying to this issue via OnlyDust platform.
I have contributed to several Cairo projects on OnlyDust and I've worked on very similar issues in the past such as https://github.com/ArkProjectNFTs/bridge/pull/236
I 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.
Hi, 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.
withdraw
func.ETA 1 day
I am applying to this issue via OnlyDust platform.
GM @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! :)
Event
enum in fund.cairo
with an event called Withdrawn: Withdrawn
, and the struct definition of Withdrawn
self.emit(Withdrawn{})
after the last self.setState() statement in the withdraw
function.owner
, amount
and contract_address
I am applying to this issue via OnlyDust platform.
I 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.
In the withdraw
method, emit an event after the withdrawal occurs. The event should include the fund contract address (get_contract_address()
), the owner address (self.getOwner()
), and the STRKs amount withdrawn (retrieved from the balance_of
function). Update the method to trigger this event with the correct values after successfully transferring the funds.
I am applying to this issue via OnlyDust platform.
I'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
I 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.
I 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.
Hello 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.
I 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.
I'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.
I am applying to this issue via OnlyDust platform.
Hello, 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.
Modify 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.
I’m a blockchain developer with expertise in Rust , Cairo and Solidity, experienced in writing and testing smart contracts
Modify the withdrawal function to emit an event containing the contract address, [1]=>owner address, and STRKs amount withdrawn. [2]=>Define the event struct with the required attributes. [3]=>Ensure the code builds successfully after the implementation. [4]=>Run tests to verify that the event emits the correct values during withdrawal. I’ll ensure the event is emitted correctly and the contract remains functional with passing tests. please /assign
This issue will be part of ODHack9.0, please apply via Onlydust app
withdraw
method.Acceptance Criteria