Skip to content

Supported connectors and chains

Connectors advertise immutable per-chain support for execution modes, economic actions, account profiles and historical coverage. A declaration does not establish provider availability, wallet funding or installed Safe authority.

Connector eip155:1 eip155:10 eip155:137 eip155:42161 eip155:43114 eip155:4663 eip155:56 eip155:8453 eip155:999
aave_v3 fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest
aave_v4 fork, production, backtest fork, production, backtest
aerodrome fork, production, backtest
aerodrome_slipstream fork, production, backtest
compound_v3 fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest
curve fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest
gmx_v2 fork, production, backtest fork
hyperliquid fork, production, backtest
morpho_blue fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest
pancakeswap_v3 fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest
sparklend fork, production, backtest
uniswap_v3 fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest
uniswap_v4 fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest fork, production, backtest

aave_v3

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified Pool and reserve-token revision 11 implementations, ordinary collateral mode and variable-rate debt, configured Pool, reserve assets and oracle feeds; no default markets aave-v3-revision11-economic-indices-v1 (economic) none
eip155:10 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified revision-11 L2Pool and reserve-token implementations, complete proxy fingerprints and explicitly configured oracle sources aave-v3-revision11-economic-indices-v1 (economic) none
eip155:137 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified revision-11 PoolInstance and reserve-token implementations, complete proxy fingerprints and explicitly configured oracle sources aave-v3-revision11-economic-indices-v1 (economic) none
eip155:42161 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified revision-11 L2Pool, aToken and variable-debt semantics, full runtime fingerprints retain documented proxy metadata differences, ordinary collateral mode and explicit configured oracle sources aave-v3-revision11-economic-indices-v1 (economic) none
eip155:43114 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified revision-11 PoolInstance and reserve-token implementations, complete proxy fingerprints and explicitly configured oracle sources aave-v3-revision11-economic-indices-v1 (economic) none
eip155:56 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified revision-11 PoolInstance and reserve-token implementations, complete proxy fingerprints; reserve proxy metadata difference retained aave-v3-revision11-economic-indices-v1 (economic) none
eip155:8453 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles verified Pool and reserve-token revision 11 implementations, ordinary collateral mode and variable-rate debt, pinned Jovian L1 and operator fee accounting aave-v3-revision11-economic-indices-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
lending 2 none +1 when collateral is granted, +1 when borrow is granted 1 +2 when borrow is granted 3

The ctx.actions methods for aave_v3 and what each does are listed under "aave_v3 actions" in Strategy actions below.

aave_v4

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest supply, withdraw, borrow, repay eoa, safe_roles verified V4 implementation, local fund/Spoke collateral, standard ERC-20 assets aave-v4-supply-historical-shares-v1 (historical_path), aave-v4-economic-rates-v1 (economic) none
eip155:43114 fork, production, backtest supply, withdraw, borrow, repay eoa, safe_roles verified V4 implementation, local fund/Spoke collateral, standard ERC-20 assets aave-v4-economic-rates-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
lending 2 none none 1 none none
debt 1 none +1 per item of collateral 3 +1 per item of collateral none

The ctx.actions methods for aave_v4 and what each does are listed under "aave_v4 actions" in Strategy actions below.

aerodrome

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:8453 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles configured verified Aerodrome factory, clone, router and fee contracts, fungible pool shares and separate account-wide fee claims, one allocation per fund; no unrelated initial shares, fees or pool LP deposit, stable and volatile pools; no staking or reward authority, economic execution assumes access; approval and revocation mechanics excluded, pinned Jovian L1 and operator fee accounting aerodrome-economic-integer-fixed-indices-v1 (economic) stable, volatile
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
trade 2 2 none 2 none none
liquidity 5 2 none 5 none none

The ctx.actions methods for aerodrome and what each does are listed under "aerodrome actions" in Strategy actions below.

aerodrome_slipstream

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:8453 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles configured compiled Slipstream factory, clone, periphery and fee modules, one allocation per fund, unstaked NFTs and undiscounted submitter fee context, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT, pinned Jovian L1 and operator fee accounting slipstream-economic-integer-fixed-growth-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
trade 2 2 none 2 none none
liquidity 5 2 none 5 none none

The ctx.actions methods for aerodrome_slipstream and what each does are listed under "aerodrome_slipstream actions" in Strategy actions below.

compound_v3

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Comet implementation, extension and immutable asset-list revisions, signed base principal and non-interest-bearing collateral, no rewards or manager authority, scope-only multipurpose ABI grants; economic distinctions remain gateway checks compound-v3-exogenous-integer-indices-v1 (economic) none
eip155:10 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Comet implementation, extension and immutable asset-list revisions, signed base principal and non-interest-bearing collateral, no rewards or manager authority, scope-only multipurpose ABI grants; economic distinctions remain gateway checks, pinned Jovian L1 and operator fee accounting compound-v3-exogenous-integer-indices-v1 (economic) none
eip155:42161 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Comet implementation, extension and immutable asset-list revisions, signed base principal and non-interest-bearing collateral, no rewards or manager authority, scope-only multipurpose ABI grants; economic distinctions remain gateway checks compound-v3-exogenous-integer-indices-v1 (economic) none
eip155:8453 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Comet implementation, extension and immutable asset-list revisions, signed base principal and non-interest-bearing collateral, no rewards or manager authority, scope-only multipurpose ABI grants; economic distinctions remain gateway checks, pinned Jovian L1 and operator fee accounting compound-v3-exogenous-integer-indices-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
lending 2 none +1 when borrow is granted 1 +2 when borrow is granted 3

The ctx.actions methods for compound_v3 and what each does are listed under "compound_v3 actions" in Strategy actions below.

curve

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng, tricrypto_ng
eip155:10 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution, pinned Jovian L1 and operator fee accounting curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng, tricrypto_ng_2024
eip155:137 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng, tricrypto_ng_2024
eip155:42161 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng, tricrypto_ng
eip155:43114 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution curve-stableswap-fixed-external-unit-balances-v1 (economic) stableswap_ng
eip155:4663 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng, tricrypto_ng_2024
eip155:56 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng
eip155:8453 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles verified StableSwap NG, TwoCrypto NG or TriCrypto NG revision, ordered standard non-rebasing coins; no metapool routing, one allocation per fund, LP fees embedded in share economics; explicit configured single-coin exit, economic simulation assumes execution access and fixed external market history, explicit bounded samples and source age; no missing-input substitution, pinned Jovian L1 and operator fee accounting curve-stableswap-fixed-external-unit-balances-v1 (economic), curve-ng-fixed-external-unit-balances-v1 (economic) stableswap_ng, twocrypto_ng, tricrypto_ng
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
trade 2 2 none 2 none none
liquidity 3 2 +1 per item of coins 3 none none

The ctx.actions methods for curve and what each does are listed under "curve actions" in Strategy actions below.

gmx_v2

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:42161 fork, production, backtest increase_position, decrease_position, close_position, revoke_position, swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, revoke_exchange eoa, safe_roles Verified market and compiled deployment closure; wrapped-native collateral., Solvent liquidation reconciles as an external effect; native insolvency is not advertised (16 September 2026 disposition)., Dedicated Safe with accepted broad cancellation grants and retained-key checks., one allocation per fund gmx-v2-published-opportunity-integer-gm-v1 (economic) none
eip155:43114 fork increase_position, decrease_position, close_position, revoke_position, swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, close_liquidity, revoke_exchange eoa, safe_roles Candidate identified-fork request lifecycle; not promoted SDK support., Verified market and compiled deployment closure; wrapped-native collateral., Position and swap candidate implementation; GM liquidity candidate implementation; offline models unproven., Dedicated Safe with accepted broad cancellation grants and retained-key checks., one allocation per fund none none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
position 2 none none 3 none none
swap 3 none none 1 none none
liquidity 1 none +1 per item of input_assets 1 none none

The ctx.actions methods for gmx_v2 and what each does are listed under "gmx_v2 actions" in Strategy actions below.

