Skip to content
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

Infrastructure Tool: Branded dollar creation #38

Open
37aces opened this issue Sep 21, 2021 · 10 comments
Open

Infrastructure Tool: Branded dollar creation #38

37aces opened this issue Sep 21, 2021 · 10 comments
Assignees
Labels
Infrastructure Tools Tier 1 Large task, spanning 4 milestones requiring extensive work and/or knowledge.

Comments

@37aces
Copy link

37aces commented Sep 21, 2021

Description/Problem

People want to buy collectibles but may decide otherwise if they have to pay with the volatile FLOW token. Stablecoins solve this problem but you have to sell FLOW to get stablecoins. $oneFLOW works better than stablecoins by enabling a dollar equivalent balance backed by $FLOW tokens.

ICHI, a Flow partner, will launch Stable Flow ($oneFLOW), a token valued at $1. Stable Flow is minted in part with FLOW tokens and redeemable for fiat-backed stablecoins.

Developers will be able to easily build $oneFLOW into their apps for DeFi, peer-to-peer payments, charging for services, or enabling consumers to earn rewards for the value they create. In addition, $oneFLOW will be able to fund affiliate bonuses to these developers from the yield earned by the assets backing $oneFLOW.

Experienced Required

  • Good understanding of Cadence and storage model
  • Good understanding of Solidity
  • Familiarity with smart contract application architectures
  • High-level understanding of Flow's architecture (block production, transaction states, etc.)

Minimum Feature Set (Acceptance Criteria)

  • oneToken Factory
    • A contract that acts as a oneToken deployment mechanism.
  • oneToken Vault
    • A contract owned by oneToken Governance that holds assets, mints and burns ERC20 tokens, and controls the process flow during the minting and redemption process, including coordinating modularized components.
  • Mint Master
    • A Mint Master uses any available information to compute the current minting ratio.
  • Strategies
    • Trading contracts that invest funds in yield-farming contracts, receive other types of tokens and report balances of each type of token they hold.
  • Controller
    • A global contract that executes the appointed strategies for a given oneToken Vault at the specified period of time.

Extension (Optional) Feature Set

  • ICHI Governance Model
    • Global governance controls the oneTokenFactory and manages global parameters. Governance itself is external to the oneToken system.
  • oneToken Governance Model
    • Governance of specific oneToken instances with user votes weighted by their holdings of the corresponding oneTokens in specific liquidity pools

Milestone Requirements

  1. Create wireframes an architectural software diagram for Cadence implementation of the minimum feature set.
  2. Implement an MVP of the oneFLOW token contract including mint master.
  3. Implement an MVP of the oneToken Factory contract
  4. Implement strategies for the oneToken Vault

Software Requirements
Maintainability

  • The tools or libraries used to construct the solution should be well vetted and well maintained
  • Code should be written in a way that can be extended with new functionality and clear enough for open-source developers to contribute to.

Testing

  • All core logic should have unit tests.
  • Each feature implemented should be tested by an end-to-end (E2E) test.

Other Requirements
Documentation

  • The following pieces of documentation needs to be completed alongside the code for a successful submission:
    • Installation Guide: How to get this application up and running.
    • Usage Guide: A highlight of all the features available and how to use them.
    • Contribution Guide: A thorough explanation of the codebase, where features are located, a diagram explaining complex interactions, etc. This is intended to be a primer for new contributors that would like to add or modify features.

Judging Criteria
For all projects, technical & high-level judging criteria apply.

Resources
ICHI Documentation: https://docs.ichi.farm/
ICHI open source code (Solidity implementation): https://github.com/ichifarm

@srinjoyc srinjoyc added Infrastructure Tools Tier 1 Large task, spanning 4 milestones requiring extensive work and/or knowledge. labels Sep 22, 2021
@srinjoyc srinjoyc reopened this Sep 22, 2021
@chandanworkacct
Copy link

Question for ICHI team: Is there a good layman article on how ICHI stablecoins work?

@dthibeau
Copy link

Question for ICHI team: Is there a good layman article on how ICHI stablecoins work?

Check out our Medium introducing ICHI V2 here: https://medium.com/ichifarm/announcing-ichi-v2-d69cebc47d25

At the core its very simple: ICHI deploys a "branded" dollar for any crypto project. The branded dollar is minted and redeemed for exactly $1 in value, and is minted with USDC and FLOW. It provides a seamless experience for users to transact on the network without having to worry about price exposure. It is also governed by the FLOW community that holds the branded dollar.

@dthibeau
Copy link

Myself and @37aces from the ICHI community are happy to answer any questions that may arise.

@chandanworkacct
Copy link

chandanworkacct commented Sep 23, 2021 via email

@dthibeau
Copy link

Which stablecoin are you going to use on flow blockchain? USDC or FUSD?

@chandanworkacct - That would be up to the FLOW community. The ICHI model supports almost any stablecoin type.

@zeke13210
Copy link

zeke13210 commented Oct 7, 2021

Looking to tackle this issue with my team @dthibeau and @37aces https://www.hackerearth.com/challenges/hackathon/flip-fest/dashboard/368dd7e/team/. I'm not sure how to pull my team members GitHub information from HackerEarth but I want to make sure my interest was expressed. Milestone 1 estimated completion within 2 weeks.

@dthibeau
Copy link

dthibeau commented Oct 7, 2021

@zeke13210 Fantastic! We can answer any questions you have here or in the flipfest Discord channels.

@kimcodeashian
Copy link

To give participants a better idea of working with ICHI to get stablecoins on Flow - ICHI has uploaded a video describing the end to end flow of how apps can mint and redeem their new stablecoins. The goal will be to replicate something similar on Flow - reach out and ask any q's on the issue for more details!

ICHI._.ICHI.mp4

@mwufi
Copy link

mwufi commented Oct 18, 2021

Q: About the strategies part...how would ICHI treasury work if there's not significant deFi on Flow? Would there be no strategies at the moment? (But maybe some in the future?)

@dthibeau
Copy link

@mwufi - Strategies are designed to be custom to the network and to which ICHI is deployed. Strategies could be yield based on staking, lending, AMMs etc. As such there is some dependency to those yield opportunities existing. ICHI liquidity rewards can also provide an opportunity for these yield opportunities to emerge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Tools Tier 1 Large task, spanning 4 milestones requiring extensive work and/or knowledge.
Projects
None yet
Development

No branches or pull requests

7 participants