AbstractSDK / carrot-app

A Savings App built on the AbstractSDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Savings App built on the AbstractSDK

License:GNU General Public License v3.0


Languages

Language:Rust 96.5%Language:Just 2.5%Language:Dockerfile 0.8%Language:Shell 0.2%