-
Notifications
You must be signed in to change notification settings - Fork 10
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
Separate Routes between MRL and XCM and get moon chain fee balance in source #366
Conversation
mmaurello
commented
Oct 8, 2024
•
edited
Loading
edited
- Separate Chain Routes and Asset Route between MRL and XCM
- Add moonChainFee balance builder in source for mrl
- Calculate the moon chain fee balance in source and return it
- Add peaqEVM ftm route config
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could just use 1 class for both, but we would need to make types more complex. Don't spend time for that right now. If it will be needed, we can come back to it.
return getBalance({ | ||
address: sourceAddress, | ||
asset: route.source.chain.getChainAsset(route.source.moonChainFee.asset), | ||
builder: route.source.moonChainFee?.balance, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
builder: route.source.moonChainFee?.balance, | |
builder: route.source.moonChainFee.balance, |