MCPcopy Create free account

hub / github.com/Cozy-Finance/agent-buttercup / functions

Functions2,488 in github.com/Cozy-Finance/agent-buttercup

↓ 268 callersMethodaddress
(&self)
crates/simulations/src/cozy/agents/buyer.rs:73
↓ 88 callersMethodclone
(&self)
crates/bindings/src/weth/weth9.rs:3852
↓ 21 callersMethoddeploy_evm_contract
( &mut self, caller: Address, abi: &EthersContract, bytecode: &EthersBytes,
crates/simulate/src/state/mod.rs:223
↓ 20 callersMethodcall_evm_tx_and_decode
( &self, caller: Address, call: ContractCall<StateMiddleware, D>, )
crates/simulate/src/state/mod.rs:140
↓ 19 callersMethodunwrap
Calls the contract's `unwrap` (0xde0e9a3e) function
crates/bindings/src/cozy_protocol/i_wst_eth.rs:77
↓ 14 callersMethodexecute_evm_tx_and_decode
( &mut self, caller: Address, call: ContractCall<StateMiddleware, D>, )
crates/simulate/src/state/mod.rs:167
↓ 14 callersFunctionu256_to_f64
(x: U256)
crates/simulate/src/u256.rs:11
↓ 10 callersMethodcdf
Returns the cumulative distribution function at `x` for the multivariate normal distribution
crates/simulations/src/cozy/statistics/mvnormal.rs:242
↓ 9 callersMethodexecute_evm_tx
(&mut self, tx: TxEnv)
crates/simulate/src/state/mod.rs:157
↓ 9 callersMethodsample
(&mut self)
crates/simulations/src/cozy/types.rs:212
↓ 6 callersMethodactivate_agent
Adds and activates an agent to be put in the collection of agents under the manager's control.
crates/simulate/src/manager.rs:145
↓ 6 callersMethodapprove
Calls the contract's `approve` (0x095ea7b3) function
crates/bindings/src/weth/weth9.rs:3937
↓ 6 callersFunctiondecode_output
( function: &Function, output_bytes: EvmBytes, )
crates/simulate/src/utils.rs:38
↓ 6 callersFunctionf64_to_u256
(x: f64)
crates/simulate/src/u256.rs:7
↓ 6 callersMethodtimestamp
(&self)
crates/simulate/src/state/mod.rs:89
↓ 6 callersFunctionunpack_evm_tx_output
(result: ExecutionResult)
crates/simulate/src/state/mod.rs:310
↓ 5 callersMethodmin
Calls the contract's `_min` (0xac023b75) function
crates/bindings/src/cozy_models/cost_model_dynamic_level.rs:535
↓ 5 callersMethodmodule_root
(&self)
crates/binder/src/main.rs:41
↓ 4 callersMethodaddress
(&self)
crates/simulations/src/cozy/agents/arbitrageur.rs:66
↓ 4 callersMethodbalance_of
Calls the contract's `balanceOf` (0x70a08231) function
crates/bindings/src/weth/weth9.rs:3947
↓ 4 callersMethodbuild
(&self)
crates/binder/src/multi_metadata.rs:104
↓ 4 callersFunctionbuild_revm_tx
(caller: Address, ethers_tx: TypedTransaction)
crates/simulate/src/state/mod.rs:267
↓ 4 callersMethoddeal
( &self, state: &mut State<CozyUpdate, CozyWorld>, set_contracts: &SetContracts,
crates/simulations/src/cozy/runner.rs:856
↓ 4 callersMethodget_read_db
(&self)
crates/simulate/src/state/mod.rs:76
↓ 4 callersMethodget_state_mut
(&mut self)
crates/simulate/src/manager.rs:56
↓ 3 callersFunctionbuild_cozy_sim_runner_from_dir
(dir: &str)
crates/simulations/src/cozy/configs.rs:32
↓ 3 callersMethodcall_evm_tx
( &self, caller: Address, call: ContractCall<StateMiddleware, D>, )
crates/simulate/src/state/mod.rs:124
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/math_constants.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/set_calculations_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/cozy_math.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/safe_cast_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/market_calculations_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/packed_string_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/delay_lib.rs:2943
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/backstop.rs:5449
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/demand_side_lib.rs:15637
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/cozy_router.rs:22988
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/exponential_decay_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/state_transitions_lib.rs:2615
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/p_token_factory.rs:2924
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/clones.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/set_factory.rs:4619
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/safe_transfer_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/fixed_point_math_lib.rs:352
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/p_token.rs:12792
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/manager.rs:15507
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/supply_side_lib.rs:9755
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/configurator_lib.rs:18324
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_protocol/redemption_lib.rs:8583
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/cost_model_area_calculations_lib.rs:45
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/cost_model_jump_rate_factory.rs:197
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/drip_decay_model_constant_factory.rs:125
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/cost_model_dynamic_level_factory.rs:168
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/cost_model_jump_rate.rs:254
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/create_2.rs:39
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/fixed_point_math_lib.rs:39
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/drip_decay_model_constant.rs:86
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_models/cost_model_dynamic_level.rs:460
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/dummy_trigger.rs:333
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/flexible_trigger.rs:555
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/fixed_price_aggregator.rs:234
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/chainlink_trigger_factory.rs:659
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/safe_transfer_lib.rs:42
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/uma_trigger_factory.rs:549
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/uma_trigger.rs:719
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/fixed_point_math_lib.rs:42
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_triggers/chainlink_trigger.rs:574
↓ 3 callersMethodclone
(&self)
crates/bindings/src/cozy_simulation/dummy_token.rs:8549
↓ 3 callersMethodclone
(&self)
crates/bindings/src/weth/migrations.rs:954
↓ 3 callersMethoddeploy_model
Calls the contract's `deployModel` (0xbf50a58d) function
crates/bindings/src/cozy_models/cost_model_jump_rate_factory.rs:272
↓ 3 callersFunctionnormalize_constant_decay_price
(raw_price_percentage: f64, rate_per_second: U256)
crates/simulations/src/cozy/decay_normalizer.rs:5
↓ 3 callersMethodparse_success
(self)
crates/simulate/src/state/mod.rs:302
↓ 3 callersMethodrate_per_second
Calls the contract's `ratePerSecond` (0x8eff1a98) function
crates/bindings/src/cozy_models/drip_decay_model_constant.rs:170
↓ 3 callersMethodtime_to_react
(&mut self, current_time: U256, rng: &mut StdRng)
crates/simulations/src/cozy/types.rs:292
↓ 2 callersMethodaddress
(&self)
crates/simulations/src/cozy/agents/supplier.rs:97
↓ 2 callersMethodaddress
(&self)
crates/simulations/src/cozy/agents/altruistic_supplier.rs:34
↓ 2 callersMethodbalance_of_matured
Calls the contract's `balanceOfMatured` (0x3489b7a4) function
crates/bindings/src/cozy_protocol/lft.rs:94
↓ 2 callersMethoddeposit
Calls the contract's `deposit` (0xd0e30db0) function
crates/bindings/src/weth/weth9.rs:3962
↓ 2 callersMethodget_model
Calls the contract's `getModel` (0xa48242c5) function
crates/bindings/src/cozy_models/cost_model_jump_rate_factory.rs:292
↓ 2 callersMethodget_multi
Instantiate the `MultiAbigen` and `MultiRawAbis`.
crates/binder/src/main.rs:85
↓ 2 callersMethodinitialize
Calls the contract's `initialize` (0x7e0f72fd) function
crates/bindings/src/cozy_protocol/set.rs:276
↓ 2 callersMethodis_active
(&self)
crates/simulate/src/time_policy.rs:58
↓ 2 callersMethodmarkets
Calls the contract's `markets` (0xb1283e77) function
crates/bindings/src/cozy_protocol/set.rs:308
↓ 2 callersMethodpurchase
Calls the contract's `purchase` (0xf09b77db) function
crates/bindings/src/cozy_protocol/set.rs:495
↓ 2 callersFunctionrun
()
crates/simulations/src/cozy/analysis/base.rs:3
↓ 2 callersMethodrun
(&self, output_file: Cow<'static, str>)
crates/simulations/src/cozy/runner.rs:118
↓ 2 callersMethodrun
(self)
crates/simulations/src/cozy/statistics/mvbernoulli.rs:144
↓ 2 callersMethodsample
(&self, rng: &mut R)
crates/simulations/src/cozy/statistics/mvbeta.rs:49
↓ 2 callersMethodstep
(&mut self)
crates/simulate/src/time_policy.rs:47
↓ 2 callersMethodupdate_time
Update the evm's block number and timestamp.
crates/simulate/src/state/mod.rs:98
↓ 2 callersFunctionwad
()
crates/simulations/src/cozy/utils.rs:26
↓ 2 callersFunctionwad_to_float
(x: U256)
crates/simulations/src/cozy/utils.rs:34
↓ 1 callersMethodaccount_info
Returns the account info of the agent.
crates/simulate/src/agent/mod.rs:21
↓ 1 callersMethodaccounting
Calls the contract's `accounting` (0x9624e83e) function
crates/bindings/src/cozy_protocol/set.rs:71
↓ 1 callersMethodactivation_step
Executes actions against the simulation as soon as the agent is activated.
crates/simulate/src/agent/mod.rs:26
↓ 1 callersMethodadd_account
Add an account to the evm.
crates/simulate/src/state/mod.rs:104
↓ 1 callersMethodaddress
(&self)
crates/simulations/src/cozy/agents/trigger_admin.rs:47
↓ 1 callersMethodbindings_exist
(&self)
crates/binder/src/main.rs:45
↓ 1 callersFunctionbuild_config_from_dir
(dir: &str)
crates/simulations/src/cozy/configs.rs:5
↓ 1 callersFunctionbuild_linked_bytecode
( unlinked_bytecode_str: &str, links: Vec<(&str, &str, EthersAddress)>, )
crates/simulate/src/utils.rs:26
next →1–100 of 2,488, ranked by callers