Closed djeck1432 closed 1 month ago
I am applying to this issue via OnlyDust platform.
Software engineering background majored in backend & Smart contract development
I would : Define the endpoint route as /api/multipliers.
Implement logic to return multipliers for tokens in JSON format.
Create a data class named TokenMultipliers with the following attributes:
ETH = 5
STRK = 2.5
USDC = 5
Define a response model called TokenMultipliersResponse to structure the response for the multipliers.
Use the TokenMultipliers data class to fetch the multipliers.
Return the data in the structure defined by TokenMultipliersResponse.
I am applying to this issue via OnlyDust platform.
I am a Full Stack Developer with experience in maintaining and upgrading codebases to align with the latest standards. I am skilled with writing Cairo, Rust, Javascript and Python. I’ve successfully worked on over 12 projects in the OnlyDust ecosystem, ensuring smooth transitions during updates.
In order to tackle this task, I will start by setting up the project following the README.md
. In position.py
, I will create a new endpoint, get_multipliers
, which will return data in the format {"ETH": <multiplier>}
. I will define a TokenMultipliers dataclass in constants.py
with the given values for ETH, STRK, and USDC
. I will also create a serializer response model, TokenMultipliersResponse
, in position.py
for the new endpoint. I like orange.
I am applying to this issue via OnlyDust platform.
I am a First Principle Engineer, Python developer and software engineer with ample experience in building software application , python application and web3 applications.
get_multiplier
to get the multiplier of the token symbol that is passed from the request and return it as a json response in the format of {"ETH": <multilpier>}
.I am applying to this issue via OnlyDust platform.
starknet foundry- #2581
Hi, please can I be assigned this please? This would be my first time contributing to this project and I would love to be the given the opportunity to contribute. I have experience in html, css, JavaScript,TypeScript and python, and Cairo.
To solve this sissue, I'll take the following steps:
1.I'll create new endpoint route as /api/multipliers get_multipliers, which will return data in the format {"ETH":
I like orange
get_mulitpiers
which will return data like{"ETH": <multilpier>}
dataclass
which is calledTokenMultipliers
in constants.py with next values:TokenMulitpliersResponse
in posotion.py