Agent0

Latest version: v0.25.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 9

0.1.1

What's Changed
* The repository now primarily uses fixed-point arithmetic
* Python bots can execute trades on simulated blockchains as well as deployed contracts on any test net
* Renamed the Github org name to Delv Tech
* Bugfixes
* Code, comment, typing, and docs cleanup to improve readability and repo structure

PRs
* Convert Yieldspace pricing model to fixed point by sentilesdal in https://github.com/delvtech/elf-simulations/pull/338
* lightens gridlines & ticklabels to make them more visible in dark mode by dpaiton in https://github.com/delvtech/elf-simulations/pull/339
* adds HyperDriveFP & test by dpaiton in https://github.com/delvtech/elf-simulations/pull/340
* catch URLs better by wakamex in https://github.com/delvtech/elf-simulations/pull/343
* make freezable type-friendly by wakamex in https://github.com/delvtech/elf-simulations/pull/344
* calc_spot_price with fixed-point by dpaiton in https://github.com/delvtech/elf-simulations/pull/345
* fixed-point calc out given in test by dpaiton in https://github.com/delvtech/elf-simulations/pull/341
* Convert Wallet to FixedPoint by sentilesdal in https://github.com/delvtech/elf-simulations/pull/348
* fixed point base market by dpaiton in https://github.com/delvtech/elf-simulations/pull/351
* Convert hyperdrive_actions to fixed point by sentilesdal in https://github.com/delvtech/elf-simulations/pull/352
* testnet bots by wakamex in https://github.com/delvtech/elf-simulations/pull/327
* fix README badge links by wakamex in https://github.com/delvtech/elf-simulations/pull/355
* adds infinite and nan support for FixedPoint by dpaiton in https://github.com/delvtech/elf-simulations/pull/353
* adds fixed-point test_get_max by dpaiton in https://github.com/delvtech/elf-simulations/pull/347
* fixed-point hyperdrive and borrow markets by dpaiton in https://github.com/delvtech/elf-simulations/pull/356
* fixed-point agent by dpaiton in https://github.com/delvtech/elf-simulations/pull/350
* Convert Policies to Fixed Point by sentilesdal in https://github.com/delvtech/elf-simulations/pull/357
* Cache python dependencies by sentilesdal in https://github.com/delvtech/elf-simulations/pull/358
* adds typeerror to freezable casting checks by dpaiton in https://github.com/delvtech/elf-simulations/pull/362
* Fix-point wallet updates by dpaiton in https://github.com/delvtech/elf-simulations/pull/360
* add fixed point str mod floor by dpaiton in https://github.com/delvtech/elf-simulations/pull/363
* fixes bug with open short calculation by dpaiton in https://github.com/delvtech/elf-simulations/pull/361
* Convert Simulator to FixedPoint by sentilesdal in https://github.com/delvtech/elf-simulations/pull/364
* FP pricing_model_utils and add_liquidity tests by dpaiton in https://github.com/delvtech/elf-simulations/pull/349
* pylintrc - allow duplicate code by sentilesdal in https://github.com/delvtech/elf-simulations/pull/370
* Fixed Point Tests - Open Long and Open Short by sentilesdal in https://github.com/delvtech/elf-simulations/pull/368
* moves test_borrow over to fixed-point by dpaiton in https://github.com/delvtech/elf-simulations/pull/367
* fixed-point test_sim by dpaiton in https://github.com/delvtech/elf-simulations/pull/371
* renames element fi to delv tech by dpaiton in https://github.com/delvtech/elf-simulations/pull/366
* Change GH org name by ryangoree in https://github.com/delvtech/elf-simulations/pull/372
* Downgrade urllib3 by ryangoree in https://github.com/delvtech/elf-simulations/pull/375
* adds fp freezable, logging, config, time tests by dpaiton in https://github.com/delvtech/elf-simulations/pull/373
* add github token to CI flows by wakamex in https://github.com/delvtech/elf-simulations/pull/379
* FixedPoint - fix string casting by sentilesdal in https://github.com/delvtech/elf-simulations/pull/380
* reorganize fixed-point classes by dpaiton in https://github.com/delvtech/elf-simulations/pull/376
* rewrites attributes for BlockTime to be safer with type checking by dpaiton in https://github.com/delvtech/elf-simulations/pull/374
* Fixed Point Tests - Fees, Checkpoints, Initialize by sentilesdal in https://github.com/delvtech/elf-simulations/pull/378
* Fixed Point Tests - Close Long and Close Short by sentilesdal in https://github.com/delvtech/elf-simulations/pull/369
* Fixed Point Tests - Withdraw shares by dpaiton in https://github.com/delvtech/elf-simulations/pull/381
* Fixed Point Tests - Remove liquidity by dpaiton in https://github.com/delvtech/elf-simulations/pull/377
* add HyperdriveProject by wakamex in https://github.com/delvtech/elf-simulations/pull/409
* add get_market_state in ape_utils by wakamex in https://github.com/delvtech/elf-simulations/pull/411
* add get_on_chain_trade_info to ape_utils by wakamex in https://github.com/delvtech/elf-simulations/pull/413
* fix codecov badge in README.md by wakamex in https://github.com/delvtech/elf-simulations/pull/422
* add get_gas_fees and get_gas_stats to ape_utils by wakamex in https://github.com/delvtech/elf-simulations/pull/418
* add get_wallet_from_onchain_trade_info to ape_utils by wakamex in https://github.com/delvtech/elf-simulations/pull/416
* add get_agent_deltas to ape_utils by wakamex in https://github.com/delvtech/elf-simulations/pull/420
* fix: count to and from separately for wallet balance by wakamex in https://github.com/delvtech/elf-simulations/pull/424
* bugfix in freezable.astype, import rename, remove example_main by dpaiton in https://github.com/delvtech/elf-simulations/pull/436
* Correct various fix-point bugs by dpaiton in https://github.com/delvtech/elf-simulations/pull/437
* fix bug with failed trade modifying market state by dpaiton in https://github.com/delvtech/elf-simulations/pull/439
* FixedPoint - examples by dpaiton in https://github.com/delvtech/elf-simulations/pull/382
* patch smart agent notebook by dpaiton in https://github.com/delvtech/elf-simulations/pull/442
* consistent and descriptive variable names in apeworx integrations by dpaiton in https://github.com/delvtech/elf-simulations/pull/441
* random_agent disable get_max calls by wakamex in https://github.com/delvtech/elf-simulations/pull/443
* add get_contract helpers to ape_util by wakamex in https://github.com/delvtech/elf-simulations/pull/445
* FixPoint conforms to python `numbers.Real` specification by dpaiton in https://github.com/delvtech/elf-simulations/pull/446
* renames variables in fixedpoint to be more clear by dpaiton in https://github.com/delvtech/elf-simulations/pull/449
* Updating install documentation by slundqui in https://github.com/delvtech/elf-simulations/pull/450
* pins typing_extensions by dpaiton in https://github.com/delvtech/elf-simulations/pull/454
* make FixedPoint hashable for dictionary keys by dpaiton in https://github.com/delvtech/elf-simulations/pull/451
* Docstring style fix by slundqui in https://github.com/delvtech/elf-simulations/pull/452
* adds better input checking to FixedPoint initializer by dpaiton in https://github.com/delvtech/elf-simulations/pull/455
* build python-base docker image by wakamex in https://github.com/delvtech/elf-simulations/pull/447
* build elf-sims docker image by wakamex in https://github.com/delvtech/elf-simulations/pull/456
* reorganize fixedpoint tests by dpaiton in https://github.com/delvtech/elf-simulations/pull/457
* integrated bots by wakamex in https://github.com/delvtech/elf-simulations/pull/386
* consolidate evm_bots.py for testnet and devnet by wakamex in https://github.com/delvtech/elf-simulations/pull/461
* Modify apeworx demo & utils to use FixedPoint lib by dpaiton in https://github.com/delvtech/elf-simulations/pull/462
* removes float-based functions from elfpy by dpaiton in https://github.com/delvtech/elf-simulations/pull/459
* Jupytext notebooks to html docs by slundqui in https://github.com/delvtech/elf-simulations/pull/465
* update FixedPoint bool and int behavior to match python by dpaiton in https://github.com/delvtech/elf-simulations/pull/458
* don't lint .venv in hyperdrive by sentilesdal in https://github.com/delvtech/elf-simulations/pull/489
* Fixing fixed point bug for float mod 1 by slundqui in https://github.com/delvtech/elf-simulations/pull/486
* remove deepcopy from fixedpoint by dpaiton in https://github.com/delvtech/elf-simulations/pull/485
* Building notebooks in docs by slundqui in https://github.com/delvtech/elf-simulations/pull/490
* Remove use of defaultdict by sentilesdal in https://github.com/delvtech/elf-simulations/pull/492
* restores a checkpoint test by dpaiton in https://github.com/delvtech/elf-simulations/pull/493
* generalized bot settings working with FixedPoint by wakamex in https://github.com/delvtech/elf-simulations/pull/484
* Using shallow copies of FixedPoint for immutable FixedPoint object for performance by slundqui in https://github.com/delvtech/elf-simulations/pull/495

