ubiquity / ubiquity-dollar

Ubiquity Dollar (uAD) smart contracts and user interface.
https://uad.ubq.fi
Apache License 2.0
31 stars 82 forks source link

feat: Algorithmic Market Operations for Collateral #848

Closed FibrinLab closed 5 months ago

FibrinLab commented 7 months ago

Resolves #611

Hello, Forked from Frax and ERC 4626 compliant. Increasing test coverage. Comments Natspec. Cannot get Ubiquibot to assign task to me.

Looking forward to review. Thanks

molecula451 commented 7 months ago

can you handle the changes, @FibrinLab ?

FibrinLab commented 7 months ago

can you handle the changes, @FibrinLab ?

Yes. Working on it. Adding a few more tests to increase coverage

molecula451 commented 7 months ago

i must admit it's looking much better now

FibrinLab commented 6 months ago

Code style changes. Check our contributions guidelines in this repo.

Its fixed

molecula451 commented 6 months ago

nice but please refactor everything with underspace name_var_space, we use camelCase in the repo for naming @FibrinLab also it looks like the build it's failing

gitcoindev commented 6 months ago

Hi, I will also review once the build is fixed

Compiler run failed:
Error (6275): Source "src/dollar/interfaces/IAmo.sol" not found: File not found. Searched the following locations: "/home/runner/work/ubiquity-dollar/ubiquity-dollar/packages/contracts".
  --> src/dollar/libraries/LibDollarAmoMinter.sol:10:1:
0x4007 commented 6 months ago

nice but please refactor everything with underspace name_var_space, we use camelCase in the repo for naming @FibrinLab also it looks like the build it's failing

I recently added a ton of linter rules in @ubiquity/ts-template

Perhaps they should be migrated to this repository. Unfortunately they are only configured for TypeScript but maybe there's a plugin for it to work with solidity.

molecula451 commented 6 months ago

I recently added a ton of linter rules in @ubiquity/ts-template Unfortunately they are only configured for typescript but maybe there's a plugin for it to work with solidity.

it does sound like a must-have implementation

ubiquibot[bot] commented 6 months ago
! action returned an unexpected value
FibrinLab commented 6 months ago
  1. example

Thanks for the review. AMO minter is implemented. Adding a strategy.

molecula451 commented 6 months ago

we want to have this one too @FibrinLab , do not leave the PR stale, it's good you update us

FibrinLab commented 6 months ago

we want to have this one too @FibrinLab , do not leave the PR stale, it's good you update us

Hello. Making final changes. Almost ready

FibrinLab commented 6 months ago

@molecula451 Here is the initial draft. Adding tests and comments.

gitcoindev commented 6 months ago

Hi @FibrinLab unfortunately this pull request seems to break a few CI checks. Could you please have a look at the failures and try to fix them or re-run if needed? The GitHub action results are available in above , I am pasting the links for reference:

Build & Test Details Compare Test Coverage Details Slither Analysis Details Spell Check Details

molecula451 commented 6 months ago

@FibrinLab please fix all the build erros, you can do yarn build:all to build and make sure all build pass before commiting changes

molecula451 commented 5 months ago

closing looks like the contributor lose interests in working on the issue