https://github.com/abstractsdk/carrot-app
A Savings App built on the AbstractSDK
https://github.com/abstractsdk/carrot-app
Last synced: about 1 year ago
JSON representation
A Savings App built on the AbstractSDK
- Host: GitHub
- URL: https://github.com/abstractsdk/carrot-app
- Owner: AbstractSDK
- Created: 2024-01-16T09:34:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T16:50:21.000Z (about 2 years ago)
- Last Synced: 2024-04-12T17:52:17.647Z (about 2 years ago)
- Language: Rust
- Size: 5.24 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Carrot App
Carrot-App is a CosmWasm smart contract/module that demonstrates the use of the abstract stack. It allows users to autocompound rewards from providing to supercharged liquidity pools on Osmosis. The smart contract enables users to create a position in the liquidity pool, automatically withdraw rewards, and compound them.
## Features
* Create a position in the liquidity pool
* Deposit funds into the pool
* Withdraw a specified amount or all funds
* Autocompound rewards
## Entrypoints
### Execute Messages
* CreatePosition: Creates a position in the liquidity pool
* Deposit: Deposits funds into the pool
* Withdraw: Withdraws a specified amount of funds from the pool
* WithdrawAll: Withdraws all funds from the pool
* Autocompound: Autocompounds rewards
### Query Messages
* Balance: Returns the current balance in the pool
* AvailableRewards: Returns the available rewards to be claimed
* Config: Returns the current configuration of the contract
* Position: Returns information about the user's position in the pool
* CompoundStatus: Returns the current autocompound status (cooldown or ready)
## Bot
The repository also includes a bot that interacts with the Carrot-App contract. The bot fetches contract instances, checks permissions, and autocompounds rewards.