-
Notifications
You must be signed in to change notification settings - Fork 56
Advanced contract
task type
#265
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
Comments
Hey @Marchand-Nicolas let me work on this |
Hi @martinvibes! |
hello @dmirgaleev i am a frontend dev and blockchain developer |
Hi @vickiddev! |
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 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 issueTo address the requirements of the issue, I will:
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a Full Stack blockchain Developer with expertise in Next.js, Nest.js, TypeScript, JavaScript, React, Node.js, Three.js, Solidity and rust. My journey with OnlyDust hackathons began at Edition 1, and I've since made 69 contributions across 14 projects. With my extensive experience on the OnlyDust platform (profile: https://app.onlydust.com/u/Ugo-X), I've honed my skills in delivering quality solutions under pressure. I bring a unique blend of technical proficiency and user-focused design to every project, whether it's crafting immersive 3D experiences or developing smart contracts. My track record shows I can adapt quickly and contribute effectively to diverse challenges. As we surf through Edition 8, I'm excited to leverage my skills and hackathon experience to push the boundaries of blockchain development. I'm confident in my ability to tackle new challenges and drive innovation in this space. How I plan on tackling this issueI will approach this issue in the following manner:
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm Poulav Bhowmick, a software engineer at Invisible Studios 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 ecosystem. How I plan on tackling this issueI will address this issue by implementing the following steps: Update QuestTaskDocument Type: I'll start by adding the calls field to the QuestTaskDocument type in src/models.rs if it doesn't already exist. I'll implement a new verify_contract route in src/endpoints/quests. After executing each contract call, I'll validate the output using the corresponding regex field to ensure the results meet the specified criteria. To ensure consistency and efficiency, I will reuse code from the verify_balance route where applicable, adapting it to handle the advanced contract task logic. ETA - 2 days |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have experience in Rust programming, particularly in web development or smart contract interactions, this knowledge will be critical in implementing the new route and handling contract calls efficiently. Familiarity with blockchain concepts and contract calls will aid in ensuring that the new route functions as intended and meets user requirements. How I plan on tackling this issueApproach to Adding the verify_contract Route In src/models.rs, check if the calls field is present in QuestTaskDocument. If not, add it as an array of Call type. #[derive(Deserialize, Serialize)] In src/endpoints/quests, create a new route for verify_contract. Iterate through the calls array, executing each call with the specified entry_point and call_data. After executing each call, apply the corresponding regex to validate the output. Write unit tests for the new route, ensuring it correctly handles various scenarios, including regex matches and mismatches. Update any relevant API documentation to reflect the new verify_contract route and its usage. Push changes to a new branch and create a PR for review, detailing the implementation and any tests added. |
The maintainer Marchand-Nicolas has assigned Ugo-X to this issue via OnlyDust Platform. |
Thank you ser, will get to it. |
Description
Advanced
contract
task type: the aim of this PR is to add a newverify_contract
route insrc\endpoints\quests
.PROPOSED TODO
calls
optional field to theQuestTaskDocument
type insrc\models.rs
if it is not already present. This is an array ofCall
. EachCall
is an object with the following fields:contract
(string),call_data
(string array),entry_point
(string),regex
(string). If it doesn't already exist, I suggest you to create aCall
type that you can then use to type theCalls
field.verify_balance
route.regex
field corresponding to field.The text was updated successfully, but these errors were encountered: