Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# teleton-plugins

[![GitHub stars](https://img.shields.io/github/stars/TONresistor/teleton-plugins?style=flat&logo=github)](https://github.com/TONresistor/teleton-plugins/stargazers)
[![Plugins](https://img.shields.io/badge/plugins-25-8B5CF6.svg)](#available-plugins)
[![Tools](https://img.shields.io/badge/tools-183-E040FB.svg)](#available-plugins)
[![Plugins](https://img.shields.io/badge/plugins-26-8B5CF6.svg)](#available-plugins)
[![Tools](https://img.shields.io/badge/tools-189-E040FB.svg)](#available-plugins)
[![SDK](https://img.shields.io/badge/SDK-v1.0.0-00C896.svg)](#plugin-sdk)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
Expand Down Expand Up @@ -76,12 +76,13 @@ No build step. Just copy and go. Plugins with npm dependencies are auto-installe

## Available Plugins

> **25 plugins** · **183 tools** · [Browse the registry](registry.json)
> **26 plugins** · **189 tools** · [Browse the registry](registry.json)

### DeFi & Trading

| Plugin | Description | Tools | Author |
|--------|-------------|:-----:|--------|
| [ton-trading-bot](plugins/ton-trading-bot/) | Atomic TON trading tools — market data, portfolio, risk validation, simulation, DEX swap | 6 | xlabtg |
| [gaspump](plugins/gaspump/) | Launch, trade, and manage meme tokens on Gas111/TON | 13 | teleton |
| [stormtrade](plugins/stormtrade/) | Perpetual futures — crypto, stocks, forex, commodities | 13 | teleton |
| [evaa](plugins/evaa/) | EVAA Protocol — supply, borrow, withdraw, repay, liquidate | 11 | teleton |
Expand Down
10 changes: 5 additions & 5 deletions plugins/ton-trading-bot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const tools = (sdk) => [
},
required: ["from_asset", "to_asset", "amount"],
},
execute: async (params, context) => {
execute: async (params, _context) => {
const { from_asset, to_asset, amount } = params;
try {
const [tonPrice, dexQuote] = await Promise.all([
Expand Down Expand Up @@ -163,7 +163,7 @@ export const tools = (sdk) => [
},
},
},
execute: async (params, context) => {
execute: async (params, _context) => {
const limit = params.history_limit ?? 10;
try {
const [tonBalance, jettonBalances] = await Promise.all([
Expand Down Expand Up @@ -223,7 +223,7 @@ export const tools = (sdk) => [
},
required: ["mode", "amount_ton"],
},
execute: async (params, context) => {
execute: async (params, _context) => {
const { mode, amount_ton } = params;
try {
const balance =
Expand Down Expand Up @@ -310,7 +310,7 @@ export const tools = (sdk) => [
},
required: ["from_asset", "to_asset", "amount_in", "expected_amount_out"],
},
execute: async (params, context) => {
execute: async (params, _context) => {
const { from_asset, to_asset, amount_in, expected_amount_out, note } = params;
try {
const simBalance = getSimBalance(sdk);
Expand Down Expand Up @@ -508,7 +508,7 @@ export const tools = (sdk) => [
},
required: ["trade_id", "amount_out"],
},
execute: async (params, context) => {
execute: async (params, _context) => {
const { trade_id, amount_out, note } = params;
try {
const entry = sdk.db
Expand Down
Loading
Loading