[ OPEN GRANT APPLICATION]- PALOMA <> GMX Short Funding Bot

SECTION 1: APPLICANT INFORMATION

Applicant Name or Alias:

VolumeFi Software Inc

Project Name:

Paloma <> GMX Short Funding bot

Project Description:

The GMX short funding bot is aimed to generate yield via funding short futures positions on GMX while keeping the overall position delta-neutral to reduce market risk. By using the bot’s front-end, users can start their own short funding bot to farm funding rate fees. The bot’s back-end will monitor each user’s position and automatically close out trades when the funding rate cannot give rise to positive yield.

Team Members and Qualifications:

  1. Taariq Lewis - CEO/Founder

  2. Joyce Hermosilla - Head of UI/UX

  3. Steven Jung - Senior Smart Contract Engineer

  4. Jamie Lee - Senior Front-end Engineer

  5. Eric Eisenberg - Senior Back-end Engineer

  6. Zhibai Zhang - Defi Strategist

Project Links:

  1. https://volume.finance
  2. https://palomachain.com
  3. https://palomaswap.com
  4. https://palomabot.ai
  5. https://curvebot.fi
  6. Volume Finance · GitHub
  7. GitHub - palomachain/paloma: The fast blockchain messenger protocol

Contact Information:

  1. TG: Telegram: Contact @taariqlewis
  2. Twitter: x.com
  3. Email: info@volume.finance

SECTION 2: GRANT INFORMATION

Requested Grant Size:

75K ARB

Grant Breakdown:

Source: 20240607 Volume Grant Application - Paloma <> GMX Short Funding Bot - Google Sheets

Funding Address:

Gnosis Safe Wallet 2 out of 3 Signers from the Volume team. 0xB30A1d15CEFa2767Db2c5157FeE7b679F10C5215

SECTION 3: GRANT OBJECTIVES AND EXECUTION

Objectives:

The GMX short funding bot is designed to help users yield-farm on GMX via funding short futures positions in a delta-neutral fashion to control market risk. Running delta-neutral trades involving futures is a highly no-trivial task and usually only employed by sophisticated traders. This bot will help close this gap by providing fully automated strategies, rigorous risk management layers and a user-friendly interface.

Key Performance Indicators (KPIs):

  1. Total number of bots created

  2. Total transaction volume

  3. Total number of trades

  4. Total value locked

  5. Total number of users

How will receiving a grant enable you to foster growth or innovation within the GMX ecosystem?:

  1. A grant will cover sufficient engineering and smart contract auditing cost to ensure the completion of the entire building, testing, debugging and enhancing process.

  2. Part of the grant will be spent on live testing trading cost. To make sure the product’s security, user experience and efficiency, a large number of live tests are required.

  3. The grant allows us to deliver a new product layer to GMX not yet offered by any other parties: Automated trading bots for traders who lack the the skills and experience to build profitable trading strategies, but do not wish to simply pool their liquidity into a vault. Paloma’s GMX Short Funding bot provides a unique and reasonable limited-risk trading experience that we are confident will bring more users to GMX.

Justification for the size of the grant:

The project requires the following major tasks:

  1. Project Scope and Management

  2. Trading Bot Documentation

  3. Vyper Engineering: Smart Contracts for GMX

  4. Cosmwasm Engineering: Smart Contracts for Paloma

  5. Software Engineering: Middleware Development

  6. Front-End Engineering: GMX Short Funding Bot Webpage

  7. Software Engineering: Contract Deployment and Integration Tests

  8. Smart Contract Auditing and Mainnet Tests

Execution Strategy:

Volume will start by developing Vyper and Cosmwasm contracts, which is followed by deployments and testing of contracts. The next step then is frontend and middleware development. Upon development’s completion, end-to-end testing will begin. The last step is to go through smart contract audit.

The fund will be spent on the following resources

  1. Product Management - 5 days

  2. Software Engineering - 20 days

  3. Front-End Engineering - 5 days

  4. Smart Contract Audit - 15 days

Grant Timeline and Milestones:

Milestone 1:

  1. Vyper and Cosmwasm contracts development

  2. Volume will develop Arbitrum Vyper contracts for direct interactions with GMX’s contracts, such as open close positions, swap, deposit and withdraw. There will also be Cosmwasm contracts developed and deployed on Paloma. These contracts are used for handling bot strategy computation, key data management and job scheduling.

Milestone 2:

  1. Frontend and middleware development and end-to-end testing

  2. Once the smart contracts work is complete, Volume will build middleware to bring smart contract functionality to a user interface. The team will design and develop a frontend for bot usage and management. When both are done, full integration tests will start. The contracts will be deployed on Arbitrum and Paloma mainnet and tested. Successful integration tests will be followed by a comprehensive audit

  3. Auditing will be executed by two auditing firms on both the Cosmwasm and EVM smart contracts.

