Closed JosephSaw closed 1 year ago
Docs: https://docs.irrigation.finance/irrigation-protocol/irrigation-tools/the-sprinkler
In short, the sprinkler is an AMM to allow users to swap whitelisted assets for WATER. The AMM does not allow users to SELL WATER for other assets.
Note: Swaps the exact amount of token for WATER
Note: Swaps an arbitrary amount of token for an exact amount of WATER
Docs: https://docs.irrigation.finance/irrigation-protocol/irrigation-tools/the-sprinkler
In short, the sprinkler is an AMM to allow users to swap whitelisted assets for WATER. The AMM does not allow users to SELL WATER for other assets.
Functions
1. Swap Exact In Amount:
Note: Swaps the exact amount of token for WATER
2. Swap Exact Out Amount:
Note: Swaps an arbitrary amount of token for an exact amount of WATER
Getters
1. Get Whitelisted Tokens:
2. Get Exact Swap In Amount:
3. Get Exact Out Amount: