├── .coveragerc ├── .env-example ├── .git-blame-ignore-revs ├── .github └── workflows │ ├── act.sh │ ├── opencode.yaml │ ├── pre-commit.yaml │ └── test.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── LICENSE ├── README.md ├── curve_stablecoin ├── AMM.vy ├── Controller.vy ├── ControllerFactory.vy ├── ControllerView.vy ├── LMCallback.vy ├── MintController.vy ├── Stablecoin.vy ├── Stableswap.vy ├── constants.vy ├── factory │ ├── OwnerProxy.vy │ ├── StableswapFactory.vy │ └── StableswapFactoryHandler.vy ├── flashloan │ └── FlashLender.vy ├── interfaces │ ├── IAMM.vyi │ ├── IController.vyi │ ├── IControllerView.vyi │ ├── ICryptoPool.vyi │ ├── IFactory.vyi │ ├── ILMGauge.vyi │ ├── ILendController.vyi │ ├── ILendFactory.vyi │ ├── IMonetaryPolicy.vyi │ ├── IPartialRepayZap.vyi │ ├── IPartialRepayZapCallback.vyi │ ├── IPool.vyi │ ├── IPriceOracle.vyi │ ├── IStablePool.vyi │ └── IVault.vyi ├── lending │ ├── LendController.vy │ ├── LendControllerView.vy │ ├── LendFactory.vy │ └── Vault.vy ├── lib │ └── liquidation_lib.vy ├── mpolicies │ ├── AggMonetaryPolicy.vy │ ├── AggMonetaryPolicy2.vy │ ├── AggMonetaryPolicy3.vy │ ├── AggMonetaryPolicy3c.vy │ ├── SecondaryMonetaryPolicy.vy │ ├── SemilogMonetaryPolicy.vy │ └── SusdeMonetaryPolicy.vy ├── price_oracles │ ├── AggregateStablePrice.vy │ ├── AggregateStablePrice2.vy │ ├── AggregateStablePrice3.vy │ ├── ChainlinkWrapper.vy │ ├── CryptoFromOracleAndERC4626.vy │ ├── CryptoFromOracleAndRedstone.vy │ ├── CryptoFromPool.vy │ ├── CryptoFromPoolVault.vy │ ├── CryptoFromPoolVaultWAgg.vy │ ├── CryptoFromPoolVault_noncurve.vy │ ├── CryptoFromPoolWAgg.vy │ ├── CryptoFromPoolsRate.vy │ ├── CryptoFromPoolsRateWAgg.vy │ ├── CryptoFromPoolsVaultWAgg.vy │ ├── CryptoWithStablePrice.vy │ ├── CryptoWithStablePriceAndChainlink.vy │ ├── CryptoWithStablePriceAndChainlinkFrxeth.vy │ ├── CryptoWithStablePriceETH.vy │ ├── CryptoWithStablePriceFrxethN.vy │ ├── CryptoWithStablePriceTBTC.vy │ ├── CryptoWithStablePriceWBTC.vy │ ├── CryptoWithStablePriceWstethN.vy │ ├── EmaPriceOracle.vy │ ├── GoldChainlinkPrice.vy │ ├── L2 │ │ ├── CryptoFromPoolArbitrum.vy │ │ ├── CryptoFromPoolFraxtal.vy │ │ ├── CryptoFromPoolOptimism.vy │ │ ├── CryptoFromPoolOptimismWAgg.vy │ │ ├── CryptoFromPoolsRateArbitrum.vy │ │ ├── CryptoFromPoolsRateArbitrumWAgg.vy │ │ └── CryptoFromPoolsWAgg.vy │ ├── OracleVaultWrapper.vy │ ├── StableSwapNGAdapter.vy │ ├── USD0LpOracle.vy │ ├── UniOracle.vy │ ├── lp-oracles │ │ ├── LPOracleCrypto.vy │ │ ├── LPOracleFactory.vy │ │ ├── LPOracleStable.vy │ │ ├── lp_oracle_lib.vy │ │ └── testing │ │ │ ├── MockCryptoSwap.vy │ │ │ ├── MockStableSwap.vy │ │ │ └── MockStableSwapNoArgument.vy │ └── proxy │ │ ├── ProxyOracle.vy │ │ └── ProxyOracleFactory.vy ├── stabilizer │ ├── PegKeeper.vy │ ├── PegKeeperOffboarding.vy │ ├── PegKeeperRegulator.vy │ ├── PegKeeperV2.vy │ └── Salvation.vy ├── testing │ ├── BlockCounter.vy │ ├── ChainlinkAggregatorMock.vy │ ├── ConstantMonetaryPolicy.vy │ ├── ConstantMonetaryPolicyLending.vy │ ├── CryptoWithStablePriceWsteth.vy │ ├── DummyCallback.vy │ ├── DummyFlashBorrower.vy │ ├── DummyLMCallback.vy │ ├── DummyPriceOracle.vy │ ├── DummyRouter.vy │ ├── ERC20CRV.vy │ ├── ERC20Mock.vy │ ├── FakeLeverage.vy │ ├── GaugeController.vy │ ├── LMCallbackWithReverts.vy │ ├── Minter.vy │ ├── MockFactory.vy │ ├── MockGauge.vy │ ├── MockMarket.vy │ ├── MockPegKeeper.vy │ ├── MockRateOracle.vy │ ├── MockRateSetter.vy │ ├── MockSwap2.vy │ ├── MockSwap3.vy │ ├── RealisticLMCallback.vy │ ├── SwapFactory.vy │ ├── TVLOracle.vy │ ├── TestPacking.vy │ ├── TricryptoMock.vy │ ├── VotingEscrow.vy │ ├── WETH.vy │ └── zaps │ │ └── PartialRepayZapTester.vy └── zaps │ ├── CreateFromPool.vy │ ├── DeleverageZap.vy │ ├── HealthCalculatorZap.vy │ ├── LeverageZap.vy │ ├── LeverageZapNewRouter.vy │ ├── PartialRepayZap.vy │ └── PartialRepayZapCallback.vy ├── pyproject.toml ├── scripts ├── boa-deploy-deleverage-zaps.py ├── boa-deploy-leverage-zap.py └── boa-deploy-leverage-zaps.py ├── tests ├── README.md ├── __init__.py ├── amm │ ├── __init__.py │ ├── conftest.py │ ├── test_amount_for_price.py │ ├── test_deposit_withdraw.py │ ├── test_exchange.py │ ├── test_exchange_dy.py │ ├── test_flip.py │ ├── test_flip_dy.py │ ├── test_oracle_change_noloss.py │ ├── test_price_oracles.py │ ├── test_share_pump_math.py │ ├── test_st_exchange.py │ ├── test_st_exchange_dy.py │ ├── test_xdown_yup_invariants.py │ └── test_xdown_yup_invariants_dy.py ├── conftest.py ├── controller │ ├── conftest.py │ ├── test_packing.py │ └── test_set_price_oracle.py ├── crosshair │ └── deposited_withdrawn.py ├── e2e │ ├── test_borrow_caps.py │ ├── test_donate_dos.py │ └── test_resupply_hack.py ├── flashloan │ ├── __init__.py │ ├── conftest.py │ ├── test_debt_ceiling.py │ └── test_flashloan.py ├── forked │ ├── __init__.py │ └── price_oracles │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── settings.py │ │ └── test_lp_oracle_compare_to_spot.py ├── fuzz │ ├── __init__.py │ ├── stateful │ │ ├── __init__.py │ │ ├── test_controller_stateful.py │ │ └── test_lend_controller_stateful.py │ ├── strategies.py │ └── test_tokens_to_shrink_fuzz.py ├── lending │ ├── __init__.py │ ├── conftest.py │ ├── test_bigfuzz.py │ ├── test_fuzz_max_borrowable.py │ ├── test_health_calculator_create.py │ ├── test_health_calculator_stateful.py │ ├── test_health_in_trades.py │ ├── test_max_borrowable.py │ ├── test_monetary_policy.py │ ├── test_oracle_attack.py │ ├── test_pool_price_oracle.py │ ├── test_secondary_mpolicy.py │ ├── test_shifted_trades.py │ ├── test_st_interest_conservation.py │ └── test_vault.py ├── leverage │ ├── v1 │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── constants.py │ │ ├── test_deleverage.py │ │ ├── test_deleverage_light.py │ │ ├── test_leverage.py │ │ └── test_leverage_light.py │ ├── v2 │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── constants.py │ │ ├── settings.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ └── test_leverage.py │ │ └── utils.py │ └── v3 │ │ ├── __init__.py │ │ ├── conftest.py │ │ └── test_create_loan.py ├── lm_callback │ ├── __init__.py │ ├── conftest.py │ ├── test_add_new_lm_callback.py │ ├── test_as_gauge.py │ ├── test_lm_callback.py │ ├── test_lm_callback_reverts.py │ ├── test_rewards_kill_unkill.py │ ├── test_st_as_gauge.py │ └── test_st_lm_callback.py ├── price_oracles │ ├── __init__.py │ ├── lp-oracles │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_lp_oracle.py │ │ └── test_lp_oracle_factory.py │ └── proxy │ │ ├── __init__.py │ │ ├── conftest.py │ │ └── test_proxy.py ├── stableborrow │ ├── __init__.py │ ├── conftest.py │ ├── stabilize │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── stateful │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── test_agg_monetary_policy.py │ │ │ ├── test_diff.py │ │ │ ├── test_profit.py │ │ │ ├── test_stable_peg_caller_profit.py │ │ │ └── test_withdraw_profit.py │ │ └── unitary │ │ │ ├── __init__.py │ │ │ ├── test_agg_monetary_policy_3.py │ │ │ ├── test_pk_admin_functions.py │ │ │ ├── test_pk_delay.py │ │ │ ├── test_pk_offboarding.py │ │ │ ├── test_pk_profit.py │ │ │ ├── test_pk_provide.py │ │ │ ├── test_pk_regulator.py │ │ │ ├── test_pk_withdraw.py │ │ │ ├── test_price_aggregation.py │ │ │ └── test_price_aggregation_with_chainlink.py │ ├── test_approval.py │ ├── test_bigfuzz.py │ ├── test_calculate_n1.py │ ├── test_create_repay.py │ ├── test_create_repay_stateful.py │ ├── test_extra_health.py │ ├── test_factory.py │ ├── test_leverage.py │ ├── test_liquidate.py │ ├── test_lm_callback.py │ └── test_st_interest_conservation.py ├── unitary │ ├── controller │ │ ├── test_add_collateral.py │ │ ├── test_borrow_more.py │ │ ├── test_create_loan.py │ │ ├── test_internal_remove_from_list.py │ │ ├── test_internal_repay_full.py │ │ ├── test_internal_repay_partial.py │ │ ├── test_liquidate.py │ │ ├── test_remove_collateral.py │ │ └── test_repay.py │ └── lending │ │ ├── conftest.py │ │ ├── lend_controller │ │ ├── test_admin_percentage_lc.py │ │ ├── test_borrow_more_lc.py │ │ ├── test_borrowed_balance_lc.py │ │ ├── test_collect_fees_lc.py │ │ ├── test_create_loan_lc.py │ │ ├── test_ctor_lc.py │ │ ├── test_on_debt_increase_lc.py │ │ ├── test_set_admin_fee_lc.py │ │ ├── test_set_borrow_cap_lc.py │ │ └── test_version_lc.py │ │ └── vault │ │ ├── test_admin_v.py │ │ ├── test_asset_v.py │ │ ├── test_borrow_apr_v.py │ │ ├── test_convert_to_assets_v.py │ │ ├── test_convert_to_shares_v.py │ │ ├── test_deposit_v.py │ │ ├── test_initialize_v.py │ │ ├── test_lend_apr_v.py │ │ ├── test_max_deposit_v.py │ │ ├── test_max_mint_v.py │ │ ├── test_max_redeem_v.py │ │ ├── test_max_withdraw_v.py │ │ ├── test_mint_v.py │ │ ├── test_preview_deposit_v.py │ │ ├── test_preview_mint_v.py │ │ ├── test_preview_redeem_v.py │ │ ├── test_preview_withdraw_v.py │ │ ├── test_price_per_share_v.py │ │ ├── test_redeem_v.py │ │ ├── test_set_max_supply_v.py │ │ ├── test_total_assets_v.py │ │ └── test_withdraw_v.py ├── utils │ ├── __init__.py │ ├── constants.py │ ├── deployers.py │ └── protocols.py └── zaps │ ├── __init__.py │ ├── conftest.py │ └── partial_liquidation │ ├── __init__.py │ ├── calculations │ ├── Partial_Liquidation_Zap_Evaluation.pdf │ ├── calculations.py │ └── frac5_calc.txt │ ├── conftest.py │ ├── test_partial_repay_zap.py │ └── test_partial_repay_zap_callback.py └── uv.lock /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | plugins = boa.coverage 3 | -------------------------------------------------------------------------------- /.env-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.env-example -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.github/workflows/act.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.github/workflows/act.sh -------------------------------------------------------------------------------- /.github/workflows/opencode.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.github/workflows/opencode.yaml -------------------------------------------------------------------------------- /.github/workflows/pre-commit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.github/workflows/pre-commit.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.10 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Llamalend and crvUSD contracts 2 | -------------------------------------------------------------------------------- /curve_stablecoin/AMM.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/AMM.vy -------------------------------------------------------------------------------- /curve_stablecoin/Controller.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/Controller.vy -------------------------------------------------------------------------------- /curve_stablecoin/ControllerFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/ControllerFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/ControllerView.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/ControllerView.vy -------------------------------------------------------------------------------- /curve_stablecoin/LMCallback.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/LMCallback.vy -------------------------------------------------------------------------------- /curve_stablecoin/MintController.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/MintController.vy -------------------------------------------------------------------------------- /curve_stablecoin/Stablecoin.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/Stablecoin.vy -------------------------------------------------------------------------------- /curve_stablecoin/Stableswap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/Stableswap.vy -------------------------------------------------------------------------------- /curve_stablecoin/constants.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/constants.vy -------------------------------------------------------------------------------- /curve_stablecoin/factory/OwnerProxy.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/factory/OwnerProxy.vy -------------------------------------------------------------------------------- /curve_stablecoin/factory/StableswapFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/factory/StableswapFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/factory/StableswapFactoryHandler.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/factory/StableswapFactoryHandler.vy -------------------------------------------------------------------------------- /curve_stablecoin/flashloan/FlashLender.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/flashloan/FlashLender.vy -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IAMM.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IAMM.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IController.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IController.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IControllerView.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IControllerView.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/ICryptoPool.vyi: -------------------------------------------------------------------------------- 1 | @view 2 | def lp_price() -> uint256: 3 | ... 4 | -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IFactory.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IFactory.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/ILMGauge.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/ILMGauge.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/ILendController.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/ILendController.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/ILendFactory.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/ILendFactory.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IMonetaryPolicy.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IMonetaryPolicy.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IPartialRepayZap.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IPartialRepayZap.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IPartialRepayZapCallback.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IPartialRepayZapCallback.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IPool.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IPool.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IPriceOracle.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IPriceOracle.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IStablePool.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IStablePool.vyi -------------------------------------------------------------------------------- /curve_stablecoin/interfaces/IVault.vyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/interfaces/IVault.vyi -------------------------------------------------------------------------------- /curve_stablecoin/lending/LendController.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/lending/LendController.vy -------------------------------------------------------------------------------- /curve_stablecoin/lending/LendControllerView.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/lending/LendControllerView.vy -------------------------------------------------------------------------------- /curve_stablecoin/lending/LendFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/lending/LendFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/lending/Vault.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/lending/Vault.vy -------------------------------------------------------------------------------- /curve_stablecoin/lib/liquidation_lib.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/lib/liquidation_lib.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/AggMonetaryPolicy.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/AggMonetaryPolicy.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/AggMonetaryPolicy2.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/AggMonetaryPolicy2.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/AggMonetaryPolicy3.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/AggMonetaryPolicy3.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/AggMonetaryPolicy3c.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/AggMonetaryPolicy3c.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/SecondaryMonetaryPolicy.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/SecondaryMonetaryPolicy.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/SemilogMonetaryPolicy.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/SemilogMonetaryPolicy.vy -------------------------------------------------------------------------------- /curve_stablecoin/mpolicies/SusdeMonetaryPolicy.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/mpolicies/SusdeMonetaryPolicy.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/AggregateStablePrice.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/AggregateStablePrice.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/AggregateStablePrice2.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/AggregateStablePrice2.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/AggregateStablePrice3.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/AggregateStablePrice3.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/ChainlinkWrapper.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/ChainlinkWrapper.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromOracleAndERC4626.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromOracleAndERC4626.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromOracleAndRedstone.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromOracleAndRedstone.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPool.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPool.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolVault.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolVault.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolVaultWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolVaultWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolVault_noncurve.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolVault_noncurve.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolsRate.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolsRate.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolsRateWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolsRateWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoFromPoolsVaultWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoFromPoolsVaultWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePrice.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePrice.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceAndChainlink.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceAndChainlink.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceAndChainlinkFrxeth.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceAndChainlinkFrxeth.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceETH.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceETH.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceFrxethN.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceFrxethN.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceTBTC.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceTBTC.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceWBTC.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceWBTC.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/CryptoWithStablePriceWstethN.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/CryptoWithStablePriceWstethN.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/EmaPriceOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/EmaPriceOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/GoldChainlinkPrice.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/GoldChainlinkPrice.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolArbitrum.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolArbitrum.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolFraxtal.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolFraxtal.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolOptimism.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolOptimism.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolOptimismWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolOptimismWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolsRateArbitrum.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolsRateArbitrum.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolsRateArbitrumWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolsRateArbitrumWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/L2/CryptoFromPoolsWAgg.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/L2/CryptoFromPoolsWAgg.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/OracleVaultWrapper.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/OracleVaultWrapper.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/StableSwapNGAdapter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/StableSwapNGAdapter.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/USD0LpOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/USD0LpOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/UniOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/UniOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/LPOracleCrypto.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/LPOracleCrypto.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/LPOracleFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/LPOracleFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/LPOracleStable.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/LPOracleStable.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/lp_oracle_lib.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/lp_oracle_lib.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/testing/MockCryptoSwap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/testing/MockCryptoSwap.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/testing/MockStableSwap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/testing/MockStableSwap.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/lp-oracles/testing/MockStableSwapNoArgument.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/lp-oracles/testing/MockStableSwapNoArgument.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/proxy/ProxyOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/proxy/ProxyOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/price_oracles/proxy/ProxyOracleFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/price_oracles/proxy/ProxyOracleFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/stabilizer/PegKeeper.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/stabilizer/PegKeeper.vy -------------------------------------------------------------------------------- /curve_stablecoin/stabilizer/PegKeeperOffboarding.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/stabilizer/PegKeeperOffboarding.vy -------------------------------------------------------------------------------- /curve_stablecoin/stabilizer/PegKeeperRegulator.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/stabilizer/PegKeeperRegulator.vy -------------------------------------------------------------------------------- /curve_stablecoin/stabilizer/PegKeeperV2.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/stabilizer/PegKeeperV2.vy -------------------------------------------------------------------------------- /curve_stablecoin/stabilizer/Salvation.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/stabilizer/Salvation.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/BlockCounter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/BlockCounter.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/ChainlinkAggregatorMock.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/ChainlinkAggregatorMock.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/ConstantMonetaryPolicy.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/ConstantMonetaryPolicy.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/ConstantMonetaryPolicyLending.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/ConstantMonetaryPolicyLending.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/CryptoWithStablePriceWsteth.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/CryptoWithStablePriceWsteth.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/DummyCallback.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/DummyCallback.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/DummyFlashBorrower.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/DummyFlashBorrower.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/DummyLMCallback.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/DummyLMCallback.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/DummyPriceOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/DummyPriceOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/DummyRouter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/DummyRouter.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/ERC20CRV.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/ERC20CRV.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/ERC20Mock.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/ERC20Mock.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/FakeLeverage.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/FakeLeverage.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/GaugeController.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/GaugeController.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/LMCallbackWithReverts.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/LMCallbackWithReverts.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/Minter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/Minter.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockGauge.vy: -------------------------------------------------------------------------------- 1 | @external 2 | def __init__(lp_token: address): 3 | pass 4 | -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockMarket.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockMarket.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockPegKeeper.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockPegKeeper.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockRateOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockRateOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockRateSetter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockRateSetter.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockSwap2.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockSwap2.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/MockSwap3.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/MockSwap3.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/RealisticLMCallback.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/RealisticLMCallback.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/SwapFactory.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/SwapFactory.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/TVLOracle.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/TVLOracle.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/TestPacking.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/TestPacking.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/TricryptoMock.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/TricryptoMock.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/VotingEscrow.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/VotingEscrow.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/WETH.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/WETH.vy -------------------------------------------------------------------------------- /curve_stablecoin/testing/zaps/PartialRepayZapTester.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/testing/zaps/PartialRepayZapTester.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/CreateFromPool.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/CreateFromPool.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/DeleverageZap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/DeleverageZap.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/HealthCalculatorZap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/HealthCalculatorZap.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/LeverageZap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/LeverageZap.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/LeverageZapNewRouter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/LeverageZapNewRouter.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/PartialRepayZap.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/PartialRepayZap.vy -------------------------------------------------------------------------------- /curve_stablecoin/zaps/PartialRepayZapCallback.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/curve_stablecoin/zaps/PartialRepayZapCallback.vy -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/boa-deploy-deleverage-zaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/scripts/boa-deploy-deleverage-zaps.py -------------------------------------------------------------------------------- /scripts/boa-deploy-leverage-zap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/scripts/boa-deploy-leverage-zap.py -------------------------------------------------------------------------------- /scripts/boa-deploy-leverage-zaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/scripts/boa-deploy-leverage-zaps.py -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/amm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/amm/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/conftest.py -------------------------------------------------------------------------------- /tests/amm/test_amount_for_price.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_amount_for_price.py -------------------------------------------------------------------------------- /tests/amm/test_deposit_withdraw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_deposit_withdraw.py -------------------------------------------------------------------------------- /tests/amm/test_exchange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_exchange.py -------------------------------------------------------------------------------- /tests/amm/test_exchange_dy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_exchange_dy.py -------------------------------------------------------------------------------- /tests/amm/test_flip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_flip.py -------------------------------------------------------------------------------- /tests/amm/test_flip_dy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_flip_dy.py -------------------------------------------------------------------------------- /tests/amm/test_oracle_change_noloss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_oracle_change_noloss.py -------------------------------------------------------------------------------- /tests/amm/test_price_oracles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_price_oracles.py -------------------------------------------------------------------------------- /tests/amm/test_share_pump_math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_share_pump_math.py -------------------------------------------------------------------------------- /tests/amm/test_st_exchange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_st_exchange.py -------------------------------------------------------------------------------- /tests/amm/test_st_exchange_dy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_st_exchange_dy.py -------------------------------------------------------------------------------- /tests/amm/test_xdown_yup_invariants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_xdown_yup_invariants.py -------------------------------------------------------------------------------- /tests/amm/test_xdown_yup_invariants_dy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/amm/test_xdown_yup_invariants_dy.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/controller/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/controller/conftest.py -------------------------------------------------------------------------------- /tests/controller/test_packing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/controller/test_packing.py -------------------------------------------------------------------------------- /tests/controller/test_set_price_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/controller/test_set_price_oracle.py -------------------------------------------------------------------------------- /tests/crosshair/deposited_withdrawn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/crosshair/deposited_withdrawn.py -------------------------------------------------------------------------------- /tests/e2e/test_borrow_caps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/e2e/test_borrow_caps.py -------------------------------------------------------------------------------- /tests/e2e/test_donate_dos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/e2e/test_donate_dos.py -------------------------------------------------------------------------------- /tests/e2e/test_resupply_hack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/e2e/test_resupply_hack.py -------------------------------------------------------------------------------- /tests/flashloan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/flashloan/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/flashloan/conftest.py -------------------------------------------------------------------------------- /tests/flashloan/test_debt_ceiling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/flashloan/test_debt_ceiling.py -------------------------------------------------------------------------------- /tests/flashloan/test_flashloan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/flashloan/test_flashloan.py -------------------------------------------------------------------------------- /tests/forked/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/forked/price_oracles/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/forked/price_oracles/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/forked/price_oracles/conftest.py -------------------------------------------------------------------------------- /tests/forked/price_oracles/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/forked/price_oracles/settings.py -------------------------------------------------------------------------------- /tests/forked/price_oracles/test_lp_oracle_compare_to_spot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/forked/price_oracles/test_lp_oracle_compare_to_spot.py -------------------------------------------------------------------------------- /tests/fuzz/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fuzz/stateful/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fuzz/stateful/test_controller_stateful.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/fuzz/stateful/test_controller_stateful.py -------------------------------------------------------------------------------- /tests/fuzz/stateful/test_lend_controller_stateful.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/fuzz/stateful/test_lend_controller_stateful.py -------------------------------------------------------------------------------- /tests/fuzz/strategies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/fuzz/strategies.py -------------------------------------------------------------------------------- /tests/fuzz/test_tokens_to_shrink_fuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/fuzz/test_tokens_to_shrink_fuzz.py -------------------------------------------------------------------------------- /tests/lending/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/lending/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/conftest.py -------------------------------------------------------------------------------- /tests/lending/test_bigfuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_bigfuzz.py -------------------------------------------------------------------------------- /tests/lending/test_fuzz_max_borrowable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_fuzz_max_borrowable.py -------------------------------------------------------------------------------- /tests/lending/test_health_calculator_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_health_calculator_create.py -------------------------------------------------------------------------------- /tests/lending/test_health_calculator_stateful.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_health_calculator_stateful.py -------------------------------------------------------------------------------- /tests/lending/test_health_in_trades.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_health_in_trades.py -------------------------------------------------------------------------------- /tests/lending/test_max_borrowable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_max_borrowable.py -------------------------------------------------------------------------------- /tests/lending/test_monetary_policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_monetary_policy.py -------------------------------------------------------------------------------- /tests/lending/test_oracle_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_oracle_attack.py -------------------------------------------------------------------------------- /tests/lending/test_pool_price_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_pool_price_oracle.py -------------------------------------------------------------------------------- /tests/lending/test_secondary_mpolicy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_secondary_mpolicy.py -------------------------------------------------------------------------------- /tests/lending/test_shifted_trades.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_shifted_trades.py -------------------------------------------------------------------------------- /tests/lending/test_st_interest_conservation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_st_interest_conservation.py -------------------------------------------------------------------------------- /tests/lending/test_vault.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lending/test_vault.py -------------------------------------------------------------------------------- /tests/leverage/v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/leverage/v1/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v1/conftest.py -------------------------------------------------------------------------------- /tests/leverage/v1/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v1/constants.py -------------------------------------------------------------------------------- /tests/leverage/v1/test_deleverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v1/test_deleverage.py -------------------------------------------------------------------------------- /tests/leverage/v1/test_deleverage_light.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v1/test_deleverage_light.py -------------------------------------------------------------------------------- /tests/leverage/v1/test_leverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v1/test_leverage.py -------------------------------------------------------------------------------- /tests/leverage/v1/test_leverage_light.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v1/test_leverage_light.py -------------------------------------------------------------------------------- /tests/leverage/v2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/leverage/v2/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v2/conftest.py -------------------------------------------------------------------------------- /tests/leverage/v2/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v2/constants.py -------------------------------------------------------------------------------- /tests/leverage/v2/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v2/settings.py -------------------------------------------------------------------------------- /tests/leverage/v2/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/leverage/v2/tests/test_leverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v2/tests/test_leverage.py -------------------------------------------------------------------------------- /tests/leverage/v2/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v2/utils.py -------------------------------------------------------------------------------- /tests/leverage/v3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/leverage/v3/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v3/conftest.py -------------------------------------------------------------------------------- /tests/leverage/v3/test_create_loan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/leverage/v3/test_create_loan.py -------------------------------------------------------------------------------- /tests/lm_callback/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/lm_callback/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/conftest.py -------------------------------------------------------------------------------- /tests/lm_callback/test_add_new_lm_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_add_new_lm_callback.py -------------------------------------------------------------------------------- /tests/lm_callback/test_as_gauge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_as_gauge.py -------------------------------------------------------------------------------- /tests/lm_callback/test_lm_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_lm_callback.py -------------------------------------------------------------------------------- /tests/lm_callback/test_lm_callback_reverts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_lm_callback_reverts.py -------------------------------------------------------------------------------- /tests/lm_callback/test_rewards_kill_unkill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_rewards_kill_unkill.py -------------------------------------------------------------------------------- /tests/lm_callback/test_st_as_gauge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_st_as_gauge.py -------------------------------------------------------------------------------- /tests/lm_callback/test_st_lm_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/lm_callback/test_st_lm_callback.py -------------------------------------------------------------------------------- /tests/price_oracles/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/price_oracles/lp-oracles/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/price_oracles/lp-oracles/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/price_oracles/lp-oracles/conftest.py -------------------------------------------------------------------------------- /tests/price_oracles/lp-oracles/test_lp_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/price_oracles/lp-oracles/test_lp_oracle.py -------------------------------------------------------------------------------- /tests/price_oracles/lp-oracles/test_lp_oracle_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/price_oracles/lp-oracles/test_lp_oracle_factory.py -------------------------------------------------------------------------------- /tests/price_oracles/proxy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/price_oracles/proxy/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/price_oracles/proxy/conftest.py -------------------------------------------------------------------------------- /tests/price_oracles/proxy/test_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/price_oracles/proxy/test_proxy.py -------------------------------------------------------------------------------- /tests/stableborrow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/stableborrow/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/conftest.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/conftest.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/stateful/base.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/test_agg_monetary_policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/stateful/test_agg_monetary_policy.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/test_diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/stateful/test_diff.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/test_profit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/stateful/test_profit.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/test_stable_peg_caller_profit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/stateful/test_stable_peg_caller_profit.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/stateful/test_withdraw_profit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/stateful/test_withdraw_profit.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_agg_monetary_policy_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_agg_monetary_policy_3.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_admin_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_admin_functions.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_delay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_delay.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_offboarding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_offboarding.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_profit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_profit.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_provide.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_provide.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_regulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_regulator.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_pk_withdraw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_pk_withdraw.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_price_aggregation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_price_aggregation.py -------------------------------------------------------------------------------- /tests/stableborrow/stabilize/unitary/test_price_aggregation_with_chainlink.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/stabilize/unitary/test_price_aggregation_with_chainlink.py -------------------------------------------------------------------------------- /tests/stableborrow/test_approval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_approval.py -------------------------------------------------------------------------------- /tests/stableborrow/test_bigfuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_bigfuzz.py -------------------------------------------------------------------------------- /tests/stableborrow/test_calculate_n1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_calculate_n1.py -------------------------------------------------------------------------------- /tests/stableborrow/test_create_repay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_create_repay.py -------------------------------------------------------------------------------- /tests/stableborrow/test_create_repay_stateful.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_create_repay_stateful.py -------------------------------------------------------------------------------- /tests/stableborrow/test_extra_health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_extra_health.py -------------------------------------------------------------------------------- /tests/stableborrow/test_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_factory.py -------------------------------------------------------------------------------- /tests/stableborrow/test_leverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_leverage.py -------------------------------------------------------------------------------- /tests/stableborrow/test_liquidate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_liquidate.py -------------------------------------------------------------------------------- /tests/stableborrow/test_lm_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_lm_callback.py -------------------------------------------------------------------------------- /tests/stableborrow/test_st_interest_conservation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/stableborrow/test_st_interest_conservation.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_add_collateral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_add_collateral.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_borrow_more.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_borrow_more.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_create_loan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_create_loan.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_internal_remove_from_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_internal_remove_from_list.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_internal_repay_full.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_internal_repay_full.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_internal_repay_partial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_internal_repay_partial.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_liquidate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_liquidate.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_remove_collateral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_remove_collateral.py -------------------------------------------------------------------------------- /tests/unitary/controller/test_repay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/controller/test_repay.py -------------------------------------------------------------------------------- /tests/unitary/lending/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/conftest.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_admin_percentage_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_admin_percentage_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_borrow_more_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_borrow_more_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_borrowed_balance_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_borrowed_balance_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_collect_fees_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_collect_fees_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_create_loan_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_create_loan_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_ctor_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_ctor_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_on_debt_increase_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_on_debt_increase_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_set_admin_fee_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_set_admin_fee_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_set_borrow_cap_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_set_borrow_cap_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/lend_controller/test_version_lc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/lend_controller/test_version_lc.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_admin_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_admin_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_asset_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_asset_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_borrow_apr_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_borrow_apr_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_convert_to_assets_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_convert_to_assets_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_convert_to_shares_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_convert_to_shares_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_deposit_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_deposit_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_initialize_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_initialize_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_lend_apr_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_lend_apr_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_max_deposit_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_max_deposit_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_max_mint_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_max_mint_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_max_redeem_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_max_redeem_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_max_withdraw_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_max_withdraw_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_mint_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_mint_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_preview_deposit_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_preview_deposit_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_preview_mint_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_preview_mint_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_preview_redeem_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_preview_redeem_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_preview_withdraw_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_preview_withdraw_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_price_per_share_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_price_per_share_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_redeem_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_redeem_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_set_max_supply_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_set_max_supply_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_total_assets_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_total_assets_v.py -------------------------------------------------------------------------------- /tests/unitary/lending/vault/test_withdraw_v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/unitary/lending/vault/test_withdraw_v.py -------------------------------------------------------------------------------- /tests/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/utils/__init__.py -------------------------------------------------------------------------------- /tests/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/utils/constants.py -------------------------------------------------------------------------------- /tests/utils/deployers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/utils/deployers.py -------------------------------------------------------------------------------- /tests/utils/protocols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/utils/protocols.py -------------------------------------------------------------------------------- /tests/zaps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/zaps/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/conftest.py -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/calculations/Partial_Liquidation_Zap_Evaluation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/partial_liquidation/calculations/Partial_Liquidation_Zap_Evaluation.pdf -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/calculations/calculations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/partial_liquidation/calculations/calculations.py -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/calculations/frac5_calc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/partial_liquidation/calculations/frac5_calc.txt -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/partial_liquidation/conftest.py -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/test_partial_repay_zap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/partial_liquidation/test_partial_repay_zap.py -------------------------------------------------------------------------------- /tests/zaps/partial_liquidation/test_partial_repay_zap_callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/tests/zaps/partial_liquidation/test_partial_repay_zap_callback.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin/HEAD/uv.lock --------------------------------------------------------------------------------