Skip to content

Comments

feat: Add asset compatibility validator (#73)#80

Merged
Haroldwonder merged 2 commits intoHaroldwonder:mainfrom
XOUL-LABS:feature/asset-compatibility-validator-issue-73
Feb 23, 2026
Merged

feat: Add asset compatibility validator (#73)#80
Haroldwonder merged 2 commits intoHaroldwonder:mainfrom
XOUL-LABS:feature/asset-compatibility-validator-issue-73

Conversation

@XOUL-LABS
Copy link
Contributor

Add Asset Compatibility Validator (#73)

Reject unsupported assets early with clear errors.

API:

  • set_supported_assets(anchor, assets)
  • validate_asset_pair(anchor, base, quote)
  • submit_quote_validated(...) - auto-validate

Errors: UnsupportedAsset, AssetNotConfigured

Closes #73

XOUL-LABS and others added 2 commits February 23, 2026 13:37
- Early rejection of unsupported assets
- Clear error output (UnsupportedAsset, AssetNotConfigured)
- Per-anchor asset configuration
- Asset pair validation
- Add comprehensive tests and documentation

Closes Haroldwonder#73
@Haroldwonder Haroldwonder merged commit 93f2942 into Haroldwonder:main Feb 23, 2026
1 of 21 checks passed
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.

Add Asset Compatibility Validator

2 participants