Fund Streaming:

The Volume team agrees to have funding of the proposed ARB grant streamed linearly for the duration of the grant proposal, and that the multisig holds the power to halt the proposed streamed grant at their discretion at any time.

SECTION 4: PROTOCOL DETAILS

Provide details about the protocol requirements relevant to the grant. This information ensures that the applicant is aligned with the technical specifications and commitments of the grant.

What date did you build on GMX?:

Volume started building on GMX on April 12, 2024, via our github repo: GitHub - VolumeFi/short-funding-bot-vyper

Protocol Performance:

Paloma Protocol is a Cosmos-SDK Relay chain that provides cross-chain programming and smart contract execution on eight target EVM chains, including Arbitrum.

Protocol Roadmap:

Our Protocol Roadmap includes the ongoing deployment of cross-chain execution support on GMX and the launch of multiple trading bots on the GMX platform. The Roadmap for Paloma GMX Short Funding Bots include:

  • Ethereum Short Funding Bot
  • Bitcoin Short Funding Bot
  • Solana Short Funding Bot
  • Dogecoin Short Funding Bot

Audit History (if any):

Audits are pending and planned for execution with audit teams recommended by Arbitrum team.

SECTION 5: Data and Reporting

Is your team prepared to create Dune Spells and/or Dashboards for your incentive program?:

Yes we have experience building analytics and dashboards on Dune.

Does your team agree to provide bi-weekly program updates on the GMX Forum thread?:

Yes. We are prepared to provide bi-weekly program updates on the GMX Forum. We currently also host Volume Twitter Spaces every week with regular updates to our community and public on both Paloma and Volume.

Does your team acknowledge that failure to comply with any of the above requests can result in the halting of the program’s funding stream?:

Yes. We consider it a privilege to partner with the GMX community and will respect all terms of the grant, should we be awarded.

2 Likes

Hey @BoweryKing, Thanks for submitting your grant application.

2 Likes

Thank you ser for the confirmation of receipt. It was a pleasure assembling the details and sharing with the community. We will submit updates as we continue to build on this project.

1 Like

Will the application be in one of those links? if so, which one?

Will the bot also Automatically reopen when funding returns?

Thanks

1 Like

Howdy. Apologies for the delay:

  1. The application will be hosted on at https://palomabot.ai

  2. The bot does not automatically reopen. Users will need to engage the bot when funding rates change and the bot closes the position.

Let me know whether the above answers the questions you shared.

will i be able to create a position to enter, like a limit order for when funding becomes available? or are you saying no, with 2 there

thanks

A strategy is required to determine whether or not to enter / exit a short perp position. It is based on the short funding rate data.

The GMX Short Funding Bot could be a simple threshold such as

  • if the current short funding rate (annualized) > 5%, enter a short perp position
    • if already in a short position and rate drops below 2%, exit
  • if the current short funding rate (annualized) < 0%, no short perp position

Strategy Description

Short Funding Rate Bot is aimed to generate yield via funding short positions on GMX while keeping a delta-neutral position to migrate the market risk.

When a user starts a bot, their USDC will be used to swap into ETH and open a short ETH perp position simultaneously when the short funding rate is profitable. As the short funding rate is volatile and may turn negative, the bot will also actively monitor the position and close it when the rate is no longer profitable. As such, the bot will periodically move users fund in and out of the position with optimized entry and exit, and provide yield with managed market risk. Users will only need to decide when to start and stop a bot and everything else in handled by the bot’s automation.

What will be the liquidation condition?

1 Like

Great question ser!

I suppose you mean when the bot closes the position to avoid liquidation? Currently, our preference is to set a hard-coded price—e.g., 3% below the liquidation price. The idea is to leave enough room for closing out positions with market orders and prevent them from getting liquidated.

Understood, is hard coding the value reliable? We saw many protocols getting rekt following such practices.

1 Like

Thanks for the question and for sharing your prior experience with risks with hard coding!

Yes, we are aware that hard coding stop limits below the liquidation price would not eliminate liquidation risk for the short position entirely.

Nonetheless, we’d like to highlight that, in our current design, the short position’s leverage is only 1x, which should give ample room to close the position if the price surges too fast.

Howdy @Saurabh. Any further information we can provide to showcase the value of our short funding bot on the GMX community?

Hey, someone from our biz-dev team will contact you very soon!

1 Like

Howdy @Saurabh. We didn’t receive any contact. However, are in Brussels for today and tomorrow. Any GMX BD team folks here we might connect for a coffee? Otherwise, anything we can do to assist with the connection process?