gauss314 / defi

Tools for use in DeFi. Impermanent Loss calculations, staking and farming strategies, coingecko and pancakeswap API queries, liquidity pools and more
MIT License
555 stars 143 forks source link

PCS - Get token/pair info #23

Closed HeyMichelle closed 2 years ago

HeyMichelle commented 2 years ago

Unable to run for either even when using default values:

for line 490, in pcsPairInfo for contract, values in data.items(): AttributeError: 'NoneType' object has no attribute 'items'

gauss314 commented 2 years ago

yes, the was a change in pancake API, it's fixed now, thanks!

HeyMichelle commented 2 years ago

Amazing, thank you!