Skip to content

chore: add affiliate registration page#29

Open
TheOldVar wants to merge 2 commits into
mainfrom
affiliate-registration
Open

chore: add affiliate registration page#29
TheOldVar wants to merge 2 commits into
mainfrom
affiliate-registration

Conversation

@TheOldVar

Copy link
Copy Markdown
Collaborator

No description provided.

@TheOldVar
TheOldVar requested a review from alitdev July 19, 2026 00:08
@TheOldVar TheOldVar self-assigned this Jul 19, 2026
@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
symm-frontier-landing Ready Ready Preview, Comment Jul 20, 2026 1:31am
symm-frontier-web Ready Ready Preview, Comment Jul 20, 2026 1:31am
symmio-frontier-doc Ready Ready Preview, Comment Jul 20, 2026 1:31am

Request Review

@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for trading-core

Status Category Percentage Covered / Total
🔵 Lines 66.98% 1536 / 2293
🔵 Statements 66.57% 1627 / 2444
🔵 Functions 57.73% 407 / 705
🔵 Branches 59.9% 971 / 1621
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/trading-core/src/symmio-contracts/account-layer/types.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/cancel-registration.ts 100% 50% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/generate-account-manager-address.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-affiliate-state.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/request-to-register-affiliate.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-cancel-registration.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/cancel-registration.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/generate-account-manager-address.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/get-affiliate-state.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/request-to-register-affiliate.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-cancel-registration.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.ts 100% 100% 100% 100%
Unchanged Files
packages/trading-core/src/balance-history/get-balance-history/balance-history-filter.ts 100% 100% 100% 100%
packages/trading-core/src/balance-history/get-balance-history/get-balance-history.ts 100% 100% 100% 100%
packages/trading-core/src/balance-history/get-balance-history/query-document.ts 100% 100% 100% 100%
packages/trading-core/src/balance-history/get-balance-history/query.ts 66.66% 100% 66.66% 66.66% 74-85
packages/trading-core/src/balance-history/get-balance-history/to-balance-history-row.ts 100% 100% 100% 100%
packages/trading-core/src/balance-history/get-balance-history/types.ts 100% 100% 100% 100%
packages/trading-core/src/core/chains/registry.ts 100% 100% 100% 100%
packages/trading-core/src/core/chains/supported-chains.ts 100% 100% 100% 100%
packages/trading-core/src/core/chains/types.ts 0% 0% 0% 0%
packages/trading-core/src/core/chains/actions/get-chain-config.ts 100% 100% 100% 100%
packages/trading-core/src/core/chains/actions/is-chain-supported.ts 100% 100% 100% 100%
packages/trading-core/src/core/chains/actions/list-supported-chains.ts 100% 100% 100% 100%
packages/trading-core/src/core/config/config-key.ts 100% 100% 100% 100%
packages/trading-core/src/core/config/create-config.ts 96.55% 96.29% 100% 96.29% 219
packages/trading-core/src/core/config/merge-chain-config.ts 86.66% 50% 100% 86.66% 68-71, 75
packages/trading-core/src/core/config/types.ts 0% 0% 0% 0%
packages/trading-core/src/muon/client.ts 75.6% 62.96% 100% 78.94% 31, 57-58, 61-62, 89, 108, 112, 124, 135
packages/trading-core/src/muon/types.ts 100% 100% 100% 100%
packages/trading-core/src/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.ts 85.71% 50% 100% 85.71% 72-76
packages/trading-core/src/muon/deallocate-upnl-sig/query.ts 0% 0% 0% 0% 21-71
packages/trading-core/src/muon/party-a-overview/get-muon-party-a-overview.ts 100% 100% 100% 100%
packages/trading-core/src/muon/party-a-overview/query.ts 0% 0% 0% 0% 21-69
packages/trading-core/src/muon/price/get-muon-price.ts 100% 50% 100% 100%
packages/trading-core/src/muon/price/query.ts 0% 0% 0% 0% 17-61
packages/trading-core/src/muon/price-range/get-muon-price-range.ts 100% 100% 100% 100%
packages/trading-core/src/muon/price-range/query.ts 0% 0% 0% 0% 21-85
packages/trading-core/src/muon/settle-upnl/get-muon-settle-upnl.ts 100% 100% 100% 100%
packages/trading-core/src/muon/settle-upnl/query.ts 0% 0% 0% 0% 21-70
packages/trading-core/src/muon/upnl/get-muon-upnl.ts 100% 100% 100% 100%
packages/trading-core/src/muon/upnl/query.ts 0% 0% 0% 0% 17-56
packages/trading-core/src/muon/upnl-a/get-muon-upnl-a.ts 100% 100% 100% 100%
packages/trading-core/src/muon/upnl-a/query.ts 0% 0% 0% 0% 17-61
packages/trading-core/src/muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.ts 100% 100% 100% 100%
packages/trading-core/src/muon/upnl-a-with-symbol-price/query.ts 0% 0% 0% 0% 23-84
packages/trading-core/src/muon/upnl-b/get-muon-upnl-b.ts 100% 100% 100% 100%
packages/trading-core/src/muon/upnl-b/query.ts 0% 0% 0% 0% 17-61
packages/trading-core/src/muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.ts 100% 100% 100% 100%
packages/trading-core/src/muon/upnl-with-symbol-price/query.ts 0% 0% 0% 0% 23-91
packages/trading-core/src/notifications/types.ts 0% 0% 0% 0%
packages/trading-core/src/notifications/search/query.ts 0% 0% 0% 0% 26-87
packages/trading-core/src/notifications/search/search-notifications.ts 84.61% 71.42% 100% 91.66% 92, 95
packages/trading-core/src/price-service/enigma/health/get-enigma-price-service-health.ts 0% 0% 0% 0% 36-56
packages/trading-core/src/price-service/enigma/health/query.ts 0% 0% 0% 0% 23-71
packages/trading-core/src/price-service/enigma/metadata/get-enigma-price-service-metadata.ts 0% 0% 0% 0% 50-73
packages/trading-core/src/price-service/enigma/metadata/query.ts 0% 0% 0% 0% 23-74
packages/trading-core/src/price-service/enigma/prices-by-addresses/get-enigma-price-service-prices-by-addresses.ts 80% 50% 100% 88.88% 62, 65
packages/trading-core/src/price-service/enigma/prices-by-addresses/query.ts 100% 100% 100% 100%
packages/trading-core/src/price-service/enigma/prices-by-names/get-enigma-price-service-prices-by-names.ts 80% 50% 100% 88.88% 58, 61
packages/trading-core/src/price-service/enigma/prices-by-names/query.ts 100% 100% 100% 100%
packages/trading-core/src/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.ts 0% 0% 0% 0% 36-56
packages/trading-core/src/price-service/enigma/symbols-info/query.ts 0% 0% 0% 0% 23-74
packages/trading-core/src/price-service/enigma/types/generated/enigma-price-service.ts 64.28% 100% 16.66% 64.28% 142, 157, 173, 186-189, 198, 212, 222, 232, 242, 255-258, 270, 283-286, 297, 304, 311
packages/trading-core/src/quotes/apply-notification.ts 84.48% 85.71% 100% 82.35% 110, 138, 171, 184-191
packages/trading-core/src/quotes/fingerprint.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/open-quantity.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/reconcile-quotes.ts 97.22% 83.33% 100% 96.42% 168, 257
packages/trading-core/src/quotes/resolve-quote-accounts.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/should-accelerate.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/to-unified-quote.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/unified-quote.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/fees/calculate-close-platform-fee.ts 0% 100% 0% 0% 34
packages/trading-core/src/quotes/fees/calculate-open-platform-fee.ts 0% 100% 0% 0% 34
packages/trading-core/src/quotes/get-quote-events-by-type/get-quote-events-by-type.ts 0% 0% 0% 0% 9-85
packages/trading-core/src/quotes/get-quote-events-by-type/query-document.ts 0% 100% 100% 0% 8-32
packages/trading-core/src/quotes/get-quote-events-by-type/query.ts 0% 0% 0% 0% 22-83
packages/trading-core/src/quotes/get-quote-events-by-type/to-quote-event-row.ts 0% 0% 0% 0% 10-56
packages/trading-core/src/quotes/get-quote-events-by-type/types.ts 0% 100% 0% 0% 8-30
packages/trading-core/src/quotes/get-quote-funding/get-quote-funding.ts 0% 0% 0% 0% 50-63
packages/trading-core/src/quotes/get-quote-funding/query-document.ts 0% 100% 100% 0% 11-19
packages/trading-core/src/quotes/get-quote-funding/query.ts 0% 0% 0% 0% 18-67
packages/trading-core/src/quotes/get-quote-funding/to-funding-row.ts 0% 0% 0% 0% 9-24
packages/trading-core/src/quotes/get-quote-funding/types.ts 0% 0% 0% 0%
packages/trading-core/src/quotes/get-quote-history/close-type.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/get-quote-history/get-quote-history.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/get-quote-history/query-document.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/get-quote-history/query.ts 66.66% 100% 66.66% 66.66% 69-79
packages/trading-core/src/quotes/get-quote-history/to-history-row.ts 93.1% 79.24% 100% 96.15% 21, 34
packages/trading-core/src/quotes/get-quote-history/types.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/get-sub-account-quotes/get-sub-account-quotes.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/get-sub-account-quotes/query.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/grouping/aggregate-metrics.ts 100% 94.44% 100% 100%
packages/trading-core/src/quotes/grouping/group-quotes.ts 96.29% 70.96% 85.71% 95.83% 32
packages/trading-core/src/quotes/grouping/group-strategy.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/grouping/partition-quotes.ts 100% 100% 100% 100%
packages/trading-core/src/quotes/grouping/quote-group.ts 0% 0% 0% 0%
packages/trading-core/src/quotes/liquidation/calculate-liquidation-price.ts 0% 0% 0% 0% 67-82
packages/trading-core/src/quotes/upnl/calculate-quote-leverage.ts 83.33% 77.77% 100% 100% 47, 50
packages/trading-core/src/quotes/upnl/calculate-quote-pnl.ts 88.23% 87.5% 100% 100% 67, 73
packages/trading-core/src/quotes/upnl/calculate-quote-upnl.ts 88.23% 87.5% 100% 100% 69, 75
packages/trading-core/src/shared/errors/symm-error.ts 100% 100% 100% 100%
packages/trading-core/src/shared/test/fake-web-socket.ts 100% 83.33% 100% 100%
packages/trading-core/src/shared/test/mock-config.ts 100% 100% 100% 100%
packages/trading-core/src/shared/types/properties.ts 0% 0% 0% 0%
packages/trading-core/src/shared/types/query.ts 0% 0% 0% 0%
packages/trading-core/src/shared/types/websocket.ts 0% 0% 0% 0%
packages/trading-core/src/shared/utils/query.ts 100% 100% 100% 100%
packages/trading-core/src/shared/utils/simulate-before-write.ts 100% 100% 100% 100%
packages/trading-core/src/shared/utils/wei.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/error-codes/get-solver-error-codes.ts 80% 55.55% 100% 88.88% 57, 60
packages/trading-core/src/solvers/error-codes/query.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/estimated-price/get-estimated-price.ts 50% 20% 100% 55.55% 90-99
packages/trading-core/src/solvers/estimated-price/price-impact.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/estimated-price/query.ts 0% 0% 0% 0% 16-65
packages/trading-core/src/solvers/estimated-price/to-estimated-price.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/funding-info/get-funding-info.ts 81.81% 63.63% 100% 88.88% 64, 67
packages/trading-core/src/solvers/funding-info/project-funding-rate.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/funding-info/query.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/funding-info/to-funding-info.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/funding-info/types.ts 0% 0% 0% 0%
packages/trading-core/src/solvers/instant-close/get-instant-closes/get-instant-closes.ts 0% 0% 0% 0% 51-68
packages/trading-core/src/solvers/instant-close/get-instant-closes/query.ts 0% 0% 0% 0% 23-81
packages/trading-core/src/solvers/instant-close/get-instant-closes/to-pending-instant-close.ts 0% 0% 0% 0% 37-41
packages/trading-core/src/solvers/instant-close/instant-close/instant-close.ts 0% 0% 0% 0% 60-96
packages/trading-core/src/solvers/instant-close/instant-close/query.ts 0% 100% 0% 0% 13-15
packages/trading-core/src/solvers/instant-close/instant-close-auto/instant-close-auto.ts 0% 100% 0% 0% 34-35
packages/trading-core/src/solvers/instant-close/instant-close-auto/query.ts 0% 100% 0% 0% 14-16
packages/trading-core/src/solvers/instant-close/instant-close-bulk/instant-close-bulk.ts 0% 0% 0% 0% 12-141
packages/trading-core/src/solvers/instant-close/instant-close-bulk/query.ts 0% 100% 0% 0% 14-16
packages/trading-core/src/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.ts 0% 100% 0% 0% 72-100
packages/trading-core/src/solvers/instant-close/instant-close-bulk-auto/query.ts 0% 100% 0% 0% 13-15
packages/trading-core/src/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.ts 0% 0% 0% 0% 59-101
packages/trading-core/src/solvers/instant-close/shared/calldata.ts 0% 100% 0% 0% 25-35
packages/trading-core/src/solvers/instant-close/shared/close-math.ts 0% 0% 0% 0% 34-62
packages/trading-core/src/solvers/instant-close/shared/hedger-api.ts 0% 0% 0% 0% 45-64
packages/trading-core/src/solvers/instant-close/shared/quote-constraints.ts 0% 0% 0% 0% 92-155
packages/trading-core/src/solvers/instant-close/shared/types.ts 0% 0% 0% 0%
packages/trading-core/src/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.ts 80% 66.66% 100% 88.88% 57, 60
packages/trading-core/src/solvers/instant-open/get-instant-open-quote-id/query.ts 0% 0% 0% 0% 21-78
packages/trading-core/src/solvers/instant-open/get-instant-opens/get-instant-opens.ts 80% 58.33% 100% 88.88% 57, 60
packages/trading-core/src/solvers/instant-open/get-instant-opens/query.ts 0% 0% 0% 0% 19-76
packages/trading-core/src/solvers/instant-open/get-instant-opens/to-pending-instant-open.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/instant-open/instant-open/instant-open.ts 0% 0% 0% 0% 101-181
packages/trading-core/src/solvers/instant-open/instant-open/query.ts 0% 100% 0% 0% 13-15
packages/trading-core/src/solvers/instant-open/instant-open-auto/instant-open-auto.ts 0% 100% 0% 0% 30-31
packages/trading-core/src/solvers/instant-open/instant-open-auto/query.ts 0% 100% 0% 0% 14-16
packages/trading-core/src/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.ts 0% 0% 0% 0% 79-165
packages/trading-core/src/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.ts 0% 0% 0% 0% 28-37
packages/trading-core/src/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.ts 0% 0% 0% 0% 29-49
packages/trading-core/src/solvers/instant-open/prepare-instant-open-params/resolvers/types.ts 0% 0% 0% 0%
packages/trading-core/src/solvers/instant-open/shared/calldata.ts 0% 0% 0% 0% 9-150
packages/trading-core/src/solvers/instant-open/shared/eip712.ts 0% 100% 0% 0% 11-97
packages/trading-core/src/solvers/instant-open/shared/hedger-api.ts 0% 0% 0% 0% 42-61
packages/trading-core/src/solvers/instant-open/shared/operations.ts 0% 0% 0% 0% 14-123
packages/trading-core/src/solvers/instant-open/shared/quote-constraints.ts 0% 0% 0% 0% 154-262
packages/trading-core/src/solvers/instant-open/shared/selectors.ts 0% 0% 0% 0% 6-53
packages/trading-core/src/solvers/instant-open/shared/trade-math.ts 21.42% 27.27% 33.33% 22.5% 15-234
packages/trading-core/src/solvers/instant-open/shared/types.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/locked-params/get-locked-params.ts 80% 50% 100% 88.88% 54, 57
packages/trading-core/src/solvers/locked-params/query.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/market-info/get-market-info.ts 80% 55.55% 100% 88.88% 56, 59
packages/trading-core/src/solvers/market-info/query.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/market-info/to-market-info.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/market-info/types.ts 0% 0% 0% 0%
packages/trading-core/src/solvers/markets/get-markets.ts 80% 63.63% 100% 88.88% 47, 50
packages/trading-core/src/solvers/markets/query.ts 0% 0% 0% 0% 17-52
packages/trading-core/src/solvers/notional-cap/check-notional-cap.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/notional-cap/get-notional-cap-all.ts 90.9% 72.72% 100% 100% 58
packages/trading-core/src/solvers/notional-cap/get-notional-cap-by-symbol-id.ts 88.88% 62.5% 100% 100% 51
packages/trading-core/src/solvers/notional-cap/get-open-interest-by-symbol-id.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/notional-cap/query-all.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/notional-cap/query-open-interest.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/notional-cap/query.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/notional-cap/to-market-notional-cap.ts 100% 100% 100% 100%
packages/trading-core/src/solvers/notional-cap/types.ts 0% 0% 0% 0%
packages/trading-core/src/solvers/shared/resolvers/resolve-mark-price.ts 0% 0% 0% 0% 24-38
packages/trading-core/src/solvers/shared/resolvers/resolve-market.ts 0% 0% 0% 0% 29-54
packages/trading-core/src/solvers/shared/resolvers/types.ts 0% 0% 0% 0%
packages/trading-core/src/solvers/types/generated/enigma-solver.ts 64.7% 100% 11.11% 64.7% 539, 546, 554, 565-568, 578-581, 592-595, 603, 614, 625, 635, 645, 665, 676, 687, 697-700, 710-713, 723, 734-737, 748-751, 762-765, 776-779, 791-794, 805-808, 818
packages/trading-core/src/symmio-contracts/abi/v0.8.5/account-layer.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/abi/v0.8.5/instant-layer.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/abi/v0.8.5/symmio.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/add-margin.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/create-sub-accounts.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/delete-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/deposit-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/edit-account-name.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-account-balance-info.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-account-balance-of.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-user-sub-accounts.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/get-virtual-account.ts 0% 100% 0% 0% 67-85
packages/trading-core/src/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/predict-next-virtual-account.ts 0% 100% 0% 0% 58-68
packages/trading-core/src/symmio-contracts/account-layer/actions/remove-margin.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-add-margin.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-delete-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-deposit-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-edit-account-name.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/actions/simulate-remove-margin.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/add-margin.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/account-layer/query/create-sub-accounts.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/delete-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/deposit-and-allocate-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/deposit-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/edit-account-name.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/get-account-balance-info.ts 83.33% 85.71% 100% 83.33% 72
packages/trading-core/src/symmio-contracts/account-layer/query/get-account-balance-of.ts 83.33% 85.71% 100% 83.33% 72
packages/trading-core/src/symmio-contracts/account-layer/query/get-sub-account-virtual-nonce.ts 83.33% 85.71% 100% 83.33% 77-81
packages/trading-core/src/symmio-contracts/account-layer/query/get-sub-account.ts 83.33% 85.71% 100% 83.33% 68
packages/trading-core/src/symmio-contracts/account-layer/query/get-sub-accounts-count-of-user.ts 83.33% 85.71% 100% 83.33% 77
packages/trading-core/src/symmio-contracts/account-layer/query/get-user-sub-accounts-addresses.ts 83.33% 85.71% 100% 83.33% 80
packages/trading-core/src/symmio-contracts/account-layer/query/get-user-sub-accounts.ts 83.33% 85.71% 100% 83.33% 72
packages/trading-core/src/symmio-contracts/account-layer/query/get-virtual-account.ts 0% 0% 0% 0% 24-76
packages/trading-core/src/symmio-contracts/account-layer/query/get-virtual-accounts-addresses-of-sub-account.ts 83.33% 85.71% 100% 83.33% 83-87
packages/trading-core/src/symmio-contracts/account-layer/query/predict-next-virtual-account.ts 0% 0% 0% 0% 24-98
packages/trading-core/src/symmio-contracts/account-layer/query/remove-margin.ts 0% 100% 0% 0% 21-23
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-add-margin.ts 0% 100% 0% 0% 17-19
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-create-sub-accounts.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-delete-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-deposit-and-allocate-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-deposit-for-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-edit-account-name.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/account-layer/query/simulate-remove-margin.ts 0% 100% 0% 0% 17-19
packages/trading-core/src/symmio-contracts/collateral/actions/approve-collateral.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/collateral/actions/get-collateral-allowance.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/collateral/actions/get-collateral-balance.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/collateral/actions/simulate-approve-collateral.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/collateral/query/approve-collateral.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/collateral/query/get-collateral-allowance.ts 0% 0% 0% 0% 24-74
packages/trading-core/src/symmio-contracts/collateral/query/get-collateral-balance.ts 0% 0% 0% 0% 24-74
packages/trading-core/src/symmio-contracts/collateral/query/simulate-approve-collateral.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/instant-layer/types.ts 0% 0% 0% 0%
packages/trading-core/src/symmio-contracts/instant-layer/actions/get-delegation-expiry.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/instant-layer/actions/get-is-delegation-active.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/instant-layer/actions/grant-delegation.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/instant-layer/actions/simulate-grant-delegation.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/instant-layer/query/get-delegation-expiry.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/instant-layer/query/get-is-delegation-active.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/instant-layer/query/grant-delegation.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/instant-layer/query/simulate-grant-delegation.ts 0% 100% 0% 0% 17-19
packages/trading-core/src/symmio-contracts/symmio/parts.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/types.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/allocate.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/deallocate.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/finalize-withdraw-request.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-fee-for-user.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-last-withdraw-request-id.ts 0% 100% 0% 0% 45-55
packages/trading-core/src/symmio-contracts/symmio/actions/get-onchain-contract-markets.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-party-a-open-positions.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-party-a-pending-quotes.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-pending-withdraw-requests.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-quote.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/get-withdraw-requests.ts 0% 100% 0% 0% 44-54
packages/trading-core/src/symmio-contracts/symmio/actions/get-withdrawable-time.ts 0% 100% 0% 0% 46-56
packages/trading-core/src/symmio-contracts/symmio/actions/initiate-withdraw.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/request-cancel-withdraw.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/simulate-allocate.ts 0% 100% 0% 0% 38-46
packages/trading-core/src/symmio-contracts/symmio/actions/simulate-deallocate.ts 0% 100% 0% 0% 39-47
packages/trading-core/src/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/simulate-initiate-withdraw.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/internal/call-as-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/internal/simulate-call-as-sub-account.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/query/allocate.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/symmio/query/deallocate.ts 0% 100% 0% 0% 21-23
packages/trading-core/src/symmio-contracts/symmio/query/finalize-withdraw-request.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/symmio/query/get-fee-for-user.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/query/get-last-withdraw-request-id.ts 0% 0% 0% 0% 24-77
packages/trading-core/src/symmio-contracts/symmio/query/get-onchain-contract-markets.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-contracts/symmio/query/get-party-a-open-positions.ts 83.33% 85.71% 100% 83.33% 72
packages/trading-core/src/symmio-contracts/symmio/query/get-party-a-pending-quotes.ts 83.33% 85.71% 100% 83.33% 72
packages/trading-core/src/symmio-contracts/symmio/query/get-pending-withdraw-requests.ts 0% 0% 0% 0% 24-82
packages/trading-core/src/symmio-contracts/symmio/query/get-quote.ts 83.33% 85.71% 100% 83.33% 57
packages/trading-core/src/symmio-contracts/symmio/query/get-withdraw-requests.ts 0% 0% 0% 0% 24-78
packages/trading-core/src/symmio-contracts/symmio/query/get-withdrawable-time.ts 0% 0% 0% 0% 24-74
packages/trading-core/src/symmio-contracts/symmio/query/initiate-withdraw.ts 0% 100% 0% 0% 21-23
packages/trading-core/src/symmio-contracts/symmio/query/request-cancel-withdraw.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/symmio/query/simulate-allocate.ts 0% 100% 0% 0% 17-19
packages/trading-core/src/symmio-contracts/symmio/query/simulate-deallocate.ts 0% 100% 0% 0% 17-19
packages/trading-core/src/symmio-contracts/symmio/query/simulate-finalize-withdraw-request.ts 0% 100% 0% 0% 20-23
packages/trading-core/src/symmio-contracts/symmio/query/simulate-initiate-withdraw.ts 0% 100% 0% 0% 20-22
packages/trading-core/src/symmio-contracts/symmio/query/simulate-request-cancel-withdraw.ts 0% 100% 0% 0% 20-23
packages/trading-core/src/symmio-subgraph/executeSubgraphRequest.ts 66.66% 16.66% 100% 66.66% 44-63, 74
packages/trading-core/src/symmio-subgraph/query-subgraph/query-subgraph.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-subgraph/query-subgraph/query.ts 0% 0% 0% 0% 22-63
packages/trading-core/src/symmio-subgraph/types/generated/analytics/gql.ts 100% 50% 100% 100%
packages/trading-core/src/symmio-subgraph/types/generated/analytics/graphql.ts 100% 100% 100% 100%
packages/trading-core/src/symmio-subgraph/types/generated/events/gql.ts 100% 50% 100% 100%
packages/trading-core/src/symmio-subgraph/types/generated/events/graphql.ts 100% 100% 100% 100%
packages/trading-core/src/tpsl/slippage.ts 100% 100% 100% 100%
packages/trading-core/src/tpsl/types.ts 0% 0% 0% 0%
packages/trading-core/src/tpsl/validate-tpsl.ts 97.67% 90.74% 100% 97.61% 78-80
packages/trading-core/src/tpsl/config/get-tpsl-config.ts 100% 100% 100% 100%
packages/trading-core/src/tpsl/config/query.ts 0% 0% 0% 0% 10-35
packages/trading-core/src/tpsl/delete-quote-tpsl/delete-quote-tpsl.ts 0% 0% 0% 0% 52-76
packages/trading-core/src/tpsl/delete-quote-tpsl/query.ts 0% 100% 0% 0% 13-15
packages/trading-core/src/tpsl/get-quote-tpsl/get-quote-tpsl.ts 0% 0% 0% 0% 50-61
packages/trading-core/src/tpsl/get-quote-tpsl/query.ts 0% 0% 0% 0% 10-49
packages/trading-core/src/tpsl/internal/axios.ts 60% 25% 100% 75% 9, 13-18
packages/trading-core/src/tpsl/internal/resolve-tpsl-config.ts 80% 50% 100% 80% 13-17
packages/trading-core/src/tpsl/set-quote-tpsl/build-conditional-order-leg.ts 100% 100% 100% 100%
packages/trading-core/src/tpsl/set-quote-tpsl/build-conditional-order-message.ts 100% 86.36% 100% 100%
packages/trading-core/src/tpsl/set-quote-tpsl/query.ts 0% 100% 0% 0% 13-15
packages/trading-core/src/tpsl/set-quote-tpsl/set-quote-tpsl.ts 0% 0% 0% 0% 93-163
packages/trading-core/src/tpsl/set-quote-tpsl/sign-tpsl-request.ts 0% 100% 0% 0% 20-47
packages/trading-core/src/tpsl/signing-spec/delete-query.ts 0% 0% 0% 0% 16-42
packages/trading-core/src/tpsl/signing-spec/get-tpsl-delete-signing-spec.ts 0% 0% 0% 0% 27-35
packages/trading-core/src/tpsl/signing-spec/get-tpsl-signing-spec.ts 0% 0% 0% 0% 27-35
packages/trading-core/src/tpsl/signing-spec/query.ts 0% 0% 0% 0% 14-40
packages/trading-core/src/tpsl/types/generated/tpsl-handler.ts 72.91% 100% 31.57% 72.91% 175, 186, 195, 205, 215, 225, 232, 242, 254, 266-269, 289, 302, 312
packages/trading-core/src/transfers/get-transfer-history/get-transfer-history.ts 100% 100% 100% 100%
packages/trading-core/src/transfers/get-transfer-history/query-document.ts 100% 100% 100% 100%
packages/trading-core/src/transfers/get-transfer-history/query.ts 66.66% 100% 66.66% 66.66% 69-79
packages/trading-core/src/transfers/get-transfer-history/to-transfer-row.ts 100% 100% 100% 100%
packages/trading-core/src/transfers/get-transfer-history/types.ts 0% 0% 0% 0%
packages/trading-core/src/websocket/notifications/build-subscribe-message.ts 100% 100% 100% 100%
packages/trading-core/src/websocket/notifications/normalize-notification.ts 100% 91.3% 100% 100%
packages/trading-core/src/websocket/notifications/parse-notification-frame.ts 85.71% 78.57% 100% 91.66% 27, 39
packages/trading-core/src/websocket/notifications/types.ts 100% 100% 100% 100%
packages/trading-core/src/websocket/notifications/watch-notifications.ts 59.09% 12.5% 66.66% 65% 35-44, 103-104, 106, 110-114
packages/trading-core/src/websocket/prices/parse-price-frame.ts 100% 100% 100% 100%
packages/trading-core/src/websocket/prices/types.ts 0% 0% 0% 0%
packages/trading-core/src/websocket/prices/watch-enigma-prices.ts 62.5% 41.66% 66.66% 63.63% 25-29, 60, 83-84, 90-94
packages/trading-core/src/websocket/socket/backoff.ts 100% 100% 100% 100%
packages/trading-core/src/websocket/socket/create-reconnecting-socket.ts 85.71% 84.31% 100% 88.75% 154-155, 163, 181-183, 188, 202, 207, 236, 243, 255-258
packages/trading-core/src/websocket/socket/get-socket-pool.ts 100% 100% 100% 100%
packages/trading-core/src/websocket/socket/socket-pool.ts 88.88% 83.33% 77.77% 95.65% 75, 87
packages/trading-core/src/websocket/socket/socket-status.ts 100% 100% 100% 100%
packages/trading-core/src/websocket/tpsl/parse-tpsl-frame.ts 100% 80% 100% 100%
packages/trading-core/src/websocket/tpsl/types.ts 0% 0% 0% 0%
packages/trading-core/src/websocket/tpsl/watch-tpsl-notifications.ts 0% 0% 0% 0% 32-82
Generated in workflow #40 for commit e2c0316 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for trading-react

