#carbon #decode #strategies #lib #strategy #defi #parse

carbon-defi-decode

A simple lib to decode Carbon DeFi strategies

1 unstable release

Uses new Rust 2024

new 0.1.0 Mar 12, 2025

#3 in #defi

MIT license

17KB
341 lines

Carbon DeFi Decode

A simple library to decode Carbon Protocol's strategies.

Overview

Carbon Decode is a Rust library designed to parse and interpret Carbon Protocol's strategy data. It provides tools to decode and analyze Carbon's decentralized finance strategies.

Installation

Add this to your Cargo.toml:

[dependencies]
carbon-decode = "0.1.0"

Features

  • Decode Carbon Protocol strategy data
  • Parse strategy parameters
  • Convert raw data into usable Rust structs

Usage

use carbon-decode::decode::parse_strategy;

let parsed_strategy = parse_strategy(strategy);

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~10MB
~196K SLoC