Skip to content

feat: add TokenSafetyHook and ITokenSafetyOracle#20

Open
JhiNResH wants to merge 2 commits intoerc-8183:mainfrom
JhiNResH:feat/token-safety-hook
Open

feat: add TokenSafetyHook and ITokenSafetyOracle#20
JhiNResH wants to merge 2 commits intoerc-8183:mainfrom
JhiNResH:feat/token-safety-hook

Conversation

@JhiNResH
Copy link
Copy Markdown

TokenSafetyHook + ITokenSafetyOracle

Gates job funding based on payment token safety via external oracle.

Features

  • Checks tokens against honeypot, rug-pull, high-tax verdicts before fund()
  • Owner-configurable risk tolerance bitmask and token whitelist
  • ITokenSafetyOracle: generic interface for any safety oracle implementation (no vendor lock-in)

Splits off from #13 as requested.

Gates job funding based on payment token safety via external oracle.
- Checks tokens against honeypot, rug-pull, high-tax verdicts before fund()
- Owner-configurable risk tolerance bitmask and token whitelist
- ITokenSafetyOracle: generic interface for any safety oracle implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant