8000 Add Minting and Oracle contract by FloppyDisck · Pull Request #21 · securesecrets/shade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Minting and Oracle contract #21

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

Merged
merged 63 commits into from
Aug 4, 2021
Merged

Add Minting and Oracle contract #21

merged 63 commits into from
Aug 4, 2021

Conversation

FloppyDisck
Copy link
Contributor

Overview

  • Added Minting contract
  • Added Oracle contract
  • Added automated contract tester
    Details
    For the first MVP this PR contains two contracts necessary for a good first look at what the Shade Protocol will be. The minting contract allows users to send in a supported asset (sSCRT) and mint an x amount of Silk, that amount is calculated by the oracle contract, which queries the current SCRT price.

NOTE: Oracle querying from band will be added later. Currently it just returns 1 * 10^18.

CarterLWoetzel and others added 30 commits June 11, 2021 13:03
Started a protocol library for the contracts
@mohammedpatla
Copy link
Member

#22

@mohammedpatla
Copy link
Member

#23

Copy link
Member
@mohammedpatla mohammedpatla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, you can merge this in since i want to lock this PR in as RC.

@FloppyDisck FloppyDisck merged commit 1f30218 into main Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0