used for decoding/encoding Tellor Protocol data types
python -m venv env
(create virtual environment)source env/bin/activate
(activate virtual env)pip install -r requirements.txt
uvicorn main:app --reload
(run server)http://127.0.0.1:8000/docs
For sample query data to decode:
0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000954656c6c6f72524e47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000062ebc2d0
For sample submitted value bytes to decode:
(Use int256[]
as the Solidity ABI type)
0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000519900000000000000000000000000000000000000000000000000000000000008ae0000000000000000000000000000000000000000000000011d30441f1647000000000000000000000000000000000000000000000000000000000000000049ca00000000000000000000000000000000000000000000000000000000000008ae0000000000000000000000000000000000000000000000011d30441f16470000000000000000000000000000000000000000000000000000000000000000417a00000000000000000000000000000000000000000000000000000000000008ae0000000000000000000000000000000000000000000000011d30441f16470000