White-Whale-Defi-Platform / white-whale-bots

A single-chain and multi-dex arbitrage bot the utilizing White Whale flash loans and Skip Protocol.
https://whitewhale.money
MIT License
81 stars 32 forks source link

Add check for wyndex input to toChainAsset function #89

Closed SirTLB closed 1 year ago

SirTLB commented 1 year ago

https://github.com/White-Whale-Defi-Platform/white-whale-bots/blob/37f82d9f5fdc1013bf066cd6338cc99b949b1ad9/src/core/types/base/asset.ts#L95

SirTLB commented 1 year ago

check fromChainAsset as a reference