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

smbv-1923 - Contracts doesn't work with Polkadot chain #287

Open
sherlock-admin2 opened this issue Nov 17, 2024 · 0 comments
Open

smbv-1923 - Contracts doesn't work with Polkadot chain #287

sherlock-admin2 opened this issue Nov 17, 2024 · 0 comments

Comments

@sherlock-admin2
Copy link
Contributor

sherlock-admin2 commented Nov 17, 2024

smbv-1923

High

Contracts doesn't work with Polkadot chain

Summary

VVVVCInvestmentLedger.sol and VVVVCTokenDistributor.sol will not work with Polkadot chain

Root Cause

VVV-Exchange supports Eth, base, bnb, avalanche, polkadot, arbitrum ,not only EVM.
Non And non EVM chains can have a different address standard like Polkadot.
https://github.com/sherlock-audit/2024-11-vvv-exchange-update/blob/main/vvv-platform-smart-contracts/contracts/vc/VVVVCTokenDistributor.sol#L166

Internal pre-conditions

VVV-Exchange supports Polkadot chain

External pre-conditions

No response

Attack Path

Impact

Contract doesn't work on Polkadot chain

PoC

No response

Mitigation

  • Should make different contract with changes required like converting address to string datatype.
@sherlock-admin3 sherlock-admin3 changed the title Joyful Peach Weasel - Contracts doesn't work with Polkadot chain smbv-1923 - Contracts doesn't work with Polkadot chain Nov 23, 2024
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

No branches or pull requests

1 participant