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

Abuse system MVP #1925

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

Abuse system MVP #1925

wants to merge 11 commits into from

Conversation

flopez7
Copy link
Contributor

@flopez7 flopez7 commented Apr 26, 2024

Description

Add the Abuse System to the current architecture following the MVP described here.

Summary of changes

  • Job Launcher:

    • Save customer's credit card in Stripe for future charges
    • Create a new webhook to receive abuse notifications from Reputation Oracle
    • Process webhooks and charge customer credit cards
  • Reputation Oracle:

    • Create a new endpoint to receive abuse notifications from users
    • Process abuse notifications received and send them to slack for human revision and send a webhook to Exchange Oracle to pause the escrow
    • Create a new auth method for slack
    • Create endpoint to receive slack responses
    • Process resolved abuses
    • In case of rejected abuse, send a webhook to Exchange Oracle to resume the paused deposit and reduce the user's reputation.
    • In case of accepted abuse, slash Job Launcher and send a webhook to Job Launcher
  • Exchange Oracle:

    • Create a new webhook to pause a job
    • Create a new webhook to resume a job

How test the changes

yarn test

Related issues

#1757 #1758

@flopez7 flopez7 self-assigned this Apr 26, 2024
Copy link

render bot commented Apr 26, 2024

Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reputation-oracle-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 6, 2024 0:46am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
escrow-dashboard ⬜️ Ignored (Inspect) Visit Preview May 6, 2024 0:46am
faucet-server ⬜️ Ignored (Inspect) Visit Preview May 6, 2024 0:46am
job-launcher-client ⬜️ Ignored (Inspect) Visit Preview May 6, 2024 0:46am
job-launcher-server ⬜️ Ignored (Inspect) Visit Preview May 6, 2024 0:46am

@flopez7 flopez7 added the WIP Work In Progress label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant