dojo package¶
Config package for loading and validating configuration.
Subpackages¶
- dojo.actions package
BaseAction
- Submodules
AAVEv3Borrow
AAVEv3BorrowToHealthFactor
AAVEv3FlashLoan
AAVEv3FlashLoanSimple
AAVEv3FullLiquidation
AAVEv3Liquidation
AAVEv3Repay
AAVEv3RepayAll
AAVEv3RepayToHealthFactor
AAVEv3Supply
AAVEv3Withdraw
AAVEv3WithdrawAll
BaseAaveAction
BaseAction
UniswapV3Action
UniswapV3BurnNew
UniswapV3Collect
UniswapV3CollectFull
UniswapV3IncreaseLiquidity
UniswapV3LiquidatePosition
UniswapV3ProvideLiquidity
UniswapV3ProvideQuantities
UniswapV3Quote
UniswapV3SetFeeProtocol
UniswapV3Trade
UniswapV3TradeToTickRange
UniswapV3WithdrawLiquidity
- dojo.agents package
BaseAgent
BaseAgent.DEFAULT_ETH
BaseAgent.add_asset()
BaseAgent.add_nft()
BaseAgent.approve()
BaseAgent.cache()
BaseAgent.create_web3_account()
BaseAgent.done()
BaseAgent.erc20_portfolio()
BaseAgent.erc20_wealth()
BaseAgent.erc721_portfolio()
BaseAgent.fund_erc20()
BaseAgent.fund_erc721()
BaseAgent.fund_eth()
BaseAgent.id
BaseAgent.portfolio()
BaseAgent.quantity()
BaseAgent.reward()
BaseAgent.set_backend()
BaseAgent.set_id()
BaseAgent.setup()
BaseAgent.setup_live()
BaseAgent.wealth()
UniswapV3Agent
- Submodules
BaseAgent
BaseAgent.DEFAULT_ETH
BaseAgent.account
BaseAgent.add_asset()
BaseAgent.add_nft()
BaseAgent.approve()
BaseAgent.cache()
BaseAgent.create_web3_account()
BaseAgent.done()
BaseAgent.erc20_portfolio()
BaseAgent.erc20_wealth()
BaseAgent.erc721_portfolio()
BaseAgent.fund_erc20()
BaseAgent.fund_erc721()
BaseAgent.fund_eth()
BaseAgent.id
BaseAgent.portfolio()
BaseAgent.quantity()
BaseAgent.reward()
BaseAgent.set_backend()
BaseAgent.set_id()
BaseAgent.setup()
BaseAgent.setup_live()
BaseAgent.wealth()
- dojo.common package
- dojo.environments package
- dojo.observations package
AAVEv3Observation
AAVEv3Observation.balance()
AAVEv3Observation.events_last_blocks()
AAVEv3Observation.get_asset_price()
AAVEv3Observation.get_asset_prices()
AAVEv3Observation.get_reserve_data()
AAVEv3Observation.get_user_account_data()
AAVEv3Observation.get_user_account_data_base()
AAVEv3Observation.market_agent_tokens()
AAVEv3Observation.tokens()
GmxV2Observation
GmxV2Observation.get_account_positions()
GmxV2Observation.get_deposit_amount_out()
GmxV2Observation.get_market()
GmxV2Observation.get_market_info()
GmxV2Observation.get_market_token_price_for_deposit()
GmxV2Observation.get_market_token_price_for_traders()
GmxV2Observation.get_market_token_price_for_withdraw()
GmxV2Observation.get_net_pnl()
GmxV2Observation.get_open_interest_with_pnl()
GmxV2Observation.get_pnl()
GmxV2Observation.get_position()
GmxV2Observation.get_position_pnl_usd()
GmxV2Observation.get_token_price_by_token_address()
GmxV2Observation.get_token_price_by_token_symbol()
GmxV2Observation.index_token_price()
GmxV2Observation.index_token_price_max()
GmxV2Observation.index_token_price_min()
GmxV2Observation.long_token_price()
GmxV2Observation.market_agent_tokens()
GmxV2Observation.set_market_dict()
GmxV2Observation.set_oracle_prices()
GmxV2Observation.short_token_price()
GmxV2Observation.tokens()
GmxV2Observation.total_trader_pnl()
UniswapV3Observation
UniswapV3Observation.active_tick_range()
UniswapV3Observation.liquidity()
UniswapV3Observation.lp_fees()
UniswapV3Observation.lp_portfolio()
UniswapV3Observation.lp_quantities()
UniswapV3Observation.market_agent_tokens()
UniswapV3Observation.nft_positions()
UniswapV3Observation.pool_fee()
UniswapV3Observation.pool_positions()
UniswapV3Observation.pool_token_addresses()
UniswapV3Observation.pool_tokens()
UniswapV3Observation.price()
UniswapV3Observation.protocol_fees()
UniswapV3Observation.slot0()
UniswapV3Observation.tick_liquidities()
UniswapV3Observation.tick_spacing()
UniswapV3Observation.ticks()
UniswapV3Observation.token_addresses()
UniswapV3Observation.tokens()
- Submodules
AAVEv3Observation
AAVEv3Observation.balance()
AAVEv3Observation.events_last_blocks()
AAVEv3Observation.get_asset_price()
AAVEv3Observation.get_asset_prices()
AAVEv3Observation.get_reserve_data()
AAVEv3Observation.get_user_account_data()
AAVEv3Observation.get_user_account_data_base()
AAVEv3Observation.market_agent_tokens()
AAVEv3Observation.tokens()
ReserveConfig
ReserveConfig.asset_paused
ReserveConfig.borrow_cap
ReserveConfig.borrowing_enabled
ReserveConfig.borrowing_in_isolation_enabled
ReserveConfig.debt_ceiling
ReserveConfig.decimals
ReserveConfig.emode_category
ReserveConfig.is_active
ReserveConfig.is_frozen
ReserveConfig.liquidation_bonus
ReserveConfig.liquidation_fee
ReserveConfig.liquidation_threshold
ReserveConfig.ltv
ReserveConfig.reserve_factor
ReserveConfig.reserved
ReserveConfig.stable_borrowing_enabled
ReserveConfig.supply_cap
ReserveConfig.unbacked_mint_cap
ReserveData
ReserveData.accrued_to_treasury
ReserveData.atoken_address
ReserveData.configuration
ReserveData.current_liquidity_rate
ReserveData.current_stable_borrow_rate
ReserveData.current_variable_borrow_rate
ReserveData.id
ReserveData.interest_rate_strategy_address
ReserveData.isolation_mode_total_debt
ReserveData.last_update_timestamp
ReserveData.liquidity_index
ReserveData.stable_debt_token_address
ReserveData.unbacked
ReserveData.variable_borrow_index
ReserveData.variable_debt_token_address
UserAccountData
split_configuration_data()
UniswapV3Observation
UniswapV3Observation.active_tick_range()
UniswapV3Observation.liquidity()
UniswapV3Observation.lp_fees()
UniswapV3Observation.lp_portfolio()
UniswapV3Observation.lp_quantities()
UniswapV3Observation.market_agent_tokens()
UniswapV3Observation.nft_positions()
UniswapV3Observation.pool_fee()
UniswapV3Observation.pool_positions()
UniswapV3Observation.pool_token_addresses()
UniswapV3Observation.pool_tokens()
UniswapV3Observation.price()
UniswapV3Observation.protocol_fees()
UniswapV3Observation.slot0()
UniswapV3Observation.tick_liquidities()
UniswapV3Observation.tick_spacing()
UniswapV3Observation.ticks()
UniswapV3Observation.token_addresses()
UniswapV3Observation.tokens()
batch_get_real_quantities()
get_liquidity()
get_liquidity0()
get_liquidity1()
get_pool_fee()
get_quantity0_delta()
get_quantity1_delta()
get_real_quantities()
get_real_quantity0()
get_real_quantity1()
get_virtual_quantities()
price_to_active_tick()
price_to_sqrt_priceX96()
price_to_tick()
price_to_tick_range()
price_wrt_range()
sqrt_priceX96_to_price()
sqrt_priceX96_to_tick()
sqrt_priceX96_to_tick_range()
tick_to_sqrt_priceX96()
- dojo.policies package
- dojo.runners package