Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cozy-Finance/agent-buttercup
/ functions
Functions
2,488 in github.com/Cozy-Finance/agent-buttercup
⨍
Functions
2,488
◇
Types & classes
2,543
↓ 1 callers
Method
deploy_protocol
( &self, state: &mut State<CozyUpdate, CozyWorld>, libraries: Vec<(&str, &str, EthersA
crates/simulations/src/cozy/runner.rs:479
↓ 1 callers
Method
deploy_set
( &self, state: &mut State<CozyUpdate, CozyWorld>, protocol_contracts: &ProtocolContra
crates/simulations/src/cozy/runner.rs:674
↓ 1 callers
Method
dim
(&self)
crates/simulations/src/cozy/statistics/wishart.rs:30
↓ 1 callers
Method
effective_active_protection
Calls the contract's `effectiveActiveProtection` (0x17766c81) function
crates/bindings/src/cozy_protocol/set.rs:248
↓ 1 callers
Method
execute
(&mut self, update: Self::WorldUpdate)
crates/simulations/src/cozy/world.rs:34
↓ 1 callers
Method
execute_arbitrage_buy
( &mut self, state: &State<CozyUpdate, CozyWorld>, channel: &AgentChannelSender<CozyUp
crates/simulations/src/cozy/agents/arbitrageur.rs:182
↓ 1 callers
Method
execute_arbitrage_sale
( &mut self, state: &State<CozyUpdate, CozyWorld>, channel: &AgentChannelSender<CozyUp
crates/simulations/src/cozy/agents/arbitrageur.rs:136
↓ 1 callers
Method
execute_evm_tx_state_update
( &mut self, evm_tx_state_update: EvmStateUpdate, )
crates/simulate/src/state/mod.rs:177
↓ 1 callers
Method
execute_world_state_update
( &mut self, world_state_update: WorldStateUpdate<U>, )
crates/simulate/src/state/mod.rs:199
↓ 1 callers
Method
execute_world_update
(&self, update: U)
crates/simulate/src/agent/agent_channel.rs:79
↓ 1 callers
Method
generate_bindings
(&self, write_exports: bool)
crates/binder/src/main.rs:135
↓ 1 callers
Method
get_apys
( &self, state: &State<CozyUpdate, CozyWorld>, per_second_fee_drips: Vec<U256>, )
crates/simulations/src/cozy/agents/set_analyzer.rs:103
↓ 1 callers
Method
get_filter
Returns the filter to use for `MultiAbigen`.
crates/binder/src/main.rs:50
↓ 1 callers
Method
get_per_second_fee_drips
(&self, state: &State<CozyUpdate, CozyWorld>)
crates/simulations/src/cozy/agents/set_analyzer.rs:91
↓ 1 callers
Method
get_protection_owned
( &self, state: &State<CozyUpdate, CozyWorld>, market_idx: usize, )
crates/simulations/src/cozy/agents/arbitrageur.rs:227
↓ 1 callers
Method
get_summary
(&self, state: &State<CozyUpdate, CozyWorld>)
crates/simulations/src/cozy/summary_generators/set_summary.rs:49
↓ 1 callers
Method
get_utilizations
(&self, state: &State<CozyUpdate, CozyWorld>)
crates/simulations/src/cozy/agents/set_analyzer.rs:80
↓ 1 callers
Method
integrate_pdf
(&self, a: &mut DVector<f64>, b: &mut DVector<f64>)
crates/simulations/src/cozy/statistics/mvnormal.rs:145
↓ 1 callers
Function
json_files
Returns a list of absolute paths to all the json files under the root.
crates/binder/src/utils.rs:4
↓ 1 callers
Method
mint
Calls the contract's `mint` (0x2ad984e1) function
crates/bindings/src/cozy_protocol/p_token.rs:12978
↓ 1 callers
Method
output_summaries
(&mut self, sim_state: &State<U, W>)
crates/simulate/src/summarizer.rs:48
↓ 1 callers
Method
read_account_info
(&self, address: Address)
crates/simulate/src/state/mod.rs:80
↓ 1 callers
Method
receive_evm_tx_output
(&self)
crates/simulate/src/agent/agent_channel.rs:105
↓ 1 callers
Method
redeem
Calls the contract's `redeem` (0xba087652) function
crates/bindings/src/cozy_protocol/set.rs:509
↓ 1 callers
Method
redemption_delay
Calls the contract's `redemptionDelay` (0x9b31c3a8) function
crates/bindings/src/cozy_protocol/manager.rs:15745
↓ 1 callers
Method
register_summary_generator
(&mut self, generator: Box<dyn SummaryGenerator<U, W>>)
crates/simulate/src/manager.rs:164
↓ 1 callers
Method
resolve_step
Executes the agents actions against the simulation environment.
crates/simulate/src/agent/mod.rs:32
↓ 1 callers
Method
run_sim
Run the time policy and agents to update the simulation environment.
crates/simulate/src/manager.rs:65
↓ 1 callers
Method
sample
Samples from the multivariate normal distribution # Formula L * Z + μ where `L` is the Cholesky decomposition of the covariance matrix, `Z` is a vec
crates/simulations/src/cozy/statistics/mvnormal.rs:270
↓ 1 callers
Method
sample
(&self, rng: &mut R)
crates/simulations/src/cozy/statistics/wishart.rs:36
↓ 1 callers
Method
sample
Samples from the multivariate Bernoulli distribution. # Formula x ~ MVN(μ, Σ) z = I(x > 0) where `μ` is the MVN mean vector and `Σ` is the MVN covar
crates/simulations/src/cozy/statistics/mvbernoulli.rs:112
↓ 1 callers
Method
sell
Calls the contract's `sell` (0x3ae885f5) function
crates/bindings/src/cozy_protocol/set.rs:571
↓ 1 callers
Method
set_risk_premium
( &self, annual_market_apys: &DVector<f64>, portfolio_weights: &DVector<f64>, )
crates/simulations/src/cozy/set_risk_model.rs:66
↓ 1 callers
Method
setup
( &self, state: &mut State<CozyUpdate, CozyWorld>, admin_addr: Address, )
crates/simulations/src/cozy/runner.rs:367
↓ 1 callers
Method
state
Calls the contract's `state` (0xc19d93fb) function
crates/bindings/src/cozy_protocol/i_trigger.rs:73
↓ 1 callers
Method
trigger
Calls the contract's `trigger` (0x7fec8d38) function
crates/bindings/src/cozy_protocol/p_token.rs:13077
↓ 1 callers
Method
utilization
Calls the contract's `utilization` (0xb18043a2) function
crates/bindings/src/cozy_protocol/set.rs:693
↓ 1 callers
Method
variance
(&self, portfolio_weights: &DVector<f64>)
crates/simulations/src/cozy/set_risk_model.rs:79
↓ 1 callers
Method
write_to_module
( binding: TokenStream, mod_path: impl AsRef<Path>, )
crates/binder/src/multi_metadata.rs:157
Function
__abi
()
crates/bindings/src/cozy_models/cost_model_area_calculations_lib.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/cost_model_jump_rate_factory.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/drip_decay_model_constant_factory.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/cost_model_dynamic_level_factory.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/cost_model_jump_rate.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/create_2.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/exponential_decay.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/base_model_factory.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/fixed_point_math_lib.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/i_cost_model.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/drip_decay_model_constant.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/i_drip_decay_model.rs:14
Function
__abi
()
crates/bindings/src/cozy_models/cost_model_dynamic_level.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/ierc20.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_chainlink_trigger_factory.rs:15
Function
__abi
()
crates/bindings/src/cozy_triggers/dummy_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/finder_interface.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/state_enums.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/flexible_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/optimistic_oracle_v2_interface.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_chainlink_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/fixed_price_aggregator.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/iuma_trigger_factory.rs:15
Function
__abi
()
crates/bindings/src/cozy_triggers/chainlink_trigger_factory.rs:15
Function
__abi
()
crates/bindings/src/cozy_triggers/configs.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/base_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/safe_transfer_lib.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/uma_trigger_factory.rs:15
Function
__abi
()
crates/bindings/src/cozy_triggers/i_base_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_manager.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/uma_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/fixed_point_math_lib.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/triggers.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_set.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_cost_model.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/i_drip_decay_model.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/chainlink_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/iuma_trigger.rs:14
Function
__abi
()
crates/bindings/src/cozy_triggers/aggregator_v3_interface.rs:14
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/state_changer.rs:65
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/governable.rs:58
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/ownable.rs:58
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/i_set.rs:59
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/configurator.rs:65
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/manager.rs:15590
Method
accept_ownership
Calls the contract's `acceptOwnership` (0x79ba5097) function
crates/bindings/src/cozy_protocol/set.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/state_changer.rs:71
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/asset_depositer.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/protection_seller.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/protection_decayer.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/set_inspector.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/protection_purchaser.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/set_common.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/set_base_storage.rs:59
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/protection_claimer.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/fee_dripper.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/i_set.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/asset_redeemer.rs:65
Method
accounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/configurator.rs:71
Method
acknowledge
Calls the contract's `acknowledge` (0x49233d5d) function
crates/bindings/src/cozy_triggers/flexible_trigger.rs:640
← previous
next →
201–300 of 2,488, ranked by callers