File tree Expand file tree Collapse file tree 9 files changed +34
-33
lines changed
embed_a_fee_in_bundle/python Expand file tree Collapse file tree 9 files changed +34
-33
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ description = "Add your description here"
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = [
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]
Original file line number Diff line number Diff line change 1717COMPASS_API_KEY = os .getenv ("COMPASS_API_KEY" )
1818assert COMPASS_API_KEY
1919CHAIN = models .Chain .BASE
20- ETH = models . TokenEnum . ETH
21- USDC = models . TokenEnum . USDC
20+ ETH = " ETH"
21+ USDC = " USDC"
2222SPECIFIC_MORPHO_VAULT = os .getenv ("SPECIFIC_MORPHO_VAULT" )
2323
2424w3 = Web3 (Web3 .HTTPProvider (BASE_RPC_URL ))
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ description = "Add your description here"
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = [
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 ]
Original file line number Diff line number Diff line change 1818COMPASS_API_KEY = os .getenv ("COMPASS_API_KEY" )
1919assert COMPASS_API_KEY
2020CHAIN = models .Chain .BASE
21- ETH = models . TokenEnum . ETH
22- USDC = models . TokenEnum . USDC
21+ ETH = " ETH"
22+ USDC = " USDC"
2323SPECIFIC_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+
6869print (send_tx (swap_tx ))
6970
7071time .sleep (1 )
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ description = "Add your description here"
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = [
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 ]
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ description = "Add your description here"
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = [
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]
Original file line number Diff line number Diff line change 1818COMPASS_API_KEY = os .getenv ("COMPASS_API_KEY" )
1919assert COMPASS_API_KEY
2020CHAIN = models .Chain .BASE
21- ETH = models . TokenEnum . ETH
22- USDC = models . TokenEnum . USDC
21+ ETH = " ETH"
22+ USDC = " USDC"
2323SPECIFIC_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
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ description = "Add your description here"
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = [
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 ]
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ description = "Add your description here"
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = [
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]
You can’t perform that action at this time.
0 commit comments