Status Category Percentage Covered / Total
🔵 Lines 64.39% 1136 / 1764
🔵 Statements 62.36% 1178 / 1889
🔵 Functions 62.43% 256 / 410
🔵 Branches 49.54% 493 / 995
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/trading-react/src/account-layer/use-affiliate-state.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-cancel-registration.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-generated-account-manager-address.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-request-to-register-affiliate.ts 100% 100% 100% 100%
Unchanged Files
packages/trading-react/src/account-layer/use-account-balance-info.ts 66.66% 38.46% 50% 80% 80-84
packages/trading-react/src/account-layer/use-account-balance-of.ts 68.75% 55.55% 50% 84.61% 75-78
packages/trading-react/src/account-layer/use-add-margin.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-allocate.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-create-sub-accounts.ts 100% 80% 100% 100%
packages/trading-react/src/account-layer/use-deallocate.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-delete-sub-account.ts 100% 80% 100% 100%
packages/trading-react/src/account-layer/use-deposit-and-allocate.ts 100% 80% 100% 100%
packages/trading-react/src/account-layer/use-deposit.ts 100% 80% 100% 100%
packages/trading-react/src/account-layer/use-edit-account-name.ts 100% 80% 100% 100%
packages/trading-react/src/account-layer/use-predicted-next-virtual-account.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-remove-margin.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-add-margin.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-allocate.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-create-sub-accounts.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-deallocate.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-delete-sub-account.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-deposit-and-allocate.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-deposit.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-edit-account-name.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-simulate-remove-margin.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-sub-account-virtual-nonce.ts 87.5% 100% 100% 87.5% 54
packages/trading-react/src/account-layer/use-sub-account.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-sub-accounts-count-of-user.ts 87.5% 100% 100% 87.5% 53
packages/trading-react/src/account-layer/use-user-sub-accounts-addresses.ts 87.5% 100% 100% 87.5% 55
packages/trading-react/src/account-layer/use-user-sub-accounts.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-virtual-account.ts 100% 100% 100% 100%
packages/trading-react/src/account-layer/use-virtual-accounts-addresses-of-sub-account.ts 87.5% 100% 100% 87.5% 57
packages/trading-react/src/balance-history/use-balance-history.ts 100% 100% 100% 100%
packages/trading-react/src/balance-history/use-deposit-history.ts 100% 100% 100% 100%
packages/trading-react/src/balance-history/use-withdraw-history.ts 100% 100% 100% 100%
packages/trading-react/src/collateral/use-approve-collateral.ts 92.85% 80% 100% 92.85% 69
packages/trading-react/src/collateral/use-collateral-allowance.ts 87.5% 100% 100% 87.5% 52
packages/trading-react/src/collateral/use-collateral-balance.ts 87.5% 100% 100% 87.5% 48
packages/trading-react/src/collateral/use-simulate-approve-collateral.ts 100% 100% 100% 100%
packages/trading-react/src/error-codes/use-solver-error-codes.ts 0% 0% 0% 0% 1-53
packages/trading-react/src/error-codes/use-solver-error-message.ts 0% 0% 0% 0% 1-31
packages/trading-react/src/errors/normalize-symm-error.ts 87.17% 79.16% 100% 86.11% 29-36, 125-127, 131
packages/trading-react/src/errors/symmio-request-error.ts 100% 100% 100% 100%
packages/trading-react/src/errors/types.ts 0% 0% 0% 0%
packages/trading-react/src/estimated-price/use-debounced-value.ts 0% 0% 0% 0% 1-24
packages/trading-react/src/estimated-price/use-estimated-price.ts 0% 0% 0% 0% 1-88
packages/trading-react/src/fees/use-fee-for-user.ts 100% 100% 100% 100%
packages/trading-react/src/funding-info/use-funding-info.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-delegation-expiry.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-grant-delegation.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-close-auto.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-close-bulk-auto.ts 0% 0% 0% 0% 1-63
packages/trading-react/src/instant-layer/use-instant-close-bulk.ts 0% 0% 0% 0% 1-59
packages/trading-react/src/instant-layer/use-instant-close.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-closes.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-open-auto.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-open-quote-id.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-open-with-tpsl.ts 95.23% 81.25% 100% 95.12% 118-119
packages/trading-react/src/instant-layer/use-instant-open.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-instant-opens.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-is-delegation-active.ts 100% 100% 100% 100%
packages/trading-react/src/instant-layer/use-simulate-grant-delegation.ts 100% 100% 100% 100%
packages/trading-react/src/locked-params/use-locked-params.ts 0% 0% 0% 0% 1-49
packages/trading-react/src/margin/use-available-instant-open-margin.ts 0% 0% 0% 0% 1-103
packages/trading-react/src/market-info/use-market-info.ts 100% 100% 100% 100%
packages/trading-react/src/markets/use-markets.ts 87.5% 100% 100% 87.5% 52
packages/trading-react/src/markets/use-onchain-contract-markets.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-deallocate-upnl-sig.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-party-a-overview.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-price-range.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-price.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-settle-upnl.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-upnl-a-with-symbol-price.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-upnl-a.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-upnl-b.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-upnl-with-symbol-price.ts 100% 100% 100% 100%
packages/trading-react/src/muon/use-muon-upnl.ts 100% 100% 100% 100%
packages/trading-react/src/notifications/use-search-notifications.ts 0% 0% 0% 0% 1-55
packages/trading-react/src/notional-cap/use-notional-cap-all.ts 0% 0% 0% 0% 1-65
packages/trading-react/src/notional-cap/use-notional-cap-by-symbol-id.ts 0% 0% 0% 0% 1-71
packages/trading-react/src/notional-cap/use-open-interest-by-symbol-id.ts 0% 0% 0% 0% 1-72
packages/trading-react/src/price-service/use-enigma-price-by-market-id.ts 77.77% 62.5% 80% 76.92% 40, 65-66
packages/trading-react/src/price-service/use-enigma-price-by-name.ts 86.11% 90.9% 60% 90.62% 87-95, 98
packages/trading-react/src/price-service/use-enigma-price-service-health.ts 0% 0% 0% 0% 1-51
packages/trading-react/src/price-service/use-enigma-price-service-metadata.ts 0% 0% 0% 0% 1-51
packages/trading-react/src/price-service/use-enigma-price-service-prices-by-addresses.ts 0% 0% 0% 0% 1-52
packages/trading-react/src/price-service/use-enigma-price-service-prices-by-names.ts 0% 0% 0% 0% 1-51
packages/trading-react/src/price-service/use-enigma-price-service-symbols-info.ts 0% 0% 0% 0% 1-51
packages/trading-react/src/price-service/use-enigma-prices.ts 87.5% 80% 66.66% 90.32% 88-92, 95
packages/trading-react/src/provider/symmio-config-context.ts 100% 100% 100% 100%
packages/trading-react/src/provider/symmio-provider.tsx 41.66% 11.11% 50% 36.36% 85-106
packages/trading-react/src/provider/use-symmio-chain-id.ts 100% 100% 100% 100%
packages/trading-react/src/provider/use-symmio-config.ts 83.33% 80% 100% 83.33% 33
packages/trading-react/src/quotes/optimistic-quotes-store.ts 0% 0% 0% 0% 1-72
packages/trading-react/src/quotes/use-account-liquidation-price.ts 0% 0% 0% 0% 1-83
packages/trading-react/src/quotes/use-grouped-quotes.ts 100% 100% 100% 100%
packages/trading-react/src/quotes/use-managed-quotes.ts 0% 0% 0% 0% 1-728
packages/trading-react/src/quotes/use-party-a-open-positions.ts 87.5% 100% 100% 87.5% 51
packages/trading-react/src/quotes/use-party-a-pending-quotes.ts 87.5% 100% 100% 87.5% 51
packages/trading-react/src/quotes/use-quote-events-by-type.ts 0% 0% 0% 0% 1-52
packages/trading-react/src/quotes/use-quote-funding.ts 0% 0% 0% 0% 1-54
packages/trading-react/src/quotes/use-quote-history.ts 100% 100% 100% 100%
packages/trading-react/src/quotes/use-quote-platform-fee.ts 0% 0% 0% 0% 1-60
packages/trading-react/src/quotes/use-quote-price-history.ts 0% 100% 0% 0% 1-32
packages/trading-react/src/quotes/use-quote-upnl-and-pnl.ts 100% 62.5% 100% 100%
packages/trading-react/src/quotes/use-quote.ts 87.5% 100% 100% 87.5% 49
packages/trading-react/src/quotes/use-quotes-funding.ts 0% 0% 0% 0% 1-152
packages/trading-react/src/quotes/use-subgraph-query.ts 100% 100% 100% 100%
packages/trading-react/src/tpsl/to-quote-tpsl.ts 91.11% 80% 100% 97.56% 40, 48, 89, 100
packages/trading-react/src/tpsl/tpsl-store.ts 75% 58.18% 89.47% 77.68% 109-119, 205, 213-215, 221-228, 236, 247, 248, 261, 269-277, 280, 324-327
packages/trading-react/src/tpsl/use-delete-quote-tpsl.ts 0% 0% 0% 0% 1-49
packages/trading-react/src/tpsl/use-quote-tpsl.ts 0% 0% 0% 0% 1-115
packages/trading-react/src/tpsl/use-set-quote-tpsl.ts 0% 0% 0% 0% 1-68
packages/trading-react/src/tpsl/use-tpsl-config.ts 0% 0% 0% 0% 1-41
packages/trading-react/src/tpsl/use-tpsl-signing-spec.ts 0% 0% 0% 0% 1-40
packages/trading-react/src/tpsl/use-watch-tpsl-notifications.ts 0% 0% 0% 0% 1-81
packages/trading-react/src/transactions/resolve-write-result.ts 100% 100% 100% 100%
packages/trading-react/src/transactions/use-transactions-store.ts 100% 83.33% 100% 100%
packages/trading-react/src/transactions/write-types.ts 0% 0% 0% 0%
packages/trading-react/src/transfers/use-transfer-history.ts 100% 100% 100% 100%
packages/trading-react/src/utils/predicate-match.ts 94.73% 85.71% 100% 100% 45
packages/trading-react/src/wallet/use-connect-wallet.ts 100% 100% 100% 100%
packages/trading-react/src/wallet/use-disconnect-wallet.ts 83.33% 100% 100% 83.33% 34
packages/trading-react/src/wallet/use-switch-to-symmio-chain.ts 100% 100% 100% 100%
packages/trading-react/src/wallet/use-wallet-account.ts 100% 100% 100% 100%
packages/trading-react/src/websocket/is-settle-notification.ts 66.66% 0% 0% 66.66% 17-20
packages/trading-react/src/websocket/use-notifications.ts 93.54% 100% 66.66% 96.55% 96, 103
packages/trading-react/src/withdraw/use-finalize-withdraw-request.ts 100% 100% 100% 100%
packages/trading-react/src/withdraw/use-initiate-withdraw.ts 93.33% 100% 100% 93.33% 73
packages/trading-react/src/withdraw/use-last-withdraw-request-id.ts 87.5% 100% 100% 87.5% 50
packages/trading-react/src/withdraw/use-pending-withdraw-requests.ts 87.5% 100% 100% 87.5% 52
packages/trading-react/src/withdraw/use-request-cancel-withdraw.ts 100% 100% 100% 100%
packages/trading-react/src/withdraw/use-simulate-finalize-withdraw-request.ts 100% 100% 100% 100%
packages/trading-react/src/withdraw/use-simulate-initiate-withdraw.ts 100% 100% 100% 100%
packages/trading-react/src/withdraw/use-simulate-request-cancel-withdraw.ts 100% 100% 100% 100%
packages/trading-react/src/withdraw/use-withdraw-requests.ts 87.5% 100% 100% 87.5% 47
packages/trading-react/src/withdraw/use-withdrawable-time.ts 87.5% 100% 100% 87.5% 48
Generated in workflow #40 for commit e2c0316 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for utils

