The following folder is hosting a set of serverless functions used by the swapper. Vercel allows using multiple runtime environments hence:
swaps
- containspython
functions that executepyteal
code and compile stateless contracts against requiredalgod
instance.storage
- a simple function that works withPOST
calls and storesSwapperConfiguration
objects on ipfs.
Dependencies for storage
functions are not listed in subfolder because they are inherited from root package.json
file.
Dependencies for swaps
are listed in requirements.txt
and simply fetch latest algoworld-contracts
version via release tag.