hyperliquid

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:999 fork, production, backtest deposit, set_leverage, increase_position, close_position, withdraw safe_roles Production (D7): T1 (an agent cannot move value out of the account) and the open half of T4 (an unknownOid after expiry is final) are production assumptions; an Ioc order whose answer is lost and which shows nothing past its expiry halts with its evidence., Production: the provider must serve HyperEVM's head exactly; Alchemy runs reads pinned near its head at head + 1, which the gateway refuses (blueprint 29)., Backtests: HyperCore /info trade candles and hourly funding (D4); the venue serves only its latest 5000 candles of an interval., Cross margin on first-dex perps at the configured leverage; Ioc entries and reduce-only Ioc exits. Backtests refuse positions above the first margin tier or 100,000 USDC of notional., Backtests model book, mark and oracle prices from trade candles., A dedicated Safe whose HyperCore account the strategy owns; the agent can trade every market of it (D2), and the gateway alone enforces the configured market and sizes., The Safe owners fund the HyperCore HYPE that pays each withdrawal's system transaction; a withdrawal it cannot pay for stops before anything is sent., one allocation per fund hypercore-trade-candle-perpetual-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
perp 5 none none 2 none none

The ctx.actions methods for hyperliquid and what each does are listed under "hyperliquid actions" in Strategy actions below.

morpho_blue

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
eip155:10 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks, pinned Jovian L1 and operator fee accounting morpho-blue-archive-anchored-market-v1 (economic) none
eip155:137 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
eip155:42161 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
eip155:43114 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit ERC-4626 conversion oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
eip155:4663 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
eip155:56 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
eip155:8453 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks, pinned Jovian L1 and operator fee accounting morpho-blue-archive-anchored-market-v1 (economic) none
eip155:999 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount eoa, safe_roles verified Morpho Blue core, adaptive IRM and explicit non-vault oracle revision, separate supply shares, borrow shares and non-interest-bearing collateral, no rewards, callbacks, bundlers or delegated managers, scope-only supply and borrow grants with no amount bound; health and ownership remain gateway checks morpho-blue-archive-anchored-market-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
lending 2 none +1 when borrow is granted 1 +2 when borrow is granted 3

The ctx.actions methods for morpho_blue and what each does are listed under "morpho_blue actions" in Strategy actions below.

pancakeswap_v3

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles configured verified Pancake original router, factory, deployer and pool, one allocation per fund, absent or compiled verified liquidity-mining callback; unstaked NFTs, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT pancakeswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:42161 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles configured verified Pancake original router, factory, deployer and pool, one allocation per fund, absent or compiled verified liquidity-mining callback; unstaked NFTs, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT pancakeswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:56 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles configured verified Pancake original router, factory, deployer and pool, one allocation per fund, absent or compiled verified liquidity-mining callback; unstaked NFTs, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT pancakeswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:8453 fork, production, backtest swap_exact_input, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity, exit_exchange, revoke_exchange eoa, safe_roles configured verified Pancake original router, factory, deployer and pool, one allocation per fund, absent or compiled verified liquidity-mining callback; unstaked NFTs, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT, pinned Jovian L1 and operator fee accounting pancakeswap-v3-economic-integer-fixed-growth-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
trade 2 2 none 2 none none
liquidity 5 2 none 5 none none

The ctx.actions methods for pancakeswap_v3 and what each does are listed under "pancakeswap_v3 actions" in Strategy actions below.

sparklend

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest supply, withdraw, withdraw_amount, borrow, repay, repay_amount, collateral eoa, safe_roles Ethereum Pool revision 4 and token revision 1, ordinary collateral mode and variable-rate debt, isolated and siloed reserves remain unsupported, configured Pool, assets and oracle feeds; no default markets sparklend-revision4-economic-indices-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
lending 2 none +1 when collateral is granted, +1 when borrow is granted 1 +2 when borrow is granted 3

The ctx.actions methods for sparklend and what each does are listed under "sparklend actions" in Strategy actions below.

uniswap_v3

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:10 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT, pinned Jovian L1 and operator fee accounting uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:137 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:42161 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:43114 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:4663 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:56 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
eip155:8453 fork, production, backtest swap_exact_input, exit_exchange, revoke_exchange, open_liquidity, increase_liquidity, decrease_liquidity, collect_liquidity_fees, close_liquidity eoa, safe_roles configured verified factory, pool and periphery revisions, explicit token pair and fee; exact-input swaps only, one allocation per fund, economic execution assumes access; approval and revocation mechanics excluded, broader NFT manager grants can affect compatible owned or approved NFTs; gateway operations require the retained strategy-owned NFT, pinned Jovian L1 and operator fee accounting uniswap-v3-economic-integer-fixed-growth-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
trade 2 2 none 2 none none
liquidity 5 2 none 5 none none