New Contributors
* ryangoree made their first contribution in https://github.com/delvtech/elf-simulations/pull/372
* slundqui made their first contribution in https://github.com/delvtech/elf-simulations/pull/450

**Full Changelog**: https://github.com/delvtech/elf-simulations/compare/v0.1.0...v0.1.1

0.1.0

What’s Changed
* We now have near complete feature parity with the Hyperdrive solidity smart contracts as of Feb 26 (`91888d0`)
* This includes checkpointing, new share accounting, and lots of tests
* Scaffolding for FixedPoint precision computation was also developed, although not deployed
* Python bots can now execute trades against the Hyperdrive solidity contracts using ApeWorx
* We've added a new simulation state that holds transaction deltas (instead of the aggregate state)
* Tons of bugfixes throughout the repo
* Code, comment, typing, and docs cleanup to improve readability and repo structure

PRs
* code & docs cleanup by dpaiton in https://github.com/element-fi/elf-simulations/pull/232
* Update yieldspace/hyperdrive math documentation; fix up frida_louie notebook by dpaiton in https://github.com/element-fi/elf-simulations/pull/229
* log notebooks in logging folder by wakamex in https://github.com/element-fi/elf-simulations/pull/231
* Add new simulation state that uses relational dataframes & stores trade logs by dpaiton in https://github.com/element-fi/elf-simulations/pull/214
* Locate types near their class by dpaiton in https://github.com/element-fi/elf-simulations/pull/235
* Add Base Market by dpaiton in https://github.com/element-fi/elf-simulations/pull/237
* Small Refactorings by sentilesdal in https://github.com/element-fi/elf-simulations/pull/239
* Fix Annualization in Calculations by sentilesdal in https://github.com/element-fi/elf-simulations/pull/242
* fix simulation_state test by wakamex in https://github.com/element-fi/elf-simulations/pull/243
* add wallet balance units by dpaiton in https://github.com/element-fi/elf-simulations/pull/244
* adds Trade type that includes a market & action by dpaiton in https://github.com/element-fi/elf-simulations/pull/245
* a borrow market by wakamex in https://github.com/element-fi/elf-simulations/pull/238
* No. More. Fracing. by sentilesdal in https://github.com/element-fi/elf-simulations/pull/246
* make bororw market inherit from base market by wakamex in https://github.com/element-fi/elf-simulations/pull/247
* removes create_hyperdrive_action function from agent by dpaiton in https://github.com/element-fi/elf-simulations/pull/248
* move lp_reserves to hyperdrive from base by wakamex in https://github.com/element-fi/elf-simulations/pull/249
* move update into base market by wakamex in https://github.com/element-fi/elf-simulations/pull/250
* Borrow sim by dpaiton in https://github.com/element-fi/elf-simulations/pull/255
* Sim state postprocessing improvements by dpaiton in https://github.com/element-fi/elf-simulations/pull/256
* clean up .gitignore by sentilesdal in https://github.com/element-fi/elf-simulations/pull/258
* Integrated smart contracts into sim repo with jupyter notebook & ape. by villanuevawill in https://github.com/element-fi/elf-simulations/pull/253
* remove calc_liquidity and use initialize_market by dpaiton in https://github.com/element-fi/elf-simulations/pull/261
* Reorganize time utils to be in a dedicated folder in elfpy by dpaiton in https://github.com/element-fi/elf-simulations/pull/262
* initialize market function & test now mirrors solidity implementation by dpaiton in https://github.com/element-fi/elf-simulations/pull/264
* adds skip notebook functionality by dpaiton in https://github.com/element-fi/elf-simulations/pull/267
* code cleanup & bug fixes by dpaiton in https://github.com/element-fi/elf-simulations/pull/269
* make logging safer by wakamex in https://github.com/element-fi/elf-simulations/pull/273
* pricing model assert before trying to find root of negative number by wakamex in https://github.com/element-fi/elf-simulations/pull/270
* Add addLiquidity tests by sentilesdal in https://github.com/element-fi/elf-simulations/pull/260
* SC Deploy in ape by villanuevawill in https://github.com/element-fi/elf-simulations/pull/266
* Add coverage CI by sentilesdal in https://github.com/element-fi/elf-simulations/pull/274
* Add open long tests by dpaiton in https://github.com/element-fi/elf-simulations/pull/263
* fix graph, align badges by sentilesdal in https://github.com/element-fi/elf-simulations/pull/276
* Update README to suggest symlink instead of `npm link` by sentilesdal in https://github.com/element-fi/elf-simulations/pull/278
* Fix market and trade tests by dpaiton in https://github.com/element-fi/elf-simulations/pull/275
* Add BlockTime to Simulator and Markets by sentilesdal in https://github.com/element-fi/elf-simulations/pull/279
* Separate trade actions from calculations by dpaiton in https://github.com/element-fi/elf-simulations/pull/280
* Wallet update by dpaiton in https://github.com/element-fi/elf-simulations/pull/281
* increment to current version in pyproject.toml by wakamex in https://github.com/element-fi/elf-simulations/pull/283
* hyperdrive.ipynb: import elfpy and simplify statements by wakamex in https://github.com/element-fi/elf-simulations/pull/271
* test open shorts in line w/ solidity CU-8669mrwvx by wakamex in https://github.com/element-fi/elf-simulations/pull/265
* differentiates calc_bond_reserves and calc_initial_bond_reserves by dpaiton in https://github.com/element-fi/elf-simulations/pull/286
* cleans up unused & unnecessary functions in the base pricing model by dpaiton in https://github.com/element-fi/elf-simulations/pull/287
* Fix total supply by dpaiton in https://github.com/element-fi/elf-simulations/pull/285
* Add checkpointing by sentilesdal in https://github.com/element-fi/elf-simulations/pull/289
* fix checkpoint modulo bug by sentilesdal in https://github.com/element-fi/elf-simulations/pull/290
* Refactor Checkpointing Logic by sentilesdal in https://github.com/element-fi/elf-simulations/pull/293
* Close long tests by dpaiton in https://github.com/element-fi/elf-simulations/pull/282
* fix typo in apply_close_checkpointing by wakamex in https://github.com/element-fi/elf-simulations/pull/294
* Fix apeworx integration by dpaiton in https://github.com/element-fi/elf-simulations/pull/295
* Fix hyperdrive integration by dpaiton in https://github.com/element-fi/elf-simulations/pull/301
* removes dataclass metadata from simulators by dpaiton in https://github.com/element-fi/elf-simulations/pull/300
* moves random agent from hyperdrive into its own policy by dpaiton in https://github.com/element-fi/elf-simulations/pull/298
* moves close checkpoint function into market actions by dpaiton in https://github.com/element-fi/elf-simulations/pull/297
* Add close short tests by wakamex in https://github.com/element-fi/elf-simulations/pull/291
* remove unnorm_days by wakamex in https://github.com/element-fi/elf-simulations/pull/304
* Execute simulation agent trades on hyperdrive smart contracts by dpaiton in https://github.com/element-fi/elf-simulations/pull/307
* fix pylint warnings by wakamex in https://github.com/element-fi/elf-simulations/pull/309
* add redemption fee and fee tests by dpaiton in https://github.com/element-fi/elf-simulations/pull/299
* Dark mode plots by dpaiton in https://github.com/element-fi/elf-simulations/pull/311
* add remove liquidity tests by sentilesdal in https://github.com/element-fi/elf-simulations/pull/314
* flip as_underlying to match solidity update by dpaiton in https://github.com/element-fi/elf-simulations/pull/317
* adds docs in hypedrive_market & renames vars in simulators by dpaiton in https://github.com/element-fi/elf-simulations/pull/319
* removes get_pricing_model bc it's not used anymore by dpaiton in https://github.com/element-fi/elf-simulations/pull/320
* rename fee variables by wakamex in https://github.com/element-fi/elf-simulations/pull/310
* Withdraw Shares Tests by sentilesdal in https://github.com/element-fi/elf-simulations/pull/324
* add bot liquidity 🤖 💦 by wakamex in https://github.com/element-fi/elf-simulations/pull/321
* Add typecast to freezable by dpaiton in https://github.com/element-fi/elf-simulations/pull/328
* deletes unused pricing model function calc lp in given tokens out by dpaiton in https://github.com/element-fi/elf-simulations/pull/329
* Precision wrapper by dpaiton in https://github.com/element-fi/elf-simulations/pull/312
* Withdrawal shares tests for shorts by sentilesdal in https://github.com/element-fi/elf-simulations/pull/331
* Everlasting bots by dpaiton in https://github.com/element-fi/elf-simulations/pull/318
* add ape and codecov to CI, update to python 3.9 by wakamex in https://github.com/element-fi/elf-simulations/pull/322
* improve FixedPoint type and create test for FixedPoint type by sentilesdal in https://github.com/element-fi/elf-simulations/pull/334
* clean up & separate MD files by dpaiton in https://github.com/element-fi/elf-simulations/pull/335
* fixes typo in contributing url in README by dpaiton in https://github.com/element-fi/elf-simulations/pull/336
* generalize precision threshold check by wakamex in https://github.com/element-fi/elf-simulations/pull/323
* increments the project version by dpaiton in https://github.com/element-fi/elf-simulations/pull/337

