Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-agarwal-coinbase committed Nov 5, 2024
1 parent 9efd677 commit bd3f47e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cdp-agentkit-core/cdp_agentkit_core/actions/create_pool.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from cdp import Wallet
from cdp_agentkit_core.constants import UNISWAP_V3_FACTORY_ABI
from pydantic import BaseModel, Field

from cdp_agentkit_core.constants import UNISWAP_V3_FACTORY_ABI

CREATE_POOL_PROMPT = """
This tool will create a Uniswap v3 pool for trading 2 tokens, one of which can be the native gas token. For native gas token, use the address 0x4200000000000000000000000000000000000006. This tool takes the address of the first token, address of the second token, and the fee to charge for trades as inputs. The fee is denominated in hundredths of a bip (i.e. 1e-6) and must be passed a string. Acceptable fee values are 100, 500, 3000, and 10000."""


class CreatePoolInput(BaseModel):
"""Input argument schema for create pool action."""

Expand Down
2 changes: 1 addition & 1 deletion cdp-agentkit-core/tests/actions/test_create_pool.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from unittest.mock import patch

from cdp_agentkit_core.constants import UNISWAP_V3_FACTORY_ABI
import pytest

from cdp_agentkit_core.actions.create_pool import (
CreatePoolInput,
create_pool,
)
from cdp_agentkit_core.constants import UNISWAP_V3_FACTORY_ABI

MOCK_TOKEN_A = "0x4200000000000000000000000000000000000006"
MOCK_TOKEN_B = "0x1234567890123456789012345678901234567890"
Expand Down

0 comments on commit bd3f47e

Please sign in to comment.