The ctx.actions methods for uniswap_v3 and what each does are listed under "uniswap_v3 actions" in Strategy actions below.

uniswap_v4

Chain Modes Actions Account profiles Restrictions Backtest models Variants
eip155:1 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only) uniswap-v4-exact-quoter-fixed-path-lp-v1 (historical_path), uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:10 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only), pinned Jovian L1 and operator fee accounting uniswap-v4-exact-quoter-fixed-path-lp-v1 (historical_path), uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:137 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only) uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:42161 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only) uniswap-v4-exact-quoter-fixed-path-lp-v1 (historical_path), uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:43114 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only) uniswap-v4-exact-quoter-fixed-path-lp-v1 (historical_path), uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:4663 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only) uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:56 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only) uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
eip155:8453 fork, production, backtest swap_exact_input, open_liquidity, collect_liquidity_fees, close_liquidity, revoke_exchange, exit_exchange eoa, safe_roles hookless pools, or reviewed hook profiles (Pons hooks for trading only), two standard ERC-20 currencies, or the native coin held as its wrapped token for trading and liquidity, native-coin liquidity in one token pair per chain, never beside ERC-20 liquidity on that chain; a native mint measures more gas than an ERC-20 mint, and check warns when max_gas_limit is below the measured native mint, measured on another chain where this one has no measurement, single pool, one allocation per fund, fixed LP range or recentring band (bands backtest in economic mode only), pinned Jovian L1 and operator fee accounting uniswap-v4-exact-quoter-fixed-path-lp-v1 (historical_path), uniswap-v4-economic-integer-fixed-growth-v1 (economic) none
Allocation kind Entry Each further entry slice Entry increments Exit Exit increments Each unwind cycle
trade 3 3 none 4 none none
liquidity 8 3 none 5 none none

The ctx.actions methods for uniswap_v4 and what each does are listed under "uniswap_v4 actions" in Strategy actions below.

Strategy actions

Methods a strategy calls on ctx.actions for each connector, read from the binding the connector installs. The first argument is the configured allocation name. Each entry gives the signature and what the action does: for example that an exit teardown closes liquidity, converts residual inventory to the funding asset and revokes allowances, how swap picks its quote, and repay versus repay_amount.

aave_v3 actions

Strategy actions on ctx.actions for the aave_v3 connector: borrow, repay, repay_amount, set_collateral, supply, withdraw, withdraw_amount.

  • borrow(name: str, amount: int): Borrow amount base units of the reserve asset; needs borrow authority.
  • repay(name: str): Repay the whole debt with accrued interest; the fund must hold all of it.
  • repay_amount(name: str, amount: int): Repay exactly amount base units; refuses an amount above the outstanding debt.
  • set_collateral(name: str, enabled: bool): Enable or disable the supplied balance as collateral. Disabling with debt outstanding must keep the minimum health factor.
  • supply(name: str, amount: int): Supply amount base units of the reserve asset from fund inventory. A first supply into a reserve with an LTV enables collateral; needs collateral: true.
  • withdraw(name: str): Withdraw the whole supplied balance, including accrued interest.
  • withdraw_amount(name: str, amount: int): Withdraw exactly amount base units, leaving the rest supplied.

aave_v4 actions

Strategy actions on ctx.actions for the aave_v4 connector: borrow, repay, supply, withdraw.

  • borrow(name: str, amount: int): Borrow amount base units on a debt allocation. Borrowing is backed by the debt allocation's named collateral allocations.
  • repay(name: str): Repay the whole debt with accrued interest; the fund must hold all of it.
  • supply(name: str, amount: int): Supply amount base units of the reserve asset from fund inventory.
  • withdraw(name: str): Withdraw the whole supplied balance, including accrued interest.

aerodrome actions

