Skip to content

Commit e9c20d9

Browse files
authored
fix workflows post tokenclass (#68)
1 parent 1602153 commit e9c20d9

File tree

9 files changed

+34
-33
lines changed

9 files changed

+34
-33
lines changed

v1/aave_looping/python/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"compass-api-sdk>=1.0.0",
9-
"dotenv>=0.9.9",
10-
"eth-account>=0.13.7",
11-
"web3>=7.12.0",
8+
"compass-api-sdk",
9+
"dotenv",
10+
"eth-account",
11+
"web3",
1212
]

v1/basic_examples/deposit_on_aave/python/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
COMPASS_API_KEY = os.getenv("COMPASS_API_KEY")
1818
assert COMPASS_API_KEY
1919
CHAIN = models.Chain.BASE
20-
ETH = models.TokenEnum.ETH
21-
USDC = models.TokenEnum.USDC
20+
ETH = "ETH"
21+
USDC = "USDC"
2222
SPECIFIC_MORPHO_VAULT = os.getenv("SPECIFIC_MORPHO_VAULT")
2323

2424
w3 = Web3(Web3.HTTPProvider(BASE_RPC_URL))

v1/basic_examples/deposit_on_aave/python/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"compass-api-sdk>=1.1.0",
9-
"devtools>=0.12.2",
10-
"dotenv>=0.9.9",
11-
"web3>=7.13.0",
12-
"ruff>=0.11.6",
8+
"compass-api-sdk",
9+
"devtools",
10+
"dotenv",
11+
"web3",
12+
"ruff",
1313
]

v1/basic_examples/deposit_on_morpho/python/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
COMPASS_API_KEY = os.getenv("COMPASS_API_KEY")
1919
assert COMPASS_API_KEY
2020
CHAIN = models.Chain.BASE
21-
ETH = models.TokenEnum.ETH
22-
USDC = models.TokenEnum.USDC
21+
ETH = "ETH"
22+
USDC = "USDC"
2323
SPECIFIC_MORPHO_VAULT = (
2424
os.getenv("SPECIFIC_MORPHO_VAULT") or "0x616a4E1db48e22028f6bbf20444Cd3b8e3273738"
2525
) # Seamless USDC Vault on base: https://app.morpho.org/base/vault/0x616a4E1db48e22028f6bbf20444Cd3b8e3273738/seamless-usdc-vault
@@ -65,6 +65,7 @@ def send_tx(response):
6565
# convert receipt to a serializable dict
6666
return tx_hash # , dict(receipt) # <- uncomment if you need to see the tx receipt
6767

68+
6869
print(send_tx(swap_tx))
6970

7071
time.sleep(1)

v1/basic_examples/deposit_on_morpho/python/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"compass-api-sdk>=1.1.0",
9-
"devtools>=0.12.2",
10-
"dotenv>=0.9.9",
11-
"web3>=7.13.0",
12-
"ruff>=0.11.6",
8+
"compass-api-sdk",
9+
"devtools",
10+
"dotenv",
11+
"web3",
12+
"ruff",
1313
]

v1/pendle/python/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"compass-api-sdk>=1.0.0",
9-
"dotenv>=0.9.9",
10-
"eth-account>=0.13.7",
11-
"web3>=7.12.0",
8+
"compass-api-sdk",
9+
"dotenv",
10+
"eth-account",
11+
"web3",
1212
]

v1/transaction_bundler/embed_a_fee_in_bundle/python/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
COMPASS_API_KEY = os.getenv("COMPASS_API_KEY")
1919
assert COMPASS_API_KEY
2020
CHAIN = models.Chain.BASE
21-
ETH = models.TokenEnum.ETH
22-
USDC = models.TokenEnum.USDC
21+
ETH = "ETH"
22+
USDC = "USDC"
2323
SPECIFIC_MORPHO_VAULT = (
2424
os.getenv("SPECIFIC_MORPHO_VAULT") or "0x616a4E1db48e22028f6bbf20444Cd3b8e3273738"
2525
) # Seamless USDC Vault on base: https://app.morpho.org/base/vault/0x616a4E1db48e22028f6bbf20444Cd3b8e3273738/seamless-usdc-vault

v1/transaction_bundler/embed_a_fee_in_bundle/python/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"compass-api-sdk>=1.1.0",
9-
"devtools>=0.12.2",
10-
"dotenv>=0.9.9",
11-
"web3>=7.13.0",
12-
"ruff>=0.11.6",
8+
"compass-api-sdk",
9+
"devtools",
10+
"dotenv",
11+
"web3",
12+
"ruff",
1313
]

v1/transaction_bundler/python/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"compass-api-sdk>=1.0.0",
9-
"dotenv>=0.9.9",
10-
"eth-account>=0.13.7",
11-
"web3>=7.12.0",
8+
"compass-api-sdk",
9+
"dotenv",
10+
"eth-account",
11+
"web3",
1212
]

0 commit comments

Comments
 (0)