Down below is the function that is to be implemented in the contract but in cairo :
Resources :
https://book.cairo-lang.org/title-page.html
https://book.cairo-lang.org/ch16-02-02-component-dependencies.html?highlight=compon#component-dependencies
If you have any doubts over on how to implement something similar to this you can try discovering few cairo code bases such as :
Unruggable memecoin : https://github.com/keep-starknet-strange/unruggable.meme/tree/main/packages/contracts/src
Blobstream : https://github.com/keep-starknet-strange/blobstream-starknet/tree/main/src
Exclusively for Starknet India team - To onboard new devs from India
Estimated Time taken to complete - 2-3 days (Max)
Down below is the function that is to be implemented in the contract but in cairo :
Resources :
https://book.cairo-lang.org/title-page.html
https://book.cairo-lang.org/ch16-02-02-component-dependencies.html?highlight=compon#component-dependencies
If you have any doubts over on how to implement something similar to this you can try discovering few cairo code bases such as :
Unruggable memecoin : https://github.com/keep-starknet-strange/unruggable.meme/tree/main/packages/contracts/src
Blobstream : https://github.com/keep-starknet-strange/blobstream-starknet/tree/main/src
Exclusively for Starknet India team - To onboard new devs from India
Estimated Time taken to complete - 2-3 days (Max)