Strategy actions on ctx.actions for the aerodrome connector: close_liquidity, collect, decrease_liquidity, exit, increase_liquidity, open_liquidity, revoke, swap.

  • close_liquidity(name): Remove all owned liquidity into owned inventory, with principal less slippage_bps. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect (or close_liquidity again once no shares remain).
  • collect(name): Collect accrued fees from the owned position without changing its liquidity.
  • decrease_liquidity(name, liquidity): Remove liquidity units from the owned position, keeping it open. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect. Minimums are observed principal less slippage_bps.
  • exit(name): Full exit/teardown: close owned liquidity, swap counter inventory to funding, revoke. Exit converts residual inventory to the configured funding asset and clears remaining allowances in one runtime-driven sequence; returns None when nothing remains to exit. Measured dust whose exact-size exit quote returns zero output may stay owned after it.
  • increase_liquidity(name, *, fraction_bps=10000): Add up to fraction_bps of owned inventory to the owned position.
  • open_liquidity(name, *, fraction_bps=10000): Open a position from up to fraction_bps of owned inventory in both assets. Concentrated pools: a banded allocation centres the range on the observed tick, a fixed one uses its range. Classic Aerodrome stable/volatile pools have no range.
  • revoke(name): Zero the allocation's remaining token allowances (spending authority).
  • swap(name, *, exit=False, rebalance=False): Swap along an observed exact-size quote, with the minimum output less slippage_bps. Follows entry_quote by default, exit_quote with exit=True and the banded rebalance_quote with rebalance=True; raises when that quote is absent at this block.

aerodrome_slipstream actions

Strategy actions on ctx.actions for the aerodrome_slipstream connector: close_liquidity, collect, decrease_liquidity, exit, increase_liquidity, open_liquidity, revoke, swap.

  • close_liquidity(name): Remove all owned liquidity into owned inventory, with principal less slippage_bps. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect (or close_liquidity again once no shares remain).
  • collect(name): Collect accrued fees from the owned position without changing its liquidity.
  • decrease_liquidity(name, liquidity): Remove liquidity units from the owned position, keeping it open. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect. Minimums are observed principal less slippage_bps.
  • exit(name): Full exit/teardown: close owned liquidity, swap counter inventory to funding, revoke. Exit converts residual inventory to the configured funding asset and clears remaining allowances in one runtime-driven sequence; returns None when nothing remains to exit. Measured dust whose exact-size exit quote returns zero output may stay owned after it.
  • increase_liquidity(name, *, fraction_bps=10000): Add up to fraction_bps of owned inventory to the owned position.
  • open_liquidity(name, *, fraction_bps=10000): Open a position from up to fraction_bps of owned inventory in both assets. Concentrated pools: a banded allocation centres the range on the observed tick, a fixed one uses its range. Classic Aerodrome stable/volatile pools have no range.
  • revoke(name): Zero the allocation's remaining token allowances (spending authority).
  • swap(name, *, exit=False, rebalance=False): Swap along an observed exact-size quote, with the minimum output less slippage_bps. Follows entry_quote by default, exit_quote with exit=True and the banded rebalance_quote with rebalance=True; raises when that quote is absent at this block.

composed actions

