{"title": "Volume Arbitrum Uniswap V3 TWAP Bot", "logoImg": "bafkreicg65tzjadacs3nuot5axgtp3e5hjvvmbngb6pp7vutdgcoe3wdbq", "website": "https://volume.finance", "createdAt": 1705437836923, "userGithub": "taariq", "credentials": {"github": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..ZggLhx2RFkn7O0tqKf7gnF2PUYOMldRVcfOVz1n5DBKU4gq4FLiH_rV5BrPlIY1h4veX1YADBnjWEG9oZ4RICA", "type": "Ed25519Signature2018", "created": "2024-05-06T21:01:06.238Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-05-06T21:01:06.238Z", "expirationDate": "2024-08-04T21:01:06.238Z", "credentialSubject": {"id": "did:pkh:eip155:1:0xB0ec7136Ac7Ba15FeBf10030313343b26E0Caf60", "hash": "v0.0.0:bXtL07BElHJkkEX3tcbzjuvDQ4ujHkPn+Kf6B7ZpSu4=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextGithubOrg#VolumeFi#701864"}}, "twitter": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..WieiGdgaoogNN_pEeDfpN5fgMEmXIkHSGIkeYn_CLFJ-RVKzuna1A3vJD5FDSEFP8crZtqbCcZiKv-IacQgUDA", "type": "Ed25519Signature2018", "created": "2024-05-06T21:00:54.551Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-05-06T21:00:54.550Z", "expirationDate": "2024-08-04T21:00:54.550Z", "credentialSubject": {"id": "did:pkh:eip155:1:0xB0ec7136Ac7Ba15FeBf10030313343b26E0Caf60", "hash": "v0.0.0:XN7b84sVNK0k+1LbL2Lc/dvrGyjGNdP1p5mxMTV83Yc=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextTwitter#volumefi"}}}, "description": "**The Value Proposition**\n\nVolume will build a Uniswap V3 TWAP bot on Arbitrum. \n\nVolume\u2019s Time-Weighted-Average-Price (TWAP) bot is a DApp that offers an on-chain, fully automated, TWAP execution service for anyone using Uniswap V3 on Arbitrum. Building on top of Uniswap V3, this bot will enable users to utilize Uniswap\u2019s deep liquidity with reduced transaction costs. \n\nWhen using the TWAP bot, a large trade is taken into smaller ones with a user-defined time interval, which is automatically executed at scheduled times. For example, if Alice wants to swap 10000 USDC into WETH, the price impact may be quite high due to the size of the trade. The TWAP bot allows Alice to swap in the same pool but with 5 different trades, each with 2000 USDC and a 5-minute interval from the previous trade. Alice only needs to enter her liquidity upfront, and all 5 trades will be run automatically and sequentially. It can both improve the execution price and enhance user experience with an easy-to-use UI.  \n\n**Company: VolumeFi Software, Inc**\n\n**Infrastructure design:**\n\nThe Uniswap V3 TWAP bot on Arbitrum will provide low-cost, fast, automated TWAPs on Uniswap v3.\n\nBy using the bot\u2019s front-end and smart contracts, users can set TWAP parameters and have them monitored by the Paloma Blockchain and executed by the Paloma validators who are deployed on Arbitrum.\n\n**Specs**\nThe Uniswap V3 Arbitrum TWAP Bot specifications are as follows:\n\n**Paloma Blockchain Layer:**\n\n- Compass-EVM smart contract deployed to Arbitrum and managed by the Paloma validator set. This is the security layer for the TWAP bot. Paloma\u2019s validators will secure execution of the TWAP and user\u2019s funds onchain.\n- Uniswap V3 TWAP bot Vyper contract deployed to Arbitrum and managed by Paloma\u2019s Compass-EVM contract on Arbitrum.\n- Cosmwasm smart contracts on Paloma to receive and deliver TWAP execution commands based on the TWAP parameters set.\n\n**Middleware Layer**\n- Python scripts that use the PalomaSDK to execute monitoring and account orders via the Paloma blockchain\u2019s Cosmwasm smart contracts. \n\nThe Vyper contracts are built for direct interactions with Uniswap V3\u2019s functions . The Cosmwasm contracts handle bot TWAP job scheduling. They also are used to control the Vyper contracts on Arbitrum. The Python programming interacts with the Coswasm contracts to fire messages to the Vyper contracts to execute the TWAPs.\n\nVolume will supply a front end to the Uniswap v3 TWAP Bot as the main interface for users. When visiting the front end, a user specifies information including input token and amount, output token, number of trades and interval. Then the input tokens will be sent to the bot contract, which swaps into output token at scheduled times.\n\n**Milestones:**\n\n**Milestone 1: Vyper and Cosmwasm contracts development**\nVolume will develop Ethereum Vyper contracts for direct interactions with Arbitrum Uniswap V3 contracts. There will also be Cosmwasm contracts developed and deployed on Paloma. These contracts are used for handling bot-scheduled jobs.\n\n**Milestone 2: frontend and middleware development and end-to-end testing**\nOnce 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 will be fully tested. A formal launch will follow successful integration tests.\n\n**Milestone 3: Audits**\nAudit of the Palomabot contracts via Sherlock\n\n**Funding Requests breakdown spreadsheet with Time and Resources required:**\nhttps://docs.google.com/spreadsheets/d/1zWwU_2_qztSC-sWZAT4sqJ46wXTBETCE4zotkM71kqA/edit?usp=sharing", "logoImgData": {}, "projectGithub": "VolumeFi", "projectTwitter": "volumefi"}
Volume Arbitrum Uniswap V3 TWAP Bot
**The Value Proposition**

Volume will build a Uniswap V3 TWAP bot on Arbitrum. 

Volume’s Time-Weighted-Average-Price (TWAP) bot is a DApp that offers an on-chain, fully automated, TWAP execution service for anyone using Uniswap V3 on Arbitrum. Building on top of Uniswap V3, this bot will enable users to utilize Uniswap’s deep liquidity with reduced transaction costs. 

When using the TWAP bot, a large trade is taken into smaller ones with a user-defined time interval, which is automatically executed at scheduled times. For example, if Alice wants to swap 10000 USDC into WETH, the price impact may be quite high due to the size of the trade. The TWAP bot allows Alice to swap in the same pool but with 5 different trades, each with 2000 USDC and a 5-minute interval from the previous trade. Alice only needs to enter her liquidity upfront, and all 5 trades will be run automatically and sequentially. It can both improve the execution price and enhance user experience with an easy-to-use UI.  

**Company: VolumeFi Software, Inc**

**Infrastructure design:**

The Uniswap V3 TWAP bot on Arbitrum will provide low-cost, fast, automated TWAPs on Uniswap v3.

By using the bot’s front-end and smart contracts, users can set TWAP parameters and have them monitored by the Paloma Blockchain and executed by the Paloma validators who are deployed on Arbitrum.

**Specs**
The Uniswap V3 Arbitrum TWAP Bot specifications are as follows:

**Paloma Blockchain Layer:**

- Compass-EVM smart contract deployed to Arbitrum and managed by the Paloma validator set. This is the security layer for the TWAP bot. Paloma’s validators will secure execution of the TWAP and user’s funds onchain.
- Uniswap V3 TWAP bot Vyper contract deployed to Arbitrum and managed by Paloma’s Compass-EVM contract on Arbitrum.
- Cosmwasm smart contracts on Paloma to receive and deliver TWAP execution commands based on the TWAP parameters set.

**Middleware Layer**
- Python scripts that use the PalomaSDK to execute monitoring and account orders via the Paloma blockchain’s Cosmwasm smart contracts. 

The Vyper contracts are built for direct interactions with Uniswap V3’s functions . The Cosmwasm contracts handle bot TWAP job scheduling. They also are used to control the Vyper contracts on Arbitrum. The Python programming interacts with the Coswasm contracts to fire messages to the Vyper contracts to execute the TWAPs.

Volume will supply a front end to the Uniswap v3 TWAP Bot as the main interface for users. When visiting the front end, a user specifies information including input token and amount, output token, number of trades and interval. Then the input tokens will be sent to the bot contract, which swaps into output token at scheduled times.

**Milestones:**

**Milestone 1: Vyper and Cosmwasm contracts development**
Volume will develop Ethereum Vyper contracts for direct interactions with Arbitrum Uniswap V3 contracts. There will also be Cosmwasm contracts developed and deployed on Paloma. These contracts are used for handling bot-scheduled jobs.

**Milestone 2: frontend and middleware development and end-to-end testing**
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 will be fully tested. A formal launch will follow successful integration tests.

**Milestone 3: Audits**
Audit of the Palomabot contracts via Sherlock

**Funding Requests breakdown spreadsheet with Time and Resources required:**
https://docs.google.com/spreadsheets/d/1zWwU_2_qztSC-sWZAT4sqJ46wXTBETCE4zotkM71kqA/edit?usp=sharing
Arbitrum Uniswap V3 TWAP Bot