wayfinder-paths 0.1.11__py3-none-any.whl → 0.1.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wayfinder-paths might be problematic. Click here for more details.
- wayfinder_paths/adapters/balance_adapter/adapter.py +3 -7
- wayfinder_paths/adapters/brap_adapter/adapter.py +10 -13
- wayfinder_paths/adapters/hyperlend_adapter/adapter.py +6 -9
- wayfinder_paths/adapters/hyperliquid_adapter/adapter.py +1 -1
- wayfinder_paths/adapters/hyperliquid_adapter/executor.py +44 -5
- wayfinder_paths/adapters/hyperliquid_adapter/test_executor.py +104 -0
- wayfinder_paths/adapters/moonwell_adapter/adapter.py +0 -3
- wayfinder_paths/adapters/pool_adapter/README.md +4 -19
- wayfinder_paths/adapters/pool_adapter/adapter.py +4 -29
- wayfinder_paths/adapters/pool_adapter/examples.json +6 -7
- wayfinder_paths/adapters/pool_adapter/test_adapter.py +8 -8
- wayfinder_paths/core/clients/AuthClient.py +2 -2
- wayfinder_paths/core/clients/BRAPClient.py +2 -2
- wayfinder_paths/core/clients/HyperlendClient.py +2 -2
- wayfinder_paths/core/clients/PoolClient.py +18 -54
- wayfinder_paths/core/clients/TokenClient.py +3 -3
- wayfinder_paths/core/clients/WalletClient.py +2 -2
- wayfinder_paths/core/clients/WayfinderClient.py +9 -10
- wayfinder_paths/core/clients/protocols.py +1 -7
- wayfinder_paths/core/config.py +60 -224
- wayfinder_paths/core/services/local_evm_txn.py +22 -4
- wayfinder_paths/core/strategies/Strategy.py +3 -3
- wayfinder_paths/core/strategies/descriptors.py +7 -0
- wayfinder_paths/core/utils/evm_helpers.py +5 -1
- wayfinder_paths/core/utils/wallets.py +12 -19
- wayfinder_paths/core/wallets/README.md +1 -1
- wayfinder_paths/run_strategy.py +10 -8
- wayfinder_paths/scripts/create_strategy.py +5 -5
- wayfinder_paths/scripts/make_wallets.py +5 -5
- wayfinder_paths/scripts/run_strategy.py +3 -3
- wayfinder_paths/strategies/basis_trading_strategy/snapshot_mixin.py +1 -1
- wayfinder_paths/strategies/basis_trading_strategy/strategy.py +196 -515
- wayfinder_paths/strategies/basis_trading_strategy/test_strategy.py +228 -11
- wayfinder_paths/strategies/hyperlend_stable_yield_strategy/README.md +2 -2
- wayfinder_paths/strategies/hyperlend_stable_yield_strategy/strategy.py +1 -0
- wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/README.md +1 -1
- wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/strategy.py +8 -7
- wayfinder_paths/strategies/stablecoin_yield_strategy/README.md +2 -2
- wayfinder_paths/strategies/stablecoin_yield_strategy/strategy.py +25 -25
- wayfinder_paths/strategies/stablecoin_yield_strategy/test_strategy.py +28 -9
- wayfinder_paths/templates/adapter/README.md +1 -1
- {wayfinder_paths-0.1.11.dist-info → wayfinder_paths-0.1.13.dist-info}/METADATA +9 -12
- {wayfinder_paths-0.1.11.dist-info → wayfinder_paths-0.1.13.dist-info}/RECORD +45 -45
- wayfinder_paths/core/settings.py +0 -61
- {wayfinder_paths-0.1.11.dist-info → wayfinder_paths-0.1.13.dist-info}/LICENSE +0 -0
- {wayfinder_paths-0.1.11.dist-info → wayfinder_paths-0.1.13.dist-info}/WHEEL +0 -0
|
@@ -2,23 +2,24 @@ wayfinder_paths/__init__.py,sha256=YgOg-PRPT3ROh0zg6hgQyQE-YFkFGw6TM77zDvB4_sE,4
|
|
|
2
2
|
wayfinder_paths/abis/generic/erc20.json,sha256=geyzVzdTNt3u1XHKxi4seszP_GIWIzPTl0FYgiftRnM,9336
|
|
3
3
|
wayfinder_paths/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
wayfinder_paths/adapters/balance_adapter/README.md,sha256=t8-QRfU49g9FmJ18xDGbN_k-ybWebBfM7s4bBrnyo-g,3635
|
|
5
|
-
wayfinder_paths/adapters/balance_adapter/adapter.py,sha256=
|
|
5
|
+
wayfinder_paths/adapters/balance_adapter/adapter.py,sha256=_Y7AiI8lXqGv7RV8jteTGD1FMw9_Er02F6aQ2swjApg,8178
|
|
6
6
|
wayfinder_paths/adapters/balance_adapter/examples.json,sha256=3R1M4B_VsIy29viAuFT9nQbnQShWl8ZbU-rnSNWUW9U,129
|
|
7
7
|
wayfinder_paths/adapters/balance_adapter/test_adapter.py,sha256=Z8iTRU0Rv1UsODuVSo5q4j-DrTXMd4YRxvaxLdZE4Us,1878
|
|
8
8
|
wayfinder_paths/adapters/brap_adapter/README.md,sha256=H4_ep4r17DpQ0rnTSIbRsAdnK174NGBAcHNlHhvEA7o,7880
|
|
9
9
|
wayfinder_paths/adapters/brap_adapter/__init__.py,sha256=jpqxZ-Bv_8kBo-lhgO_QCWaVZNq_WwlkNBHD4RsqOJg,90
|
|
10
|
-
wayfinder_paths/adapters/brap_adapter/adapter.py,sha256=
|
|
10
|
+
wayfinder_paths/adapters/brap_adapter/adapter.py,sha256=QoTEm4wOO1yiZz2tmoThOdD_pbZP1S8XzsXwQiR6u7I,30054
|
|
11
11
|
wayfinder_paths/adapters/brap_adapter/examples.json,sha256=KWuAklUspd2uvk0s2ey8gczg4nbzhdwxQqzhascyMiQ,5287
|
|
12
12
|
wayfinder_paths/adapters/brap_adapter/test_adapter.py,sha256=w2q35tcE7j2QG53jSm_XZgIk7OKL4O51fnFuGMVRSNQ,10754
|
|
13
13
|
wayfinder_paths/adapters/hyperlend_adapter/__init__.py,sha256=DsWOnEn-Tlu9ZoIoGaFeSqOYI3b4lXGVK3_FTntWpLw,139
|
|
14
|
-
wayfinder_paths/adapters/hyperlend_adapter/adapter.py,sha256=
|
|
14
|
+
wayfinder_paths/adapters/hyperlend_adapter/adapter.py,sha256=_boW8n7cSySYbxmlbeJ4jDuw5Bj21fGx0irGVBXWQnw,10135
|
|
15
15
|
wayfinder_paths/adapters/hyperlend_adapter/test_adapter.py,sha256=iLnrALVnK7JWJV2KFDqBYZlr1ShW1tjHC-kCV6-FlgE,9558
|
|
16
16
|
wayfinder_paths/adapters/hyperliquid_adapter/__init__.py,sha256=QpA258RzVbxzsha86HQduAuNVG0g0qvsI5OcZunQ8DQ,467
|
|
17
|
-
wayfinder_paths/adapters/hyperliquid_adapter/adapter.py,sha256=
|
|
18
|
-
wayfinder_paths/adapters/hyperliquid_adapter/executor.py,sha256=
|
|
17
|
+
wayfinder_paths/adapters/hyperliquid_adapter/adapter.py,sha256=Z5Gl9M9wk7PVUIyP_i2oAMegmCTbVFd48Zp57DURh6M,34510
|
|
18
|
+
wayfinder_paths/adapters/hyperliquid_adapter/executor.py,sha256=ix1FmRO6DPiPk0BwGy4zrCP5IfKzzMSQNhnOmIewfGA,18977
|
|
19
19
|
wayfinder_paths/adapters/hyperliquid_adapter/paired_filler.py,sha256=nOBsrAka8PKv5h8SuoJuLTH4HYS4n0vpTIADUCyDKlA,37546
|
|
20
20
|
wayfinder_paths/adapters/hyperliquid_adapter/test_adapter.py,sha256=JEDeIMSTdrgcSy4BGSVB0CixQzl3NsKpukOZ9mRu3kE,4542
|
|
21
21
|
wayfinder_paths/adapters/hyperliquid_adapter/test_adapter_live.py,sha256=lnlL0njECM6C4hVlsEZ4_7wtcixIBO8qqTRO6b1yGGg,7672
|
|
22
|
+
wayfinder_paths/adapters/hyperliquid_adapter/test_executor.py,sha256=6tAstfO2fFTWWYSqYsd3jzY5iQ1RrCsLl_0pbwJO-bE,4147
|
|
22
23
|
wayfinder_paths/adapters/hyperliquid_adapter/test_utils.py,sha256=2gSrXJgtfrTqNOQIhBS92vUkfcwhFsMLgFRkf1bzLy8,7290
|
|
23
24
|
wayfinder_paths/adapters/hyperliquid_adapter/utils.py,sha256=WjLEaNVvcB8FfYlTrwZBrmw7k2MLS5KhBeW4NNoLlVI,4254
|
|
24
25
|
wayfinder_paths/adapters/ledger_adapter/README.md,sha256=_tGIpIkg-TCYddf8d4FhJvJuHV79iTizqePosKX2ekU,4079
|
|
@@ -28,13 +29,13 @@ wayfinder_paths/adapters/ledger_adapter/examples.json,sha256=DdqTSe4vnBrfIycQVQQ
|
|
|
28
29
|
wayfinder_paths/adapters/ledger_adapter/test_adapter.py,sha256=Z1-rPP9k5fI-8ofWMKgU3syzNegKGH_hGO6CKApQj1c,7470
|
|
29
30
|
wayfinder_paths/adapters/moonwell_adapter/README.md,sha256=PyQllVXgW0aUUoWhAZ5phLPAxtR9A5GkwesnZznckV8,5465
|
|
30
31
|
wayfinder_paths/adapters/moonwell_adapter/__init__.py,sha256=Gf6AM4BylxxPenUQ_cveUg70QcB9i61SIYaCsXMSjXw,135
|
|
31
|
-
wayfinder_paths/adapters/moonwell_adapter/adapter.py,sha256=
|
|
32
|
+
wayfinder_paths/adapters/moonwell_adapter/adapter.py,sha256=kpzuIEUQHHo8WUkt-XGO5FqMtPBRNubYqkkWT0jKvKM,45030
|
|
32
33
|
wayfinder_paths/adapters/moonwell_adapter/test_adapter.py,sha256=DLbbCW6ytjKY2C5aQUrW-YBFyrXjush9qbGWiuL42DM,23440
|
|
33
|
-
wayfinder_paths/adapters/pool_adapter/README.md,sha256
|
|
34
|
+
wayfinder_paths/adapters/pool_adapter/README.md,sha256=-3FJ-NcVdP5IdnBJfljySKuzhoKSrFAjZttHvqAicbo,2453
|
|
34
35
|
wayfinder_paths/adapters/pool_adapter/__init__.py,sha256=rv56pYzz2Gqiz33uoPJktCQRe3CRt8U9ry5GbjVgK3A,90
|
|
35
|
-
wayfinder_paths/adapters/pool_adapter/adapter.py,sha256
|
|
36
|
-
wayfinder_paths/adapters/pool_adapter/examples.json,sha256=
|
|
37
|
-
wayfinder_paths/adapters/pool_adapter/test_adapter.py,sha256=
|
|
36
|
+
wayfinder_paths/adapters/pool_adapter/adapter.py,sha256=FrzgoXUkrLjL_SDHT5-zK7VMTPx6QdDdMpO--R5b5AE,1842
|
|
37
|
+
wayfinder_paths/adapters/pool_adapter/examples.json,sha256=NW-7J6_zXxky8uMDRym3jJaPP8hZLEiytQ3WKoZEP54,855
|
|
38
|
+
wayfinder_paths/adapters/pool_adapter/test_adapter.py,sha256=jz3QYP8ubHjIfE4Sz7CMQai_7zqG9IJBjXz7CKC0PU0,2625
|
|
38
39
|
wayfinder_paths/adapters/token_adapter/README.md,sha256=TXn7pYQ6bCAiYNl-avem3_Hoz0p3JVyyThxObr59s8k,2673
|
|
39
40
|
wayfinder_paths/adapters/token_adapter/__init__.py,sha256=nEmxrvffEygn3iKH3cZTNLkhnUUhlUAEtshmrFRAjq8,62
|
|
40
41
|
wayfinder_paths/adapters/token_adapter/adapter.py,sha256=JEb7A8wJYHxENFhJ6upAgnQAbPZeVfYi6OGs1hiHxnA,3432
|
|
@@ -50,19 +51,19 @@ wayfinder_paths/core/analytics/__init__.py,sha256=AtcSpt2vPpCNgdDaFDLhyZZpKa0QXK
|
|
|
50
51
|
wayfinder_paths/core/analytics/bootstrap.py,sha256=lb_PjL4Vh3O2F8eXgvAbnAFevJczRF59ODG-dxtpCZ8,1782
|
|
51
52
|
wayfinder_paths/core/analytics/stats.py,sha256=qE6h0j8TZAbqbVpDeYlVKe0YbV5CENQcHbREzKyZ_s8,1426
|
|
52
53
|
wayfinder_paths/core/analytics/test_analytics.py,sha256=DNkVTsbWPLc9I1eeCD5wsPPqUDgN-npbGRhBgMKn3GM,5580
|
|
53
|
-
wayfinder_paths/core/clients/AuthClient.py,sha256=
|
|
54
|
-
wayfinder_paths/core/clients/BRAPClient.py,sha256
|
|
54
|
+
wayfinder_paths/core/clients/AuthClient.py,sha256=rr9q1YEharGFiAiL-I87TK2atxek1PsMc8cJXIunWuM,2789
|
|
55
|
+
wayfinder_paths/core/clients/BRAPClient.py,sha256=gkZtjOgAwRP0q7LxVmqBUlFWzKdaQrQFkv-nVsJ7Amg,3737
|
|
55
56
|
wayfinder_paths/core/clients/ClientManager.py,sha256=pZ4e8XgwDYceCUBFyyemexAH8pqZCAN47iAVVwJWW2Q,7239
|
|
56
|
-
wayfinder_paths/core/clients/HyperlendClient.py,sha256=
|
|
57
|
+
wayfinder_paths/core/clients/HyperlendClient.py,sha256=QZFPsSIGumfabmLtOSkymtjmyW5aQoXbLRTSbsYdAOg,6166
|
|
57
58
|
wayfinder_paths/core/clients/LedgerClient.py,sha256=M6VlG0yq3H4rQt6qRxc0QQVd7GoPXJpj2FcD0RM_C_k,14430
|
|
58
|
-
wayfinder_paths/core/clients/PoolClient.py,sha256=
|
|
59
|
-
wayfinder_paths/core/clients/TokenClient.py,sha256=
|
|
60
|
-
wayfinder_paths/core/clients/WalletClient.py,sha256=
|
|
61
|
-
wayfinder_paths/core/clients/WayfinderClient.py,sha256=
|
|
59
|
+
wayfinder_paths/core/clients/PoolClient.py,sha256=t0H6EffDjdyK8e_PJKngU3uEkWNCTJ9BMF0HBYYRNLQ,2187
|
|
60
|
+
wayfinder_paths/core/clients/TokenClient.py,sha256=aIdHdV6896XceI-dKOMvWEi_PIoV7qLlaSNcRCE83N0,2778
|
|
61
|
+
wayfinder_paths/core/clients/WalletClient.py,sha256=EhZI7q0U3P769DEQ28ef9RvaqJJ0nSBbdxbWUPhouXM,2597
|
|
62
|
+
wayfinder_paths/core/clients/WayfinderClient.py,sha256=x-SBg1mf6mKy6F5qpamnXmFdJ3vNmZ8Z5veJnVoZIAM,10269
|
|
62
63
|
wayfinder_paths/core/clients/__init__.py,sha256=eKbB81C9ZphAKH1uKwkqOmVHtEwFdkDuZLVAQXQXa5M,1254
|
|
63
|
-
wayfinder_paths/core/clients/protocols.py,sha256=
|
|
64
|
+
wayfinder_paths/core/clients/protocols.py,sha256=a0D14D2sEq77Nu-Cut4bXgpXyf02jQbkxWKSTGg6kiw,8245
|
|
64
65
|
wayfinder_paths/core/clients/sdk_example.py,sha256=Y6mSyHfsWcOje6E-geNI0C4CQ6uyZaD3V9Q8kPM53eo,2969
|
|
65
|
-
wayfinder_paths/core/config.py,sha256=
|
|
66
|
+
wayfinder_paths/core/config.py,sha256=ADdrYAapSCwpV4ljSziBmxZV2Z2ORsu8ku-_MptSjjc,9060
|
|
66
67
|
wayfinder_paths/core/constants/__init__.py,sha256=upAVwHDgMXJ3DWaAuXo52UZktS8NZ17s5XwVH0qxgzg,591
|
|
67
68
|
wayfinder_paths/core/constants/base.py,sha256=BYQAD72XrsY6WRrOMIlUOpXLVANS7EYaS5Ell4Nj1H4,1551
|
|
68
69
|
wayfinder_paths/core/constants/erc20_abi.py,sha256=3ljIyUl6FesoEa4uprwNo-nF0Q5s73M9WEqXLw6ONI4,3214
|
|
@@ -72,18 +73,17 @@ wayfinder_paths/core/engine/StrategyJob.py,sha256=DqwkPu5JHp00xkDmj7kyUqs9U-VP0k
|
|
|
72
73
|
wayfinder_paths/core/engine/__init__.py,sha256=WZ2KWnmOZnBocYrqdwq6EUHp6lmTyrKyXgHSHyQswnU,108
|
|
73
74
|
wayfinder_paths/core/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
74
75
|
wayfinder_paths/core/services/base.py,sha256=94Wvs7Ym7tK9J3k9lEOhSSIC7ptnMJ161dYtF4XTSZ8,4096
|
|
75
|
-
wayfinder_paths/core/services/local_evm_txn.py,sha256=
|
|
76
|
+
wayfinder_paths/core/services/local_evm_txn.py,sha256=OHxDWDfctxui2YbPRI3B6c3pt9xC66N0-sFC7OLmz4c,12600
|
|
76
77
|
wayfinder_paths/core/services/local_token_txn.py,sha256=YQjuHjdyGwVfAZt3FGMkSKoc34bRiJrWRiR5pXJmL9U,8556
|
|
77
78
|
wayfinder_paths/core/services/web3_service.py,sha256=7iR7bfqfUQCQcdfEWVGqy04PZBtZTuzCDpfLt1a-4OI,1485
|
|
78
|
-
wayfinder_paths/core/
|
|
79
|
-
wayfinder_paths/core/strategies/Strategy.py,sha256=nEzry8V-FGSM-S1eBmT35Ba2cVOJn3hNNWenpTMAVv8,9455
|
|
79
|
+
wayfinder_paths/core/strategies/Strategy.py,sha256=Q_R-i4kxASdWrsq58VGHkV1k5l-sMF2MdVRw6nMNtJ8,9407
|
|
80
80
|
wayfinder_paths/core/strategies/__init__.py,sha256=2NjvvDw6sIQGUFV4Qo1olXTxUOY3GmCM8Ivz_J1FSmc,157
|
|
81
81
|
wayfinder_paths/core/strategies/base.py,sha256=-s0qeiGZl5CHTUL2PavGXM7ACkNlaa0c4jeZR_4DuBM,155
|
|
82
|
-
wayfinder_paths/core/strategies/descriptors.py,sha256=
|
|
82
|
+
wayfinder_paths/core/strategies/descriptors.py,sha256=2Olef0VWols1CWb-TWcb5pil2rztC0jP6F_Trpv2hIw,1958
|
|
83
83
|
wayfinder_paths/core/utils/__init__.py,sha256=TEylMYHnG37Z3mizSmw28bUm0vyNBFzf0Nc8dB_7l1A,73
|
|
84
|
-
wayfinder_paths/core/utils/evm_helpers.py,sha256=
|
|
85
|
-
wayfinder_paths/core/utils/wallets.py,sha256=
|
|
86
|
-
wayfinder_paths/core/wallets/README.md,sha256=
|
|
84
|
+
wayfinder_paths/core/utils/evm_helpers.py,sha256=vxxgenCaRdFEFlrW7eGB9TRubywuCdGvPg5N4C2P9-c,5633
|
|
85
|
+
wayfinder_paths/core/utils/wallets.py,sha256=ccCQ128lDShO265AFMOCdijzPLucWe-Neg5wjLrOsnk,1948
|
|
86
|
+
wayfinder_paths/core/wallets/README.md,sha256=ks3tqO3I69PiOXp4hXfZ7ayupvfS0kB8PW3fBR2bDNA,3700
|
|
87
87
|
wayfinder_paths/core/wallets/WalletManager.py,sha256=sptj0Dya9iM87BDzUktrYM_Mw33xyVJNrRUTVfBjHGw,1870
|
|
88
88
|
wayfinder_paths/core/wallets/__init__.py,sha256=hIuhy64pJOs_8mAP7Zup28goXbT8qjBeeVYMkbqlyu8,315
|
|
89
89
|
wayfinder_paths/policies/enso.py,sha256=oytco04eeGjiRbZPGFE1YpH4NxvV0tfVM14QmlyzjkY,428
|
|
@@ -95,34 +95,34 @@ wayfinder_paths/policies/hyperliquid.py,sha256=hAxNtWdxavwf_a-AnlXMOmEYakkNBkrPT
|
|
|
95
95
|
wayfinder_paths/policies/moonwell.py,sha256=sKWLbruMKiW7Yh1DhXdVPRe0JBP-nooNybRz0G9PgvA,1605
|
|
96
96
|
wayfinder_paths/policies/prjx.py,sha256=6kfZ6OQFroFHYJl4vSWT-svwwfvoHlS_ZrcHt8nmZMU,743
|
|
97
97
|
wayfinder_paths/policies/util.py,sha256=r8xQLPvE3kU21_LG6VbkFI9sUSYltcsKunryZdHOUDA,912
|
|
98
|
-
wayfinder_paths/run_strategy.py,sha256=
|
|
98
|
+
wayfinder_paths/run_strategy.py,sha256=dBkIw5GUru1ZDOycQs6PWLm1E6dYAcO_cRRNpg6GAXI,11924
|
|
99
99
|
wayfinder_paths/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
100
|
-
wayfinder_paths/scripts/create_strategy.py,sha256=
|
|
101
|
-
wayfinder_paths/scripts/make_wallets.py,sha256=
|
|
102
|
-
wayfinder_paths/scripts/run_strategy.py,sha256=
|
|
100
|
+
wayfinder_paths/scripts/create_strategy.py,sha256=WQQLBhClfjyLxEaKubQkBqBpSOFESnk1m6WTau9LylQ,5352
|
|
101
|
+
wayfinder_paths/scripts/make_wallets.py,sha256=RuCa9uYAsOzv8TyFdeOH89-SPJVGXwl5RuAqfJesLOk,5237
|
|
102
|
+
wayfinder_paths/scripts/run_strategy.py,sha256=xXa9Ch7mf1UXSO2UqyUZ6_IJG0TOjoYPyTzCU1U56TM,4450
|
|
103
103
|
wayfinder_paths/strategies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
104
|
wayfinder_paths/strategies/basis_trading_strategy/README.md,sha256=rTUXQ2owEoPmXlfHcJfRFCwcQxlU3a4hOJGN5kaWWQ0,7176
|
|
105
105
|
wayfinder_paths/strategies/basis_trading_strategy/__init__.py,sha256=kVcehFjBUtoi5xzSHI56jtDghsy0nYl6XIE6BI1l6aI,79
|
|
106
106
|
wayfinder_paths/strategies/basis_trading_strategy/constants.py,sha256=PJ1WtSALxiuW1FXx-BF30ciFISEhO5VBfrSZyfhPuz0,45
|
|
107
107
|
wayfinder_paths/strategies/basis_trading_strategy/examples.json,sha256=q2wlAH8Gr-LUJeamKzWL1EtChL3TBWe0HQ4_P-VCdqQ,429
|
|
108
|
-
wayfinder_paths/strategies/basis_trading_strategy/snapshot_mixin.py,sha256=
|
|
109
|
-
wayfinder_paths/strategies/basis_trading_strategy/strategy.py,sha256=
|
|
110
|
-
wayfinder_paths/strategies/basis_trading_strategy/test_strategy.py,sha256=
|
|
108
|
+
wayfinder_paths/strategies/basis_trading_strategy/snapshot_mixin.py,sha256=jjXv-w-uXdkw3-eSUgMmWCE7cPCRrkhyD4_TQjOnRO0,38640
|
|
109
|
+
wayfinder_paths/strategies/basis_trading_strategy/strategy.py,sha256=lntYxZCNyNvnobwBk3UFXiqUABnrFnIObwFGVDO6GV8,161245
|
|
110
|
+
wayfinder_paths/strategies/basis_trading_strategy/test_strategy.py,sha256=PWTJf2sqNb4BkKQytr_teqOqiV5n_7Fh5fPeZtr9Ito,40149
|
|
111
111
|
wayfinder_paths/strategies/basis_trading_strategy/types.py,sha256=rlbouTUOVPLfGPzMbsf-fUmMcn0R_OsG-IdfiBJmmqI,845
|
|
112
112
|
wayfinder_paths/strategies/config.py,sha256=5dv-8tWwoxH3Sxd9jtiw90shrLipEe3UlU-IYUBfciM,2762
|
|
113
|
-
wayfinder_paths/strategies/hyperlend_stable_yield_strategy/README.md,sha256=
|
|
113
|
+
wayfinder_paths/strategies/hyperlend_stable_yield_strategy/README.md,sha256=3dOmUCjs_zu4TgPhis0WG-U1XP_dl9aEGi49EkW_-jw,4180
|
|
114
114
|
wayfinder_paths/strategies/hyperlend_stable_yield_strategy/examples.json,sha256=GbVo2p6QiG6M7Ma5s671lw8G9JwnMl1h0n9mrtt-ZS8,164
|
|
115
|
-
wayfinder_paths/strategies/hyperlend_stable_yield_strategy/strategy.py,sha256=
|
|
115
|
+
wayfinder_paths/strategies/hyperlend_stable_yield_strategy/strategy.py,sha256=QQ18aOZD2M7xdY6LttmrTALA-TyyFQASgf6b3RlTMOg,92076
|
|
116
116
|
wayfinder_paths/strategies/hyperlend_stable_yield_strategy/test_strategy.py,sha256=puHIf160DQ_a1G3LXFHjIel504vKDhZvqktysyEwOdo,15296
|
|
117
|
-
wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/README.md,sha256=
|
|
117
|
+
wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/README.md,sha256=fv4uLA0Ioxp_LS35aFLhVCPJPoG_uvEYV89KYKmWv_o,4516
|
|
118
118
|
wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/examples.json,sha256=kgNRdZcqne8XTm-Y8Hv1a1pdajRQsey4Qhd5La-iWss,164
|
|
119
|
-
wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/strategy.py,sha256=
|
|
119
|
+
wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/strategy.py,sha256=PhFwyAWbO7qyJ2tOldTIIW9rK6ElHXbAEtRyo909ztQ,125722
|
|
120
120
|
wayfinder_paths/strategies/moonwell_wsteth_loop_strategy/test_strategy.py,sha256=9PfA5AiTdsyWcd3weNgFaoYJ5iWirZSPFoUwSBts7BY,31248
|
|
121
|
-
wayfinder_paths/strategies/stablecoin_yield_strategy/README.md,sha256=
|
|
121
|
+
wayfinder_paths/strategies/stablecoin_yield_strategy/README.md,sha256=GirWeShoIVyzwFIJLta5oNLsa62Gozx2nQ5cFGrgxNM,4952
|
|
122
122
|
wayfinder_paths/strategies/stablecoin_yield_strategy/examples.json,sha256=pL1DNFEvYvXKK7xXD5oQYFPQj3Cm1ocKnk6r_iZk0IY,423
|
|
123
|
-
wayfinder_paths/strategies/stablecoin_yield_strategy/strategy.py,sha256
|
|
124
|
-
wayfinder_paths/strategies/stablecoin_yield_strategy/test_strategy.py,sha256=
|
|
125
|
-
wayfinder_paths/templates/adapter/README.md,sha256=
|
|
123
|
+
wayfinder_paths/strategies/stablecoin_yield_strategy/strategy.py,sha256=-WEQO70p-jMlDGtAVbv-vdBXIXSOp3SKm_2sXrxvbW0,75699
|
|
124
|
+
wayfinder_paths/strategies/stablecoin_yield_strategy/test_strategy.py,sha256=ScEJTu4WAFzYmAZUX2Y3fO97RVF2mhADewUxz7lruzc,20669
|
|
125
|
+
wayfinder_paths/templates/adapter/README.md,sha256=pat-Xdvu1y8-neKcgvW8ygVlCkuj2OdHLgp1prJDRkY,2894
|
|
126
126
|
wayfinder_paths/templates/adapter/adapter.py,sha256=UGPvD8SNcrEtYQXRTUxvK9WZ9Bzx1Xwb8sr9zSbqnuc,763
|
|
127
127
|
wayfinder_paths/templates/adapter/examples.json,sha256=KLHy3AgPIplAaZN0qY2A-HBMa1xXkMhIyusORovTD9w,79
|
|
128
128
|
wayfinder_paths/templates/adapter/test_adapter.py,sha256=PeG9ZZwx-cWXCDUKxrvj1cR8ljo9aXrKANZuz2hFAhk,1510
|
|
@@ -134,7 +134,7 @@ wayfinder_paths/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
134
134
|
wayfinder_paths/tests/test_smoke_manifest.py,sha256=kTcIa4qikcspVh2ohQIk0aHUdIvBvcQBfNbm3PNiVvg,1636
|
|
135
135
|
wayfinder_paths/tests/test_test_coverage.py,sha256=9NrZeVmP02D4W7Qc0XjciC05bhvdTCVibYjTGfa_GQk,7893
|
|
136
136
|
wayfinder_paths/tests/test_utils.py,sha256=pxHT0QKFlyJeJo8bFnKXzWcOdi6t8rbJ0JFCBaFCBRQ,2112
|
|
137
|
-
wayfinder_paths-0.1.
|
|
138
|
-
wayfinder_paths-0.1.
|
|
139
|
-
wayfinder_paths-0.1.
|
|
140
|
-
wayfinder_paths-0.1.
|
|
137
|
+
wayfinder_paths-0.1.13.dist-info/LICENSE,sha256=dYKnlkC_xosBAEQNUvB6cHMuhFgcUtN0oBR7E8_aR2Y,1066
|
|
138
|
+
wayfinder_paths-0.1.13.dist-info/METADATA,sha256=yu9x6tdOizRjLaEEzr-g3gUrA1I0VAH_FUsJNu5O6kk,25587
|
|
139
|
+
wayfinder_paths-0.1.13.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
140
|
+
wayfinder_paths-0.1.13.dist-info/RECORD,,
|
wayfinder_paths/core/settings.py
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
import os
|
|
3
|
-
|
|
4
|
-
from pydantic import Field
|
|
5
|
-
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class CoreSettings(BaseSettings):
|
|
9
|
-
"""
|
|
10
|
-
Core settings for Wayfinder Paths Engine
|
|
11
|
-
These are minimal settings required by the core engine
|
|
12
|
-
"""
|
|
13
|
-
|
|
14
|
-
model_config = SettingsConfigDict(
|
|
15
|
-
# Note: .env file is only used for publishing (REPOSITORY_NAME, PUBLISH_TOKEN)
|
|
16
|
-
# All other configuration should come from config.json
|
|
17
|
-
case_sensitive=False,
|
|
18
|
-
extra="ignore", # Ignore extra environment variables (e.g., from Django)
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
# Core API Configuration
|
|
22
|
-
API_ENV: str = Field(default="development")
|
|
23
|
-
|
|
24
|
-
def _compute_default_api_url() -> str:
|
|
25
|
-
"""
|
|
26
|
-
Determine default API base URL from config.json if present, otherwise fallback.
|
|
27
|
-
Do not mutate the value (consistent with rpc_urls resolution).
|
|
28
|
-
"""
|
|
29
|
-
cfg_path = os.getenv("WAYFINDER_CONFIG_PATH", "config.json")
|
|
30
|
-
base = None
|
|
31
|
-
try:
|
|
32
|
-
with open(cfg_path) as f:
|
|
33
|
-
cfg = json.load(f)
|
|
34
|
-
system = cfg.get("system", {}) if isinstance(cfg, dict) else {}
|
|
35
|
-
candidate = system.get("api_base_url")
|
|
36
|
-
if isinstance(candidate, str) and candidate.strip():
|
|
37
|
-
base = candidate.strip()
|
|
38
|
-
except Exception:
|
|
39
|
-
# Config is optional; ignore errors and use fallback
|
|
40
|
-
pass
|
|
41
|
-
|
|
42
|
-
if not base:
|
|
43
|
-
# Provide a sensible default that includes the full API root
|
|
44
|
-
base = "https://wayfinder.ai/api/v1"
|
|
45
|
-
return base
|
|
46
|
-
|
|
47
|
-
WAYFINDER_API_URL: str = Field(default_factory=_compute_default_api_url)
|
|
48
|
-
|
|
49
|
-
# Network Configuration
|
|
50
|
-
NETWORK: str = Field(default="testnet") # mainnet, testnet, devnet
|
|
51
|
-
|
|
52
|
-
# Logging
|
|
53
|
-
LOG_LEVEL: str = Field(default="INFO")
|
|
54
|
-
LOG_FILE: str = Field(default="logs/strategy.log")
|
|
55
|
-
|
|
56
|
-
# Safety
|
|
57
|
-
DRY_RUN: bool = Field(default=False)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# Core settings instance
|
|
61
|
-
settings = CoreSettings()
|
|
File without changes
|
|
File without changes
|