Strategy actions on ctx.actions for the composed connector: borrow, close_liquidity, collect, component, decrease_liquidity, exit, increase_liquidity, open_liquidity, repay, repay_amount, revoke, set_collateral, supply, swap, withdraw, withdraw_amount.

  • borrow(name, amount): Route borrow to the component connector that owns allocation name. Lending components: aave_v3, aave_v4, sparklend, compound_v3, morpho_blue.
  • close_liquidity(name): Route close_liquidity to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream, curve and uniswap_v4. GMX takes minimums: call it through component(name).
  • collect(name): Route collect to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream and uniswap_v4.
  • component(name): The ctx.actions of the component connector that owns allocation name. Call it for anything a wrapper here does not forward, e.g. ctx.actions.component(name).open_liquidity(name) on uniswap_v4, or GMX increase.
  • decrease_liquidity(name, liquidity): Route decrease_liquidity to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream and curve. GMX takes shares and minimums: call it through component(name).
  • exit(name): Route exit (full teardown) to the component that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream, curve, uniswap_v4 and gmx_v2; lending components have none. Returns None when that component has nothing left to exit.
  • increase_liquidity(name, *, fraction_bps=10000): Route increase_liquidity to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream and curve. GMX takes maximums: call it through component(name); uniswap_v4 has none.
  • open_liquidity(name, *, fraction_bps=10000): Route open_liquidity to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream and curve. uniswap_v4 takes no fraction_bps and GMX takes maximums: call them through component(name).
  • repay(name): Route repay to the component connector that owns allocation name. Lending components: aave_v3, aave_v4, sparklend, compound_v3, morpho_blue.
  • repay_amount(name, amount): Route repay_amount to the component connector that owns allocation name. Lending components: aave_v3, sparklend, compound_v3, morpho_blue; aave_v4 has none.
  • revoke(name): Route revoke to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream, curve and gmx_v2.
  • set_collateral(name, enabled): Route set_collateral to the component connector that owns allocation name. Components: aave_v3 and sparklend.
  • supply(name, amount): Route supply to the component connector that owns allocation name. Lending components: aave_v3, aave_v4, sparklend, compound_v3, morpho_blue.
  • swap(name, *, exit=False): Route swap to the component connector that owns allocation name. Components: uniswap_v3, pancakeswap_v3, aerodrome, aerodrome_slipstream, curve and uniswap_v4, forwarding only exit; call component(name) for rebalance=True and GMX swaps.
  • withdraw(name): Route withdraw to the component connector that owns allocation name. Lending components: aave_v3, aave_v4, sparklend, compound_v3, morpho_blue.
  • withdraw_amount(name, amount): Route withdraw_amount to the component connector that owns allocation name. Lending components: aave_v3, sparklend, compound_v3, morpho_blue; aave_v4 has none.

compound_v3 actions

Strategy actions on ctx.actions for the compound_v3 connector: borrow, repay, repay_amount, supply, withdraw, withdraw_amount.

  • borrow(name: str, amount: int): Borrow amount of the Comet base asset against collateral in the same Comet. Needs borrow authority on the base allocation.
  • repay(name: str): Repay the whole debt with accrued interest; the fund must hold all of it.
  • repay_amount(name: str, amount: int): Repay exactly amount base units; refuses an amount above the outstanding debt.
  • supply(name: str, amount: int): Supply amount base units of the allocation's asset to its Comet. The base asset earns interest; a collateral asset backs borrowing of the base asset.
  • withdraw(name: str): Withdraw the whole supplied balance, including accrued interest.
  • withdraw_amount(name: str, amount: int): Withdraw exactly amount base units, leaving the rest supplied.

curve actions

Strategy actions on ctx.actions for the curve connector: close_liquidity, decrease_liquidity, exit, increase_liquidity, open_liquidity, revoke, swap.

  • close_liquidity(name): Burn all owned LP shares with slippage-bounded minimums. Withdraws in single_coin_exit when configured, otherwise proportionally.
  • decrease_liquidity(name, liquidity): Burn liquidity LP shares, keeping some owned, with slippage-bounded minimums. Withdraws in single_coin_exit when configured, otherwise proportionally.
  • exit(name): Full exit/teardown: burn owned LP shares, swap non-funding coins to funding, revoke. Exit converts residual inventory to the configured funding asset and clears remaining allowances in one runtime-driven sequence; returns None when nothing remains to exit. Measured dust whose exact-size exit quote returns zero output may stay owned after it.
  • increase_liquidity(name, *, fraction_bps=10000): Deposit up to fraction_bps of owned inventory into the owned LP shares.
  • open_liquidity(name, *, fraction_bps=10000): Deposit up to fraction_bps of owned inventory of every pool coin for LP shares. Refuses when shares are already owned; use increase_liquidity then.
  • revoke(name): Zero the allocation's remaining token allowances (spending authority).
  • swap(name, *, exit=False): Swap along entry_quote, or the first of exit_quotes with exit=True. The minimum output is the quote less slippage_bps; raises when that quote is absent.

gmx_v2 actions

