Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-metering/src/agent_tools.rs

cre8-app-metering · module agent_tools · src · 665 lines (530 code, 67 comment) · sha 209b836ebbac1265

Items

struct EconomyView struct CapMeta impl EconomyView struct GetBalanceTool impl GetBalanceTool struct BalanceArgs impl Tool for GetBalanceTool struct GetCapHeadroomTool impl GetCapHeadroomTool struct CapArgs impl Tool for GetCapHeadroomTool struct ListContractsTool impl ListContractsTool struct ListArgs impl Tool for ListContractsTool struct ProposeFlowTool impl ProposeFlowTool struct ProposeArgs impl Tool for ProposeFlowTool

Functions

By call-graph weight (PageRank; 1.0 is the average function). 36 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
EconomyView::newsrc/agent_tools.rs:77method311113.6
fresh_viewsrc/agent_tools.rs:457fn811443.1
ProposeFlowTool::newsrc/agent_tools.rs:326method31501.5
permissive_policysrc/agent_tools.rs:466fn31101.2
GetBalanceTool::newsrc/agent_tools.rs:95method31401.1
GetCapHeadroomTool::newsrc/agent_tools.rs:170method31401.1
ListContractsTool::newsrc/agent_tools.rs:252method31301.1
EconomyView::register_capsrc/agent_tools.rs:83method31411
GetBalanceTool::namesrc/agent_tools.rs:108trait impl31100.9
GetCapHeadroomTool::namesrc/agent_tools.rs:182trait impl31100.9
ListContractsTool::namesrc/agent_tools.rs:264trait impl31100.9
ProposeFlowTool::namesrc/agent_tools.rs:343trait impl31100.9
default_agent_toolssrc/agent_tools.rs:441fn81250.9
creditsrc/agent_tools.rs:470fn51310.9
GetBalanceTool::specsrc/agent_tools.rs:112trait impl241010.5
GetBalanceTool::executesrc/agent_tools.rs:137trait impl242000.5
GetCapHeadroomTool::specsrc/agent_tools.rs:186trait impl221010.5
GetCapHeadroomTool::executesrc/agent_tools.rs:209trait impl342000.5
ListContractsTool::specsrc/agent_tools.rs:268trait impl201010.5
ListContractsTool::executesrc/agent_tools.rs:289trait impl282010.5
ProposeFlowTool::specsrc/agent_tools.rs:347trait impl381010.5
ProposeFlowTool::executesrc/agent_tools.rs:386trait impl493010.5
get_balance_all_returns_every_balancesrc/agent_tools.rs:479fn111030.5
get_balance_specific_assetsrc/agent_tools.rs:492fn71030.5
get_balance_empty_peer_returns_zerosrc/agent_tools.rs:501fn61020.5
cap_headroom_reports_remainingsrc/agent_tools.rs:511fn201040.5
cap_headroom_unknown_namespace_errorssrc/agent_tools.rs:533fn61020.5
cap_headroom_zero_used_yields_full_headroomsrc/agent_tools.rs:541fn121030.5
list_contracts_returns_everything_when_unfilteredsrc/agent_tools.rs:557fn81020.5
list_contracts_filters_by_intentsrc/agent_tools.rs:567fn81020.5
propose_flow_returns_consequence_previewsrc/agent_tools.rs:579fn191020.5
propose_flow_does_not_mutate_ledgersrc/agent_tools.rs:600fn151020.5
propose_flow_no_match_returns_ok_falsesrc/agent_tools.rs:617fn131020.5
propose_flow_invalid_args_errorssrc/agent_tools.rs:632fn81020.5
every_tool_exposes_a_specsrc/agent_tools.rs:644fn92020.5
default_kit_contains_all_foursrc/agent_tools.rs:655fn101020.5

Source not readable from this process.