New Contributors
* villanuevawill made their first contribution in https://github.com/element-fi/elf-simulations/pull/253

**Full Changelog**: https://github.com/element-fi/elf-simulations/compare/v0.0.2...v0.1.0

0.0.2

What's Changed
* Improves docs, type hints, variable names, & comments
* Adds logging
* Improves simulation helper functions
* Improves experiment config & variable overrides
* Adds many more tests to improve coverage
* Iterates on hyperdrive market accounting, initialization, & pricing model
* Improves output formats & plot helper functions
* Creates public-facing jupyter notebooks that can be [viewed online](hyperdrive.element.fi)
* Downgrades python version to 3.8 to support Google Colab
* Removes the Element V1 pricing model
* Adds random & smart agents that trade against the Hyperdrive market
* Improves TODO & Issue tracking by co-associating them

New Contributors
* Padraic-O-Mhuiris made their first contribution in https://github.com/element-fi/elf-simulations/pull/61
* MazyGio made their first contribution in https://github.com/element-fi/elf-simulations/pull/66

Other Contributors
* dpaiton
* jrhea
* wakamex
* jalextowle
* sentilesdal


**Full Changelog**: https://github.com/element-fi/elf-simulations/compare/v0.0.1...v0.0.2

0.0.1

Refactored simulation code that includes original support for the Element V1 & YieldSpace v2 pricing models
also includes legacy notebooks for reproducing old experiments

0.0.0

Original codebase before simulation repo refactor

Page 9 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.