Strategy actions on ctx.actions for the gmx_v2 connector: close, close_liquidity, decrease, decrease_liquidity, exit, increase, increase_liquidity, open_liquidity, revoke, swap.

  • close(name): Close the whole perpetual position through a keeper order.
  • close_liquidity(name, *, minimum0: AssetAmount, minimum1: AssetAmount): Redeem all owned GM market tokens for at least minimum0/minimum1.
  • decrease(name, *, collateral_base_units, size_delta_usd_e30): Shrink the perpetual position by size_delta_usd_e30 and withdraw collateral. collateral_base_units of the collateral asset are withdrawn alongside the size change.
  • decrease_liquidity(name, *, shares: AssetAmount, minimum0: AssetAmount, minimum1: AssetAmount): Redeem shares GM market tokens for at least minimum0/minimum1.
  • exit(name): Next exit/teardown step, or None when nothing remains; call it every decision. Perpetuals close then revoke; swap allocations swap non-funding inventory to the funding asset at exit_minimum_output; GM liquidity redeems at withdrawal_minimums.
  • increase(name, *, collateral_base_units, size_delta_usd_e30): Open or grow the perpetual position by collateral and USD size. collateral_base_units is in the collateral asset; size_delta_usd_e30 has 30 decimals.
  • increase_liquidity(name, *, maximum0: AssetAmount, maximum1: AssetAmount): Deposit up to maximum0/maximum1 more into the owned GM tokens.
  • open_liquidity(name, *, maximum0: AssetAmount, maximum1: AssetAmount): Deposit up to maximum0/maximum1 of the market currencies for GM tokens.
  • revoke(name): Zero the allocation's remaining allowances (exchange or position authority).
  • swap(name, *, amount: AssetAmount, minimum_output: AssetAmount): Request an asynchronous keeper swap of amount with an explicit minimum_output.

hyperliquid actions