Status Category Percentage Covered / Total
🔵 Lines 95.48% 127 / 133
🔵 Statements 95.8% 137 / 143
🔵 Functions 96.77% 30 / 31
🔵 Branches 87.8% 108 / 123
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Unchanged Files
packages/utils/src/address/minify-hash.ts 100% 100% 100% 100%
packages/utils/src/address/shorten-address.ts 100% 100% 100% 100%
packages/utils/src/amounts/constants.ts 0% 100% 100% 0% 2
packages/utils/src/amounts/decimal-bridge.ts 100% 100% 100% 100%
packages/utils/src/amounts/format-token-amount.ts 100% 87.5% 100% 100%
packages/utils/src/amounts/parse-token-amount.ts 100% 100% 100% 100%
packages/utils/src/decimal/config.ts 91.66% 0% 50% 91.66% 71-76
packages/utils/src/decimal/format-ether.ts 100% 100% 100% 100%
packages/utils/src/decimal/format-units.ts 100% 100% 100% 100%
packages/utils/src/decimal/parse-ether.ts 100% 100% 100% 100%
packages/utils/src/decimal/parse-units.ts 100% 100% 100% 100%
packages/utils/src/decimal/safe-divide.ts 100% 100% 100% 100%
packages/utils/src/decimal/to-decimal.ts 100% 100% 100% 100%
packages/utils/src/format/format-compact-currency.ts 100% 100% 100% 100%
packages/utils/src/format/format-compact.ts 87.5% 80% 100% 86.66% 43, 60
packages/utils/src/format/format-currency.ts 91.66% 90% 100% 91.66% 61
packages/utils/src/format/format-dynamic-decimals.ts 93.33% 88.88% 100% 93.33% 64
packages/utils/src/format/format-percentage.ts 100% 100% 100% 100%
packages/utils/src/format/format-relative-timestamp.ts 100% 96% 100% 100%
packages/utils/src/format/format-with-commas.ts 100% 100% 100% 100%
packages/utils/src/number/to-finite-number.ts 100% 100% 100% 100%
Generated in workflow #40 for commit e2c0316 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for session-key

Status Category Percentage Covered / Total
🔵 Lines 79.51% 66 / 83
🔵 Statements 79.51% 66 / 83
🔵 Functions 70.83% 17 / 24
🔵 Branches 66.66% 32 / 48
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Unchanged Files
packages/session-key/src/constants.ts 100% 100% 100% 100%
packages/session-key/src/session-key-manager.ts 78.78% 70% 66.66% 78.78% 32-33, 153, 167-171, 186, 202-213, 225, 235
packages/session-key/src/transfer-payload.ts 78.57% 64.28% 100% 78.57% 61, 65, 77
packages/session-key/src/types.ts 0% 0% 0% 0%
Generated in workflow #40 for commit e2c0316 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant