GithubHelp home page GithubHelp logo

realkibou / terra-one-stop-bot Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 10.0 162 KB

Automatically manage all your ANC, MIR, SPEC token rewards, Mirror Delta Neutral Short Positions, Liquidity Pools, UST claims after lockup, Anchor Borrow and Earn for Terra.

License: GNU General Public License v3.0

Python 100.00%
bot ust terra spec-finance mirror-finance mirror-bot spectrum-finance anchor cryptocurrency crypto

terra-one-stop-bot's People

Contributors

realkibou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

terra-one-stop-bot's Issues

Error running the bot

Hi,
I'm getting this error running the bot.

Tnx

╰ python D_Scheduler.py                                                                                                                                                                                                                   0.43s    10:32  7.47G  
Notifications Class loaded.
Terra Class loaded.
Logger Class loaded.
Queries Class loaded.
Traceback (most recent call last):
  File "/home/torvalds/Git/Terra-One-Stop-Bot/D_Scheduler.py", line 5, in <module>
    from C_Main import main
  File "/home/torvalds/Git/Terra-One-Stop-Bot/C_Main.py", line 26, in <module>
    from assets.Transactions import Transaction
  File "/home/torvalds/Git/Terra-One-Stop-Bot/assets/Transactions.py", line 18, in <module>
    Queries_class = Queries()
  File "/home/torvalds/Git/Terra-One-Stop-Bot/assets/Queries.py", line 27, in __init__
    self.all_rates = asyncio.run(self.get_all_rates())
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/nest_asyncio.py", line 38, in run
    return loop.run_until_complete(task)
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/nest_asyncio.py", line 81, in run_until_complete
    return f.result()
  File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/lib/python3.10/asyncio/tasks.py", line 234, in __step
    result = coro.throw(exc)
  File "/home/torvalds/Git/Terra-One-Stop-Bot/assets/Queries.py", line 43, in get_all_rates
    = await asyncio.gather(
  File "/usr/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
    future.result()
  File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
    result = coro.send(None)
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/terra_sdk/client/lcd/api/wasm.py", line 44, in contract_query
    return await self._c._get(f"/wasm/contracts/{contract_address}/store", params)
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/terra_sdk/client/lcd/lcdclient.py", line 87, in _get
    async with self.session.get(
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/aiohttp/client.py", line 466, in _request
    with timer:
  File "/home/torvalds/Git/Terra-One-Stop-Bot/venv/lib/python3.10/site-packages/aiohttp/helpers.py", line 701, in __enter__
    raise RuntimeError(
RuntimeError: Timeout context manager should be used inside a task

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.