Commit graph

116 commits

Author SHA1 Message Date
philipp
54dc05a94c Archive first live trade loop and open funding visibility turn
Proof: Preserve the completed first live BTC/EURe trade loop and establish the next approved implementation proof around pre-credit funding visibility and operator alerts.
Assumptions: The live-trade loop is sufficiently proven by the recorded deposits, withdrawals, durable command/result chain, and successful mainnet quote responses; the next highest-value slice is operational visibility rather than new execution breadth.
Still fake: The newly opened funding-visibility and alert turn is planning only; no pre-credit watcher or durable alert evaluator is implemented yet.
2026-04-03 01:07:02 +02:00
philipp
16e7b79978 Add durable portfolio metrics
All checks were successful
deploy / deploy (push) Successful in 22s
Proof: Persist portfolio value and PnL snapshots from the live inventory and reference-price path so operators can inspect trading performance from repo-controlled data.
Assumptions: The last credited inventory snapshot before the first live command is the correct baseline for trade-driven PnL, and EURe remains explicit 1:1 with EUR.
Still fake: The new portfolio metrics and watch output are implemented and tested locally but are not live until the updated app image is deployed to k3s.
2026-04-03 01:02:27 +02:00
philipp
b4186d9715 Add configured withdrawal defaults
All checks were successful
deploy / deploy (push) Successful in 22s
Proof: The funded NEAR Intents operator path should have a stable configured withdrawal destination for the active assets so exits do not depend on retyping recipient addresses.

Assumptions: Active asset withdrawal destinations are long-lived operator settings and can safely live in runtime config; actual withdrawals still require explicit unfreeze and operator action.

Still fake: Strategy and executor remain disarmed, no live trade quote has been submitted, and the live withdrawal transaction itself has not been exercised yet.
2026-04-02 12:38:19 +02:00
philipp
3f0a119987 Add operator withdrawal path
All checks were successful
deploy / deploy (push) Successful in 24s
Proof: The active NEAR Intents funded market-maker loop needs a first-class operator withdrawal action so funded inventory can be exited through repo-controlled code rather than manual follow-up.

Assumptions: The configured signer key is also a full-access key on the named NEAR account, and external-chain exits for active OMFT assets are triggered by intents.near::ft_withdraw with the token contract as receiver_id plus memo=WITHDRAW_TO:<destination>.

Still fake: Strategy and executor remain disarmed, no live inventory is credited yet, and no live mainnet trade quote has been submitted.
2026-04-02 12:24:59 +02:00
philipp
57eb540b6e Fix shared state persistence
All checks were successful
deploy / deploy (push) Successful in 22s
Proof: Liquidity manager must persist live deposit handles and funding observations so the active NEAR Intents proof can reach credited inventory and real execution.

Assumptions: Services commonly mutate store.getState() in place before calling setState, so the state store must preserve same-reference updates instead of clearing them.

Still fake: Strategy and executor remain disarmed, no live inventory is credited yet, and no live mainnet quote response has been sent.
2026-04-02 10:13:25 +02:00
philipp
d6fc99dc60 Fix live ops regressions
All checks were successful
deploy / deploy (push) Successful in 43s
Proof: active BTC/EURe tradeable loop on k3s must expose funding state cleanly, preserve durable history, and avoid inheriting dummy executor state.

Assumptions: retained Kafka topics may contain legacy dummy records; those should be tolerated in history ingestion without weakening the current live command shape.

Still fake: internal inventory is still unfunded, strategy and executor remain disarmed, and no live quote response has been submitted yet.
2026-04-02 10:07:54 +02:00
philipp
41b9ec680b Implement funded NEAR Intents trade loop
Some checks failed
deploy / deploy (push) Failing after 1m35s
Proof: first non-mocked tradeable loop for one pair using funded NEAR Intents inventory, Kafka, and PostgreSQL.

Assumptions: solver-side execution is performed by signed token_diff quote responses over the Solver Relay; EURe is treated as 1:1 with EUR; k3s runtime uses unrip-dev.near as the named signer account.

Still fake: signer key is not yet registered on intents.near, strategy and executor remain disarmed by default, and no live mainnet quote response has been submitted from this repo yet.
2026-04-02 10:01:15 +02:00
philipp
d13b20fb24 Fix default near intents pair id
All checks were successful
deploy / deploy (push) Successful in 19s
2026-04-01 10:27:45 +02:00
philipp
d8d9a34db5 Add near intents control API
All checks were successful
deploy / deploy (push) Successful in 20s
2026-04-01 10:11:33 +02:00
philipp
6e635c32e4 Harden deploy runner checkout
All checks were successful
deploy / deploy (push) Successful in 18s
2026-04-01 01:19:25 +02:00
philipp
8b58681c35 Silence KafkaJS client logs
Some checks failed
deploy / deploy (push) Failing after 0s
2026-04-01 01:07:10 +02:00
philipp
f35f64513f Fix Forgejo push auth bootstrap
All checks were successful
deploy / deploy (push) Successful in 33s
2026-04-01 01:02:14 +02:00
philipp
24a5002d1d Reduce ingest scope and bootstrap app deploy 2026-04-01 00:09:10 +02:00
philipp
086ec01597 fix: bound deploy and topic storage growth 2026-03-30 17:57:53 +02:00
philipp
2b247c8550 feat: add standalone app deploy workflow 2026-03-30 17:39:15 +02:00
Philipp
03ce6546a4 refactor: isolate unrip project into projects folder 2026-03-29 14:33:19 +02:00