2 Smart Contract on Fantom and 1 Front End

Job ID: 32287642

Budget: $3,000 – $5,000 USD

Dear freelancers,


### SMART CONTRACT 1 ###

Write a Smart contract for staking token, copy and adapt the following contract:

https://etherscan.io/address/0x26fa3fffb6efe8c1e69103acb4044c26b9a106a9#code
or
https://etherscan.io/token/0x665ff8fAA06986Bd6f1802fA6C1D2e7d780a7369#writeProxyContract

requirements:
- All functions in the contract are to be changed only by the admin.
- possibility of staking and unstaking without locking.
- The "staking parameters" entries must be identical to the attachment.

FRONT END
- The interface must be similar to the one in the attached image, available at the link: https://abracadabra.money/spell-stake



### SMART CONTRACT 2 ###

Write a smart contract for the minting of Stablecoin in the fantom blockchain, you can copy and adapt the following contract:

https://ftmscan.com/address/0x82f0b8b456c1a451378467398982d4834b6829c1#writeContract


requirements:
- All functions in the contract are to be changed only by the admin.
- The contract must be able to accept only the tokens that the admin adds to the whitlist, the first token is the following:
0x35bd272c88d2dc370509689ddbe5259e1b50d34d
- The amount of stablecoin in the contract must be replanished via an admin function.
- If all amount of stablecoin is minted, then the admin will call the "replanish" function, to add more stablecoin.
- The name of the stablecoin is WUSD.
- The "Mint parameters" entries must be identical to the attachment.


How minting work (Borrow):
1) User selects the token to use as collateral.
2) user must also select the percentage of collateral he wishes to use (minimum 20% and maximum 80% by default but can be set by the admin).
3) user is informed of the liquidation price, at which his collateral is sold to cover his debt position.
4) If the collateral reaches the liquidation price, the smart contract carries out a sale transaction (of the collateral of the user or of multiple users) in exchange for $Ftm.


Fees for stablecoin minting (Borrow cost):
- Liquidation fee 10%
- Borrow fee 0.5%
- Interest 0.5%


How Repay Debt work:
1) user clicks "repay debt" and if his wallet contains the full amount of stablecoin to get his collateral back, then
2) the boxes "Debt amount" and "Collateral deposited" are auto-filled (otherwise an error message), then
3) user clicks the repay debt button and the transaction makes the exchange, minus 0.5% less (in tokens) as a commission.


FRONT END
- The interface must be similar to the one in the attached image, available at the link: https://abracadabra.money/pool/23


### FRONT END

- The GUI theme must be inspired by the world of frogs and the pond
- New token buttons and logos need to be developed


README
Reply to this announcement in the following text:

"I confirm the reading of the project"

to avoid being discarded along with bot proposals.

Thanks.
Related categories: JavaScript React.js Ethereum Solidity Web3.js