Strategy actions on ctx.actions for the hyperliquid connector: close, deposit, open, set_leverage, withdraw.

  • close(name): A reduce-only Ioc order for the whole position.
  • deposit(name, amount: AssetAmount | None = None): Move amount USDC (the allocation's capital by default) to the HyperCore account. The account's first deposit pays HyperCore's 1 USDC activation fee.
  • open(name, *, side, size): An Ioc order for size coins on side (long or short), its limit the allocation's slippage from the reference price: the book on a fork, the latest trade close in a backtest.
  • set_leverage(name): Set the allocation's configured cross leverage; only while flat.
  • withdraw(name, amount: AssetAmount | None = None): Move amount USDC (everything withdrawable by default) back to HyperEVM.

morpho_blue actions

Strategy actions on ctx.actions for the morpho_blue connector: borrow, repay, repay_amount, supply, withdraw, withdraw_amount.

  • borrow(name: str, amount: int): Borrow amount of the loan asset against collateral in the same market. Needs borrow authority on the loan allocation.
  • repay(name: str): Repay the whole debt with accrued interest; the fund must hold all of it.
  • repay_amount(name: str, amount: int): Repay exactly amount base units; refuses an amount above the outstanding debt.
  • supply(name: str, amount: int): Supply amount base units of the allocation's asset to its market. A loan allocation lends the loan asset; a collateral allocation posts collateral.
  • withdraw(name: str): Withdraw everything: all supplied loan shares or all posted collateral.
  • withdraw_amount(name: str, amount: int): Withdraw exactly amount base units, leaving the rest supplied.

pancakeswap_v3 actions

Strategy actions on ctx.actions for the pancakeswap_v3 connector: close_liquidity, collect, decrease_liquidity, exit, increase_liquidity, open_liquidity, revoke, swap.

  • close_liquidity(name): Remove all owned liquidity into owned inventory, with principal less slippage_bps. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect (or close_liquidity again once no shares remain).
  • collect(name): Collect accrued fees from the owned position without changing its liquidity.
  • decrease_liquidity(name, liquidity): Remove liquidity units from the owned position, keeping it open. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect. Minimums are observed principal less slippage_bps.
  • exit(name): Full exit/teardown: close owned liquidity, swap counter inventory to funding, revoke. Exit converts residual inventory to the configured funding asset and clears remaining allowances in one runtime-driven sequence; returns None when nothing remains to exit. Measured dust whose exact-size exit quote returns zero output may stay owned after it.
  • increase_liquidity(name, *, fraction_bps=10000): Add up to fraction_bps of owned inventory to the owned position.
  • open_liquidity(name, *, fraction_bps=10000): Open a position from up to fraction_bps of owned inventory in both assets. Concentrated pools: a banded allocation centres the range on the observed tick, a fixed one uses its range. Classic Aerodrome stable/volatile pools have no range.
  • revoke(name): Zero the allocation's remaining token allowances (spending authority).
  • swap(name, *, exit=False, rebalance=False): Swap along an observed exact-size quote, with the minimum output less slippage_bps. Follows entry_quote by default, exit_quote with exit=True and the banded rebalance_quote with rebalance=True; raises when that quote is absent at this block.

sparklend actions

Strategy actions on ctx.actions for the sparklend connector: borrow, repay, repay_amount, set_collateral, supply, withdraw, withdraw_amount.

  • borrow(name: str, amount: int): Borrow amount base units of the reserve asset; needs borrow authority.
  • repay(name: str): Repay the whole debt with accrued interest; the fund must hold all of it.
  • repay_amount(name: str, amount: int): Repay exactly amount base units; refuses an amount above the outstanding debt.
  • set_collateral(name: str, enabled: bool): Enable or disable the supplied balance as collateral. Disabling with debt outstanding must keep the minimum health factor.
  • supply(name: str, amount: int): Supply amount base units of the reserve asset from fund inventory. A first supply into a reserve with an LTV enables collateral; needs collateral: true.
  • withdraw(name: str): Withdraw the whole supplied balance, including accrued interest.
  • withdraw_amount(name: str, amount: int): Withdraw exactly amount base units, leaving the rest supplied.

uniswap_v3 actions

Strategy actions on ctx.actions for the uniswap_v3 connector: close_liquidity, collect, decrease_liquidity, exit, increase_liquidity, open_liquidity, revoke, swap.

  • close_liquidity(name): Remove all owned liquidity into owned inventory, with principal less slippage_bps. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect (or close_liquidity again once no shares remain).
  • collect(name): Collect accrued fees from the owned position without changing its liquidity.
  • decrease_liquidity(name, liquidity): Remove liquidity units from the owned position, keeping it open. Concentrated pools also collect fees; classic Aerodrome burns shares for principal only, so claim its fees with collect. Minimums are observed principal less slippage_bps.
  • exit(name): Full exit/teardown: close owned liquidity, swap counter inventory to funding, revoke. Exit converts residual inventory to the configured funding asset and clears remaining allowances in one runtime-driven sequence; returns None when nothing remains to exit. Measured dust whose exact-size exit quote returns zero output may stay owned after it.
  • increase_liquidity(name, *, fraction_bps=10000): Add up to fraction_bps of owned inventory to the owned position.
  • open_liquidity(name, *, fraction_bps=10000): Open a position from up to fraction_bps of owned inventory in both assets. Concentrated pools: a banded allocation centres the range on the observed tick, a fixed one uses its range. Classic Aerodrome stable/volatile pools have no range.
  • revoke(name): Zero the allocation's remaining token allowances (spending authority).
  • swap(name, *, exit=False, rebalance=False): Swap along an observed exact-size quote, with the minimum output less slippage_bps. Follows entry_quote by default, exit_quote with exit=True and the banded rebalance_quote with rebalance=True; raises when that quote is absent at this block.

uniswap_v4 actions

Strategy actions on ctx.actions for the uniswap_v4 connector: close_liquidity, collect, exit, open_liquidity, swap.

  • close_liquidity(name): Remove all owned liquidity into owned inventory. Minimums are the observed principal less the allocation's slippage_bps.
  • collect(name): Collect accrued fees from the owned position without changing its liquidity.
  • exit(name): Full exit/teardown: close owned liquidity, swap counter inventory to funding, revoke. Exit converts residual inventory to the configured funding asset and clears remaining allowances in one runtime-driven sequence; returns None when nothing remains to exit. Measured dust whose exact-size exit quote returns zero output may stay owned after it.
  • open_liquidity(name): Open a position using all owned inventory of both currencies as maximums. A banded allocation centres the range on the observed tick; a fixed one uses its range.
  • swap(name, *, exit=False, rebalance=False): Swap along an observed exact-size quote, with the minimum output less slippage_bps. Follows entry_quote by default, exit_quote with exit=True and the banded rebalance_quote with rebalance=True; raises when that quote is absent at this block.

Generated from almanak support --json and the connector action bindings; do not edit by hand.