@eco-incorp/sauce 0.99.4 → 0.99.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +105 -63
- package/actions/action-program.schema.json +1810 -0
- package/actions/dist/abis.d.ts +167 -0
- package/actions/dist/abis.d.ts.map +1 -0
- package/actions/dist/abis.js +215 -0
- package/actions/dist/compile.d.ts +15 -8
- package/actions/dist/compile.d.ts.map +1 -1
- package/actions/dist/compile.js +11 -33
- package/actions/dist/compose.d.ts +46 -0
- package/actions/dist/compose.d.ts.map +1 -0
- package/actions/dist/compose.js +118 -0
- package/actions/dist/emit.d.ts +0 -35
- package/actions/dist/emit.d.ts.map +1 -1
- package/actions/dist/emit.js +15 -46
- package/actions/dist/index.d.ts +11 -8
- package/actions/dist/index.d.ts.map +1 -1
- package/actions/dist/index.js +6 -4
- package/actions/dist/program.d.ts +23 -0
- package/actions/dist/program.d.ts.map +1 -0
- package/actions/dist/program.js +358 -0
- package/actions/dist/registry.d.ts +37 -0
- package/actions/dist/registry.d.ts.map +1 -0
- package/actions/dist/registry.js +36 -0
- package/actions/dist/schema.d.ts +6 -0
- package/actions/dist/schema.d.ts.map +1 -0
- package/actions/dist/schema.js +166 -0
- package/actions/dist/semantics.d.ts +18 -0
- package/actions/dist/semantics.d.ts.map +1 -0
- package/actions/dist/semantics.js +164 -0
- package/actions/dist/spec.d.ts +97 -0
- package/actions/dist/spec.d.ts.map +1 -0
- package/actions/dist/spec.js +323 -0
- package/actions/dist/split-swap.d.ts +35 -0
- package/actions/dist/split-swap.d.ts.map +1 -0
- package/actions/dist/split-swap.js +175 -0
- package/actions/dist/to-quote.d.ts +32 -56
- package/actions/dist/to-quote.d.ts.map +1 -1
- package/actions/dist/to-quote.js +134 -141
- package/actions/dist/to-sauce.d.ts +48 -32
- package/actions/dist/to-sauce.d.ts.map +1 -1
- package/actions/dist/to-sauce.js +691 -753
- package/actions/dist/types.d.ts +227 -335
- package/actions/dist/types.d.ts.map +1 -1
- package/actions/dist/types.js +12 -3
- package/dev-tools/README.md +9 -9
- package/dev-tools/artifacts/ISauceRouter.json +1 -1
- package/dev-tools/artifacts/Router.json +1 -1
- package/dev-tools/scripts/start-fork.sh +1 -1
- package/dev-tools/scripts/start-local.sh +5 -1
- package/dev-tools/src/svm-local.ts +23 -13
- package/docs/README.md +45 -34
- package/docs/api/README.md +37 -29
- package/docs/api/compiler.md +116 -55
- package/docs/api/coverage.md +99 -48
- package/docs/api/routes.md +51 -22
- package/docs/concepts/architecture.md +83 -116
- package/docs/concepts/saucescript.md +27 -23
- package/docs/examples/README.md +18 -10
- package/docs/examples/action-program.ts +75 -0
- package/docs/examples/cross-chain-cascade.sauce.ts +21 -0
- package/docs/examples/cross-chain-cascade.ts +43 -0
- package/docs/examples/cross-chain-intent.sauce.ts +23 -0
- package/docs/examples/cross-chain-intent.ts +49 -0
- package/docs/examples/first-intent.ts +7 -10
- package/docs/examples/protocol-approval.ts +3 -7
- package/docs/guides/actions.md +395 -0
- package/docs/guides/builders-and-actions.md +31 -37
- package/docs/guides/compiling.md +97 -98
- package/docs/guides/intents.md +242 -24
- package/docs/guides/nested-intents.md +165 -5
- package/docs/guides/protocols-and-tokens.md +15 -7
- package/docs/guides/quick-start.md +51 -22
- package/docs/guides/solana.md +38 -40
- package/docs/guides/verification.md +70 -31
- package/package.json +7 -2
- package/sdk/dist/artifacts/ISauceRouter.json +1 -1
- package/sdk/dist/artifacts/Router.json +1 -1
- package/sdk/dist/artifacts/V12Deployments.json +23 -22
- package/sdk/dist/artifacts/V12EngineGate.json +2 -2
- package/sdk/dist/artifacts/V12Kitchen.json +1 -1
- package/sdk/dist/artifacts/V12Pot.json +1 -1
- package/sdk/dist/artifacts/V12RuntimeBytecode.json +1 -1
- package/sdk/dist/artifacts/svm/engine-devnet.so +0 -0
- package/sdk/dist/artifacts/svm/engine-mainnet.so +0 -0
- package/sdk/dist/bytes.d.ts +10 -0
- package/sdk/dist/bytes.d.ts.map +1 -0
- package/sdk/dist/bytes.js +31 -0
- package/sdk/dist/bytes.js.map +1 -0
- package/sdk/dist/chains/canonical.d.ts +7 -1
- package/sdk/dist/chains/canonical.d.ts.map +1 -1
- package/sdk/dist/chains/canonical.js +6 -2
- package/sdk/dist/chains/canonical.js.map +1 -1
- package/sdk/dist/chains/index.d.ts +16 -2
- package/sdk/dist/chains/index.d.ts.map +1 -1
- package/sdk/dist/chains/index.js +51 -34
- package/sdk/dist/chains/index.js.map +1 -1
- package/sdk/dist/compact-arguments.d.ts +4 -1
- package/sdk/dist/compact-arguments.d.ts.map +1 -1
- package/sdk/dist/compact-arguments.js +25 -4
- package/sdk/dist/compact-arguments.js.map +1 -1
- package/sdk/dist/compiler.d.ts +13 -1
- package/sdk/dist/compiler.d.ts.map +1 -1
- package/sdk/dist/compiler.js +5 -6
- package/sdk/dist/compiler.js.map +1 -1
- package/sdk/dist/core/types.d.ts +18 -2
- package/sdk/dist/core/types.d.ts.map +1 -1
- package/sdk/dist/deployments/pot.d.ts +39 -0
- package/sdk/dist/deployments/pot.d.ts.map +1 -0
- package/sdk/dist/deployments/pot.js +48 -0
- package/sdk/dist/deployments/pot.js.map +1 -0
- package/sdk/dist/deployments/v12-addresses.d.ts +1 -4
- package/sdk/dist/deployments/v12-addresses.d.ts.map +1 -1
- package/sdk/dist/deployments/v12-addresses.js +7 -21
- package/sdk/dist/deployments/v12-addresses.js.map +1 -1
- package/sdk/dist/deposit/index.d.ts +5 -5
- package/sdk/dist/deposit/index.d.ts.map +1 -1
- package/sdk/dist/deposit/index.js +1 -1
- package/sdk/dist/deposit/index.js.map +1 -1
- package/sdk/dist/deposit/params.d.ts +3 -2
- package/sdk/dist/deposit/params.d.ts.map +1 -1
- package/sdk/dist/deposit/params.js +40 -3
- package/sdk/dist/deposit/params.js.map +1 -1
- package/sdk/dist/deposit/source.d.ts +0 -19
- package/sdk/dist/deposit/source.d.ts.map +1 -1
- package/sdk/dist/deposit/source.js +17 -34
- package/sdk/dist/deposit/source.js.map +1 -1
- package/sdk/dist/descriptors/accessors.d.ts +2 -2
- package/sdk/dist/descriptors/accessors.d.ts.map +1 -1
- package/sdk/dist/descriptors/accessors.js +15 -4
- package/sdk/dist/descriptors/accessors.js.map +1 -1
- package/sdk/dist/descriptors/call.d.ts +8 -13
- package/sdk/dist/descriptors/call.d.ts.map +1 -1
- package/sdk/dist/descriptors/call.js +7 -19
- package/sdk/dist/descriptors/call.js.map +1 -1
- package/sdk/dist/descriptors/derive.d.ts +1 -1
- package/sdk/dist/descriptors/derive.d.ts.map +1 -1
- package/sdk/dist/descriptors/derive.js +1 -1
- package/sdk/dist/descriptors/derive.js.map +1 -1
- package/sdk/dist/descriptors/index.d.ts +1 -1
- package/sdk/dist/descriptors/index.d.ts.map +1 -1
- package/sdk/dist/descriptors/index.js +1 -1
- package/sdk/dist/descriptors/index.js.map +1 -1
- package/sdk/dist/descriptors/links.d.ts +3 -12
- package/sdk/dist/descriptors/links.d.ts.map +1 -1
- package/sdk/dist/descriptors/links.js +2 -32
- package/sdk/dist/descriptors/links.js.map +1 -1
- package/sdk/dist/descriptors/query.d.ts +7 -3
- package/sdk/dist/descriptors/query.d.ts.map +1 -1
- package/sdk/dist/descriptors/query.js +9 -5
- package/sdk/dist/descriptors/query.js.map +1 -1
- package/sdk/dist/descriptors/registry.d.ts.map +1 -1
- package/sdk/dist/descriptors/registry.js +1 -0
- package/sdk/dist/descriptors/registry.js.map +1 -1
- package/sdk/dist/embedded/recipes.d.ts +3 -0
- package/sdk/dist/embedded/recipes.d.ts.map +1 -0
- package/sdk/dist/embedded/recipes.js +15 -0
- package/sdk/dist/embedded/recipes.js.map +1 -0
- package/sdk/dist/embedded/resolve.d.ts +27 -0
- package/sdk/dist/embedded/resolve.d.ts.map +1 -0
- package/sdk/dist/embedded/resolve.js +99 -0
- package/sdk/dist/embedded/resolve.js.map +1 -0
- package/sdk/dist/embedded/skills.generated.d.ts +3 -0
- package/sdk/dist/embedded/skills.generated.d.ts.map +1 -0
- package/sdk/dist/embedded/skills.generated.js +141 -0
- package/sdk/dist/embedded/skills.generated.js.map +1 -0
- package/sdk/dist/embedded/sources.generated.d.ts +7 -0
- package/sdk/dist/embedded/sources.generated.d.ts.map +1 -0
- package/sdk/dist/embedded/sources.generated.js +231 -0
- package/sdk/dist/embedded/sources.generated.js.map +1 -0
- package/sdk/dist/evm/execution-fee.d.ts +30 -0
- package/sdk/dist/evm/execution-fee.d.ts.map +1 -0
- package/sdk/dist/evm/execution-fee.js +33 -0
- package/sdk/dist/evm/execution-fee.js.map +1 -0
- package/sdk/dist/index.d.ts +7 -2
- package/sdk/dist/index.d.ts.map +1 -1
- package/sdk/dist/index.js +16 -10
- package/sdk/dist/index.js.map +1 -1
- package/sdk/dist/plugin/index.d.ts +1 -1
- package/sdk/dist/plugin/index.d.ts.map +1 -1
- package/sdk/dist/plugin/index.js +5 -22
- package/sdk/dist/plugin/index.js.map +1 -1
- package/sdk/dist/protocols/aave-v4/abis.d.ts +201 -0
- package/sdk/dist/protocols/aave-v4/abis.d.ts.map +1 -0
- package/sdk/dist/protocols/aave-v4/abis.js +139 -0
- package/sdk/dist/protocols/aave-v4/abis.js.map +1 -0
- package/sdk/dist/protocols/aave-v4/addresses.d.ts +3 -0
- package/sdk/dist/protocols/aave-v4/addresses.d.ts.map +1 -0
- package/sdk/dist/protocols/aave-v4/addresses.js +65 -0
- package/sdk/dist/protocols/aave-v4/addresses.js.map +1 -0
- package/sdk/dist/protocols/aave-v4/functions.d.ts +5 -0
- package/sdk/dist/protocols/aave-v4/functions.d.ts.map +1 -0
- package/sdk/dist/protocols/aave-v4/functions.js +37 -0
- package/sdk/dist/protocols/aave-v4/functions.js.map +1 -0
- package/sdk/dist/protocols/aave-v4/index.d.ts +5 -0
- package/sdk/dist/protocols/aave-v4/index.d.ts.map +1 -0
- package/sdk/dist/protocols/aave-v4/index.js +5 -0
- package/sdk/dist/protocols/aave-v4/index.js.map +1 -0
- package/sdk/dist/protocols/aave-v4/info.d.ts +3 -0
- package/sdk/dist/protocols/aave-v4/info.d.ts.map +1 -0
- package/sdk/dist/protocols/aave-v4/info.js +12 -0
- package/sdk/dist/protocols/aave-v4/info.js.map +1 -0
- package/sdk/dist/protocols/across/abis.d.ts +24 -12
- package/sdk/dist/protocols/across/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/across/abis.js +16 -8
- package/sdk/dist/protocols/across/abis.js.map +1 -1
- package/sdk/dist/protocols/across/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/across/addresses.js +10 -0
- package/sdk/dist/protocols/across/addresses.js.map +1 -1
- package/sdk/dist/protocols/across/functions.d.ts +1 -1
- package/sdk/dist/protocols/across/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/across/functions.js +2 -2
- package/sdk/dist/protocols/aerodrome-slipstream/abis.d.ts +112 -0
- package/sdk/dist/protocols/aerodrome-slipstream/abis.d.ts.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/abis.js +73 -0
- package/sdk/dist/protocols/aerodrome-slipstream/abis.js.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/addresses.d.ts +3 -0
- package/sdk/dist/protocols/aerodrome-slipstream/addresses.d.ts.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/addresses.js +39 -0
- package/sdk/dist/protocols/aerodrome-slipstream/addresses.js.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/functions.d.ts +2 -0
- package/sdk/dist/protocols/aerodrome-slipstream/functions.d.ts.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/functions.js +9 -0
- package/sdk/dist/protocols/aerodrome-slipstream/functions.js.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/index.d.ts +5 -0
- package/sdk/dist/protocols/aerodrome-slipstream/index.d.ts.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/index.js +5 -0
- package/sdk/dist/protocols/aerodrome-slipstream/index.js.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/info.d.ts +3 -0
- package/sdk/dist/protocols/aerodrome-slipstream/info.d.ts.map +1 -0
- package/sdk/dist/protocols/aerodrome-slipstream/info.js +12 -0
- package/sdk/dist/protocols/aerodrome-slipstream/info.js.map +1 -0
- package/sdk/dist/protocols/aevo/abis.d.ts +17 -2
- package/sdk/dist/protocols/aevo/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/aevo/abis.js +10 -2
- package/sdk/dist/protocols/aevo/abis.js.map +1 -1
- package/sdk/dist/protocols/aevo/functions.d.ts +1 -1
- package/sdk/dist/protocols/aevo/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/aevo/functions.js +2 -2
- package/sdk/dist/protocols/alchemix/abis.d.ts +1 -1
- package/sdk/dist/protocols/alchemix/abis.js +1 -1
- package/sdk/dist/protocols/alchemix/abis.js.map +1 -1
- package/sdk/dist/protocols/ambient/abis.d.ts +2 -2
- package/sdk/dist/protocols/ambient/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/ambient/abis.js +3 -2
- package/sdk/dist/protocols/ambient/abis.js.map +1 -1
- package/sdk/dist/protocols/ambient/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/ambient/addresses.js +2 -1
- package/sdk/dist/protocols/ambient/addresses.js.map +1 -1
- package/sdk/dist/protocols/arrakis/abis.d.ts +4 -13
- package/sdk/dist/protocols/arrakis/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/arrakis/abis.js +2 -11
- package/sdk/dist/protocols/arrakis/abis.js.map +1 -1
- package/sdk/dist/protocols/arrakis/functions.d.ts +1 -1
- package/sdk/dist/protocols/arrakis/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/arrakis/functions.js +2 -1
- package/sdk/dist/protocols/arrakis/functions.js.map +1 -1
- package/sdk/dist/protocols/axelar/abis.d.ts +1 -1
- package/sdk/dist/protocols/axelar/abis.js +1 -1
- package/sdk/dist/protocols/balancer-v2/abis.d.ts +7 -7
- package/sdk/dist/protocols/balancer-v2/abis.js +7 -7
- package/sdk/dist/protocols/balancer-v2/abis.js.map +1 -1
- package/sdk/dist/protocols/cbeth/abis.d.ts +7 -1
- package/sdk/dist/protocols/cbeth/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/cbeth/abis.js +6 -2
- package/sdk/dist/protocols/cbeth/abis.js.map +1 -1
- package/sdk/dist/protocols/cctp/abis.d.ts +1 -4
- package/sdk/dist/protocols/cctp/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/cctp/abis.js +3 -1
- package/sdk/dist/protocols/cctp/abis.js.map +1 -1
- package/sdk/dist/protocols/cctp/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/cctp/addresses.js +3 -0
- package/sdk/dist/protocols/cctp/addresses.js.map +1 -1
- package/sdk/dist/protocols/chainlink/abis.d.ts +6 -6
- package/sdk/dist/protocols/chainlink/abis.js +6 -6
- package/sdk/dist/protocols/chainlink/abis.js.map +1 -1
- package/sdk/dist/protocols/chainlink/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/chainlink/addresses.js +10 -0
- package/sdk/dist/protocols/chainlink/addresses.js.map +1 -1
- package/sdk/dist/protocols/chainlink-ccip/abis.d.ts +1 -1
- package/sdk/dist/protocols/chainlink-ccip/abis.js +1 -1
- package/sdk/dist/protocols/chainlink-ccip/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/chainlink-ccip/addresses.js +9 -0
- package/sdk/dist/protocols/chainlink-ccip/addresses.js.map +1 -1
- package/sdk/dist/protocols/circle-gateway/abis.d.ts +114 -0
- package/sdk/dist/protocols/circle-gateway/abis.d.ts.map +1 -0
- package/sdk/dist/protocols/circle-gateway/abis.js +86 -0
- package/sdk/dist/protocols/circle-gateway/abis.js.map +1 -0
- package/sdk/dist/protocols/circle-gateway/addresses.d.ts +3 -0
- package/sdk/dist/protocols/circle-gateway/addresses.d.ts.map +1 -0
- package/sdk/dist/protocols/circle-gateway/addresses.js +37 -0
- package/sdk/dist/protocols/circle-gateway/addresses.js.map +1 -0
- package/sdk/dist/protocols/circle-gateway/functions.d.ts +4 -0
- package/sdk/dist/protocols/circle-gateway/functions.d.ts.map +1 -0
- package/sdk/dist/protocols/circle-gateway/functions.js +27 -0
- package/sdk/dist/protocols/circle-gateway/functions.js.map +1 -0
- package/sdk/dist/protocols/circle-gateway/index.d.ts +5 -0
- package/sdk/dist/protocols/circle-gateway/index.d.ts.map +1 -0
- package/sdk/dist/protocols/circle-gateway/index.js +5 -0
- package/sdk/dist/protocols/circle-gateway/index.js.map +1 -0
- package/sdk/dist/protocols/circle-gateway/info.d.ts +3 -0
- package/sdk/dist/protocols/circle-gateway/info.d.ts.map +1 -0
- package/sdk/dist/protocols/circle-gateway/info.js +12 -0
- package/sdk/dist/protocols/circle-gateway/info.js.map +1 -0
- package/sdk/dist/protocols/compound-v2/abis.d.ts +2 -2
- package/sdk/dist/protocols/compound-v2/abis.js +2 -2
- package/sdk/dist/protocols/compound-v2/abis.js.map +1 -1
- package/sdk/dist/protocols/connext/abis.d.ts +46 -6
- package/sdk/dist/protocols/connext/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/connext/abis.js +27 -5
- package/sdk/dist/protocols/connext/abis.js.map +1 -1
- package/sdk/dist/protocols/connext/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/connext/addresses.js +1 -7
- package/sdk/dist/protocols/connext/addresses.js.map +1 -1
- package/sdk/dist/protocols/connext/functions.d.ts +1 -1
- package/sdk/dist/protocols/connext/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/connext/functions.js +3 -2
- package/sdk/dist/protocols/connext/functions.js.map +1 -1
- package/sdk/dist/protocols/curve/abis.d.ts +119 -7
- package/sdk/dist/protocols/curve/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/curve/abis.js +90 -7
- package/sdk/dist/protocols/curve/abis.js.map +1 -1
- package/sdk/dist/protocols/debridge/abis.d.ts +7 -7
- package/sdk/dist/protocols/debridge/abis.js +5 -5
- package/sdk/dist/protocols/debridge/abis.js.map +1 -1
- package/sdk/dist/protocols/debridge/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/debridge/addresses.js +11 -0
- package/sdk/dist/protocols/debridge/addresses.js.map +1 -1
- package/sdk/dist/protocols/eco-routes/abis.d.ts +463 -0
- package/sdk/dist/protocols/eco-routes/abis.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/abis.js +632 -0
- package/sdk/dist/protocols/eco-routes/abis.js.map +1 -0
- package/sdk/dist/protocols/eco-routes/addresses.d.ts +9 -0
- package/sdk/dist/protocols/eco-routes/addresses.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/addresses.generated.d.ts +585 -0
- package/sdk/dist/protocols/eco-routes/addresses.generated.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/addresses.generated.js +590 -0
- package/sdk/dist/protocols/eco-routes/addresses.generated.js.map +1 -0
- package/sdk/dist/protocols/eco-routes/addresses.js +21 -0
- package/sdk/dist/protocols/eco-routes/addresses.js.map +1 -0
- package/sdk/dist/protocols/eco-routes/functions.d.ts +12 -0
- package/sdk/dist/protocols/eco-routes/functions.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/functions.js +45 -0
- package/sdk/dist/protocols/eco-routes/functions.js.map +1 -0
- package/sdk/dist/protocols/eco-routes/index.d.ts +6 -0
- package/sdk/dist/protocols/eco-routes/index.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/index.js +6 -0
- package/sdk/dist/protocols/eco-routes/index.js.map +1 -0
- package/sdk/dist/protocols/eco-routes/info.d.ts +3 -0
- package/sdk/dist/protocols/eco-routes/info.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/info.js +12 -0
- package/sdk/dist/protocols/eco-routes/info.js.map +1 -0
- package/sdk/dist/protocols/eco-routes/lookup.d.ts +82 -0
- package/sdk/dist/protocols/eco-routes/lookup.d.ts.map +1 -0
- package/sdk/dist/protocols/eco-routes/lookup.js +148 -0
- package/sdk/dist/protocols/eco-routes/lookup.js.map +1 -0
- package/sdk/dist/protocols/eigenlayer/abis.d.ts +4 -4
- package/sdk/dist/protocols/eigenlayer/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/eigenlayer/abis.js +5 -4
- package/sdk/dist/protocols/eigenlayer/abis.js.map +1 -1
- package/sdk/dist/protocols/ens/abis.d.ts +4 -4
- package/sdk/dist/protocols/ens/abis.js +4 -4
- package/sdk/dist/protocols/etherfi/abis.d.ts +1 -1
- package/sdk/dist/protocols/etherfi/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/etherfi/abis.js +2 -1
- package/sdk/dist/protocols/etherfi/abis.js.map +1 -1
- package/sdk/dist/protocols/euler-v2/abis.d.ts +2 -2
- package/sdk/dist/protocols/euler-v2/abis.js +2 -2
- package/sdk/dist/protocols/euler-v2/abis.js.map +1 -1
- package/sdk/dist/protocols/fluid/abis.d.ts +47 -26
- package/sdk/dist/protocols/fluid/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/fluid/abis.js +39 -18
- package/sdk/dist/protocols/fluid/abis.js.map +1 -1
- package/sdk/dist/protocols/fluid/functions.d.ts +4 -4
- package/sdk/dist/protocols/fluid/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/fluid/functions.js +18 -16
- package/sdk/dist/protocols/fluid/functions.js.map +1 -1
- package/sdk/dist/protocols/gains-network/abis.d.ts +44 -35
- package/sdk/dist/protocols/gains-network/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/gains-network/abis.js +26 -21
- package/sdk/dist/protocols/gains-network/abis.js.map +1 -1
- package/sdk/dist/protocols/gains-network/functions.d.ts +3 -3
- package/sdk/dist/protocols/gains-network/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/gains-network/functions.js +6 -6
- package/sdk/dist/protocols/gamma/abis.d.ts +43 -0
- package/sdk/dist/protocols/gamma/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/gamma/abis.js +30 -0
- package/sdk/dist/protocols/gamma/abis.js.map +1 -1
- package/sdk/dist/protocols/gamma/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/gamma/addresses.js +2 -7
- package/sdk/dist/protocols/gamma/addresses.js.map +1 -1
- package/sdk/dist/protocols/gamma/functions.d.ts +1 -0
- package/sdk/dist/protocols/gamma/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/gamma/functions.js +9 -0
- package/sdk/dist/protocols/gamma/functions.js.map +1 -1
- package/sdk/dist/protocols/gelato/abis.d.ts +2 -2
- package/sdk/dist/protocols/gelato/abis.js +2 -2
- package/sdk/dist/protocols/gmx-v1/abis.d.ts +15 -3
- package/sdk/dist/protocols/gmx-v1/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/gmx-v1/abis.js +5 -3
- package/sdk/dist/protocols/gmx-v1/abis.js.map +1 -1
- package/sdk/dist/protocols/gmx-v1/functions.d.ts +2 -2
- package/sdk/dist/protocols/gmx-v1/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/gmx-v1/functions.js +2 -2
- package/sdk/dist/protocols/gmx-v2/abis.d.ts +11 -5
- package/sdk/dist/protocols/gmx-v2/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/gmx-v2/abis.js +7 -4
- package/sdk/dist/protocols/gmx-v2/abis.js.map +1 -1
- package/sdk/dist/protocols/gmx-v2/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/gmx-v2/addresses.js +3 -1
- package/sdk/dist/protocols/gmx-v2/addresses.js.map +1 -1
- package/sdk/dist/protocols/gmx-v2/functions.d.ts +1 -1
- package/sdk/dist/protocols/gmx-v2/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/gmx-v2/functions.js +4 -2
- package/sdk/dist/protocols/gmx-v2/functions.js.map +1 -1
- package/sdk/dist/protocols/harvest/abis.d.ts +8 -2
- package/sdk/dist/protocols/harvest/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/harvest/abis.js +2 -2
- package/sdk/dist/protocols/harvest/abis.js.map +1 -1
- package/sdk/dist/protocols/hegic/abis.d.ts +5 -2
- package/sdk/dist/protocols/hegic/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/hegic/abis.js +7 -2
- package/sdk/dist/protocols/hegic/abis.js.map +1 -1
- package/sdk/dist/protocols/hegic/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/hegic/addresses.js +1 -0
- package/sdk/dist/protocols/hegic/addresses.js.map +1 -1
- package/sdk/dist/protocols/hegic/functions.d.ts +1 -1
- package/sdk/dist/protocols/hegic/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/hegic/functions.js +3 -3
- package/sdk/dist/protocols/hop/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/hop/addresses.js +5 -2
- package/sdk/dist/protocols/hop/addresses.js.map +1 -1
- package/sdk/dist/protocols/hyperlane/abis.d.ts +5 -5
- package/sdk/dist/protocols/hyperlane/abis.js +5 -5
- package/sdk/dist/protocols/hyperlane/abis.js.map +1 -1
- package/sdk/dist/protocols/hyperlane/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/hyperlane/addresses.js +9 -0
- package/sdk/dist/protocols/hyperlane/addresses.js.map +1 -1
- package/sdk/dist/protocols/index.d.ts +1 -0
- package/sdk/dist/protocols/index.d.ts.map +1 -1
- package/sdk/dist/protocols/index.js +13 -0
- package/sdk/dist/protocols/index.js.map +1 -1
- package/sdk/dist/protocols/kim/abis.d.ts +7 -20
- package/sdk/dist/protocols/kim/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/kim/abis.js +6 -12
- package/sdk/dist/protocols/kim/abis.js.map +1 -1
- package/sdk/dist/protocols/kim/functions.d.ts +1 -1
- package/sdk/dist/protocols/kim/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/kim/functions.js +3 -2
- package/sdk/dist/protocols/kim/functions.js.map +1 -1
- package/sdk/dist/protocols/kyberswap/abis.d.ts +41 -16
- package/sdk/dist/protocols/kyberswap/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/kyberswap/abis.js +21 -8
- package/sdk/dist/protocols/kyberswap/abis.js.map +1 -1
- package/sdk/dist/protocols/kyberswap/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/kyberswap/addresses.js +12 -2
- package/sdk/dist/protocols/kyberswap/addresses.js.map +1 -1
- package/sdk/dist/protocols/kyberswap-aggregator/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/kyberswap-aggregator/addresses.js +12 -1
- package/sdk/dist/protocols/kyberswap-aggregator/addresses.js.map +1 -1
- package/sdk/dist/protocols/layerbank/abis.d.ts +81 -24
- package/sdk/dist/protocols/layerbank/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/layerbank/abis.js +69 -17
- package/sdk/dist/protocols/layerbank/abis.js.map +1 -1
- package/sdk/dist/protocols/layerbank/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/layerbank/addresses.js +3 -1
- package/sdk/dist/protocols/layerbank/addresses.js.map +1 -1
- package/sdk/dist/protocols/layerbank/functions.d.ts +4 -4
- package/sdk/dist/protocols/layerbank/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/layerbank/functions.js +18 -16
- package/sdk/dist/protocols/layerbank/functions.js.map +1 -1
- package/sdk/dist/protocols/layerzero/abis.d.ts +3 -3
- package/sdk/dist/protocols/layerzero/abis.js +3 -3
- package/sdk/dist/protocols/layerzero/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/layerzero/addresses.js +11 -1
- package/sdk/dist/protocols/layerzero/addresses.js.map +1 -1
- package/sdk/dist/protocols/level-finance/abis.d.ts +6 -0
- package/sdk/dist/protocols/level-finance/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/level-finance/abis.js +2 -0
- package/sdk/dist/protocols/level-finance/abis.js.map +1 -1
- package/sdk/dist/protocols/level-finance/functions.d.ts +2 -2
- package/sdk/dist/protocols/level-finance/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/level-finance/functions.js +4 -4
- package/sdk/dist/protocols/lifi/abis.d.ts +41 -4
- package/sdk/dist/protocols/lifi/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/lifi/abis.js +24 -4
- package/sdk/dist/protocols/lifi/abis.js.map +1 -1
- package/sdk/dist/protocols/lifi/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/lifi/addresses.js +9 -0
- package/sdk/dist/protocols/lifi/addresses.js.map +1 -1
- package/sdk/dist/protocols/lifi/functions.d.ts +1 -1
- package/sdk/dist/protocols/lifi/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/lifi/functions.js +5 -2
- package/sdk/dist/protocols/lifi/functions.js.map +1 -1
- package/sdk/dist/protocols/liquity-v1/abis.d.ts +6 -0
- package/sdk/dist/protocols/liquity-v1/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/liquity-v1/abis.js +7 -1
- package/sdk/dist/protocols/liquity-v1/abis.js.map +1 -1
- package/sdk/dist/protocols/liquity-v1/functions.d.ts +1 -1
- package/sdk/dist/protocols/liquity-v1/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/liquity-v1/functions.js +1 -1
- package/sdk/dist/protocols/mantle-meth/abis.d.ts +26 -25
- package/sdk/dist/protocols/mantle-meth/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/mantle-meth/abis.js +22 -17
- package/sdk/dist/protocols/mantle-meth/abis.js.map +1 -1
- package/sdk/dist/protocols/mantle-meth/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/mantle-meth/addresses.js +3 -0
- package/sdk/dist/protocols/mantle-meth/addresses.js.map +1 -1
- package/sdk/dist/protocols/mantle-meth/functions.d.ts +1 -1
- package/sdk/dist/protocols/mantle-meth/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/mantle-meth/functions.js +4 -4
- package/sdk/dist/protocols/maverick/abis.d.ts +9 -0
- package/sdk/dist/protocols/maverick/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/maverick/abis.js +7 -1
- package/sdk/dist/protocols/maverick/abis.js.map +1 -1
- package/sdk/dist/protocols/morpho-blue/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/morpho-blue/addresses.js +10 -0
- package/sdk/dist/protocols/morpho-blue/addresses.js.map +1 -1
- package/sdk/dist/protocols/mux-protocol/abis.d.ts +87 -32
- package/sdk/dist/protocols/mux-protocol/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/mux-protocol/abis.js +54 -21
- package/sdk/dist/protocols/mux-protocol/abis.js.map +1 -1
- package/sdk/dist/protocols/mux-protocol/functions.d.ts +2 -2
- package/sdk/dist/protocols/mux-protocol/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/mux-protocol/functions.js +8 -8
- package/sdk/dist/protocols/olympus/abis.d.ts +5 -2
- package/sdk/dist/protocols/olympus/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/olympus/abis.js +2 -2
- package/sdk/dist/protocols/olympus/abis.js.map +1 -1
- package/sdk/dist/protocols/oneinch/abis.d.ts +5 -5
- package/sdk/dist/protocols/oneinch/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/oneinch/abis.js +5 -3
- package/sdk/dist/protocols/oneinch/abis.js.map +1 -1
- package/sdk/dist/protocols/oneinch/functions.d.ts +1 -1
- package/sdk/dist/protocols/oneinch/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/oneinch/functions.js +2 -2
- package/sdk/dist/protocols/openocean/abis.d.ts +14 -1
- package/sdk/dist/protocols/openocean/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/openocean/abis.js +11 -1
- package/sdk/dist/protocols/openocean/abis.js.map +1 -1
- package/sdk/dist/protocols/openocean/functions.d.ts +1 -1
- package/sdk/dist/protocols/openocean/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/openocean/functions.js +1 -1
- package/sdk/dist/protocols/opyn/abis.d.ts +4 -1
- package/sdk/dist/protocols/opyn/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/opyn/abis.js +1 -1
- package/sdk/dist/protocols/opyn/abis.js.map +1 -1
- package/sdk/dist/protocols/pancakeswap-v3/abis.d.ts +6 -6
- package/sdk/dist/protocols/pancakeswap-v3/abis.js +6 -6
- package/sdk/dist/protocols/pancakeswap-v3/abis.js.map +1 -1
- package/sdk/dist/protocols/paraswap/abis.d.ts +1 -1
- package/sdk/dist/protocols/paraswap/abis.js +1 -1
- package/sdk/dist/protocols/pendle/abis.d.ts +288 -6
- package/sdk/dist/protocols/pendle/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/pendle/abis.js +160 -6
- package/sdk/dist/protocols/pendle/abis.js.map +1 -1
- package/sdk/dist/protocols/permit2/abis.d.ts +1 -1
- package/sdk/dist/protocols/permit2/abis.js +1 -1
- package/sdk/dist/protocols/permit2/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/permit2/addresses.js +9 -0
- package/sdk/dist/protocols/permit2/addresses.js.map +1 -1
- package/sdk/dist/protocols/perpetual-protocol/abis.d.ts +46 -38
- package/sdk/dist/protocols/perpetual-protocol/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/perpetual-protocol/abis.js +27 -14
- package/sdk/dist/protocols/perpetual-protocol/abis.js.map +1 -1
- package/sdk/dist/protocols/premia/abis.d.ts +18 -17
- package/sdk/dist/protocols/premia/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/premia/abis.js +20 -10
- package/sdk/dist/protocols/premia/abis.js.map +1 -1
- package/sdk/dist/protocols/premia/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/premia/addresses.js +3 -8
- package/sdk/dist/protocols/premia/addresses.js.map +1 -1
- package/sdk/dist/protocols/premia/functions.d.ts +2 -2
- package/sdk/dist/protocols/premia/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/premia/functions.js +8 -8
- package/sdk/dist/protocols/pyth/abis.d.ts +3 -3
- package/sdk/dist/protocols/pyth/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/pyth/abis.js +6 -3
- package/sdk/dist/protocols/pyth/abis.js.map +1 -1
- package/sdk/dist/protocols/reflexer/abis.d.ts +8 -5
- package/sdk/dist/protocols/reflexer/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/reflexer/abis.js +10 -6
- package/sdk/dist/protocols/reflexer/abis.js.map +1 -1
- package/sdk/dist/protocols/renzo/abis.d.ts +1 -1
- package/sdk/dist/protocols/renzo/abis.js +1 -1
- package/sdk/dist/protocols/renzo/abis.js.map +1 -1
- package/sdk/dist/protocols/sablier/abis.d.ts +2 -2
- package/sdk/dist/protocols/sablier/abis.js +2 -2
- package/sdk/dist/protocols/safe/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/safe/addresses.js +10 -0
- package/sdk/dist/protocols/safe/addresses.js.map +1 -1
- package/sdk/dist/protocols/seaport/abis.d.ts +65 -5
- package/sdk/dist/protocols/seaport/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/seaport/abis.js +41 -5
- package/sdk/dist/protocols/seaport/abis.js.map +1 -1
- package/sdk/dist/protocols/seaport/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/seaport/addresses.js +10 -0
- package/sdk/dist/protocols/seaport/addresses.js.map +1 -1
- package/sdk/dist/protocols/seaport/functions.d.ts +1 -1
- package/sdk/dist/protocols/seaport/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/seaport/functions.js +1 -0
- package/sdk/dist/protocols/seaport/functions.js.map +1 -1
- package/sdk/dist/protocols/silo/abis.d.ts +3 -0
- package/sdk/dist/protocols/silo/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/silo/abis.js +4 -1
- package/sdk/dist/protocols/silo/abis.js.map +1 -1
- package/sdk/dist/protocols/silo/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/silo/addresses.js +2 -1
- package/sdk/dist/protocols/silo/addresses.js.map +1 -1
- package/sdk/dist/protocols/silo/functions.d.ts +1 -1
- package/sdk/dist/protocols/silo/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/silo/functions.js +2 -1
- package/sdk/dist/protocols/silo/functions.js.map +1 -1
- package/sdk/dist/protocols/socket/abis.d.ts +1 -13
- package/sdk/dist/protocols/socket/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/socket/abis.js +3 -11
- package/sdk/dist/protocols/socket/abis.js.map +1 -1
- package/sdk/dist/protocols/socket/functions.d.ts +1 -1
- package/sdk/dist/protocols/socket/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/socket/functions.js +1 -1
- package/sdk/dist/protocols/spookyswap/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/spookyswap/addresses.js +2 -1
- package/sdk/dist/protocols/spookyswap/addresses.js.map +1 -1
- package/sdk/dist/protocols/squid/abis.d.ts +33 -21
- package/sdk/dist/protocols/squid/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/squid/abis.js +19 -13
- package/sdk/dist/protocols/squid/abis.js.map +1 -1
- package/sdk/dist/protocols/squid/functions.d.ts +1 -1
- package/sdk/dist/protocols/squid/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/squid/functions.js +2 -2
- package/sdk/dist/protocols/stargate/abis.d.ts +23 -3
- package/sdk/dist/protocols/stargate/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/stargate/abis.js +19 -3
- package/sdk/dist/protocols/stargate/abis.js.map +1 -1
- package/sdk/dist/protocols/superfluid/abis.d.ts +2 -2
- package/sdk/dist/protocols/superfluid/abis.js +2 -2
- package/sdk/dist/protocols/superfluid/abis.js.map +1 -1
- package/sdk/dist/protocols/sushiswap-v2/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/sushiswap-v2/addresses.js +2 -1
- package/sdk/dist/protocols/sushiswap-v2/addresses.js.map +1 -1
- package/sdk/dist/protocols/swell/abis.d.ts +2 -8
- package/sdk/dist/protocols/swell/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/swell/abis.js +4 -2
- package/sdk/dist/protocols/swell/abis.js.map +1 -1
- package/sdk/dist/protocols/swell/functions.d.ts +2 -2
- package/sdk/dist/protocols/swell/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/swell/functions.js +4 -2
- package/sdk/dist/protocols/swell/functions.js.map +1 -1
- package/sdk/dist/protocols/synapse/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/synapse/addresses.js +2 -1
- package/sdk/dist/protocols/synapse/addresses.js.map +1 -1
- package/sdk/dist/protocols/synthetix-v3/abis.d.ts +40 -5
- package/sdk/dist/protocols/synthetix-v3/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/synthetix-v3/abis.js +27 -5
- package/sdk/dist/protocols/synthetix-v3/abis.js.map +1 -1
- package/sdk/dist/protocols/synthetix-v3/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/synthetix-v3/addresses.js +2 -1
- package/sdk/dist/protocols/synthetix-v3/addresses.js.map +1 -1
- package/sdk/dist/protocols/synthra-v3/abis.d.ts +347 -0
- package/sdk/dist/protocols/synthra-v3/abis.d.ts.map +1 -0
- package/sdk/dist/protocols/synthra-v3/abis.js +242 -0
- package/sdk/dist/protocols/synthra-v3/abis.js.map +1 -0
- package/sdk/dist/protocols/synthra-v3/addresses.d.ts +3 -0
- package/sdk/dist/protocols/synthra-v3/addresses.d.ts.map +1 -0
- package/sdk/dist/protocols/synthra-v3/addresses.js +16 -0
- package/sdk/dist/protocols/synthra-v3/addresses.js.map +1 -0
- package/sdk/dist/protocols/synthra-v3/functions.d.ts +2 -0
- package/sdk/dist/protocols/synthra-v3/functions.d.ts.map +1 -0
- package/sdk/dist/protocols/synthra-v3/functions.js +9 -0
- package/sdk/dist/protocols/synthra-v3/functions.js.map +1 -0
- package/sdk/dist/protocols/synthra-v3/index.d.ts +5 -0
- package/sdk/dist/protocols/synthra-v3/index.d.ts.map +1 -0
- package/sdk/dist/protocols/synthra-v3/index.js +5 -0
- package/sdk/dist/protocols/synthra-v3/index.js.map +1 -0
- package/sdk/dist/protocols/synthra-v3/info.d.ts +3 -0
- package/sdk/dist/protocols/synthra-v3/info.d.ts.map +1 -0
- package/sdk/dist/protocols/synthra-v3/info.js +11 -0
- package/sdk/dist/protocols/synthra-v3/info.js.map +1 -0
- package/sdk/dist/protocols/thales/abis.d.ts +53 -24
- package/sdk/dist/protocols/thales/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/thales/abis.js +27 -11
- package/sdk/dist/protocols/thales/abis.js.map +1 -1
- package/sdk/dist/protocols/thales/functions.d.ts +2 -2
- package/sdk/dist/protocols/thales/functions.d.ts.map +1 -1
- package/sdk/dist/protocols/thales/functions.js +5 -6
- package/sdk/dist/protocols/thales/functions.js.map +1 -1
- package/sdk/dist/protocols/thruster/abis.d.ts +1 -1
- package/sdk/dist/protocols/thruster/abis.js +1 -1
- package/sdk/dist/protocols/trader-joe/abis.d.ts +3 -3
- package/sdk/dist/protocols/trader-joe/abis.js +2 -2
- package/sdk/dist/protocols/trader-joe/abis.js.map +1 -1
- package/sdk/dist/protocols/uniswap-v2/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/uniswap-v2/addresses.js +10 -0
- package/sdk/dist/protocols/uniswap-v2/addresses.js.map +1 -1
- package/sdk/dist/protocols/uniswap-v3/abis.d.ts +127 -8
- package/sdk/dist/protocols/uniswap-v3/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/uniswap-v3/abis.js +90 -8
- package/sdk/dist/protocols/uniswap-v3/abis.js.map +1 -1
- package/sdk/dist/protocols/uniswap-v3/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/uniswap-v3/addresses.js +14 -0
- package/sdk/dist/protocols/uniswap-v3/addresses.js.map +1 -1
- package/sdk/dist/protocols/uniswap-v4/abis.d.ts +27 -15
- package/sdk/dist/protocols/uniswap-v4/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/uniswap-v4/abis.js +25 -15
- package/sdk/dist/protocols/uniswap-v4/abis.js.map +1 -1
- package/sdk/dist/protocols/uniswap-v4/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/uniswap-v4/addresses.js +11 -0
- package/sdk/dist/protocols/uniswap-v4/addresses.js.map +1 -1
- package/sdk/dist/protocols/unitflow-v3/abis.d.ts +104 -0
- package/sdk/dist/protocols/unitflow-v3/abis.d.ts.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/abis.js +70 -0
- package/sdk/dist/protocols/unitflow-v3/abis.js.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/addresses.d.ts +3 -0
- package/sdk/dist/protocols/unitflow-v3/addresses.d.ts.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/addresses.js +19 -0
- package/sdk/dist/protocols/unitflow-v3/addresses.js.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/functions.d.ts +2 -0
- package/sdk/dist/protocols/unitflow-v3/functions.d.ts.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/functions.js +9 -0
- package/sdk/dist/protocols/unitflow-v3/functions.js.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/index.d.ts +5 -0
- package/sdk/dist/protocols/unitflow-v3/index.d.ts.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/index.js +5 -0
- package/sdk/dist/protocols/unitflow-v3/index.js.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/info.d.ts +3 -0
- package/sdk/dist/protocols/unitflow-v3/info.d.ts.map +1 -0
- package/sdk/dist/protocols/unitflow-v3/info.js +12 -0
- package/sdk/dist/protocols/unitflow-v3/info.js.map +1 -0
- package/sdk/dist/protocols/velodrome/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/velodrome/addresses.js +3 -1
- package/sdk/dist/protocols/velodrome/addresses.js.map +1 -1
- package/sdk/dist/protocols/venus/abis.d.ts +62 -1
- package/sdk/dist/protocols/venus/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/venus/abis.js +48 -1
- package/sdk/dist/protocols/venus/abis.js.map +1 -1
- package/sdk/dist/protocols/vertex/abis.d.ts +16 -9
- package/sdk/dist/protocols/vertex/abis.d.ts.map +1 -1
- package/sdk/dist/protocols/vertex/abis.js +13 -4
- package/sdk/dist/protocols/vertex/abis.js.map +1 -1
- package/sdk/dist/protocols/wormhole/abis.d.ts +2 -2
- package/sdk/dist/protocols/wormhole/abis.js +2 -2
- package/sdk/dist/protocols/wormhole/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/wormhole/addresses.js +9 -0
- package/sdk/dist/protocols/wormhole/addresses.js.map +1 -1
- package/sdk/dist/protocols/zerolend/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/zerolend/addresses.js +2 -1
- package/sdk/dist/protocols/zerolend/addresses.js.map +1 -1
- package/sdk/dist/protocols/zerox/addresses.d.ts.map +1 -1
- package/sdk/dist/protocols/zerox/addresses.js +2 -1
- package/sdk/dist/protocols/zerox/addresses.js.map +1 -1
- package/sdk/dist/protocols/zksync-bridge/abis.d.ts +1 -1
- package/sdk/dist/protocols/zksync-bridge/abis.js +1 -1
- package/sdk/dist/recipes/cctp-transfer.d.ts +17 -6
- package/sdk/dist/recipes/cctp-transfer.d.ts.map +1 -1
- package/sdk/dist/recipes/cctp-transfer.js +7 -20
- package/sdk/dist/recipes/cctp-transfer.js.map +1 -1
- package/sdk/dist/recipes/index.d.ts +5 -15
- package/sdk/dist/recipes/index.d.ts.map +1 -1
- package/sdk/dist/recipes/index.js +19 -36
- package/sdk/dist/recipes/index.js.map +1 -1
- package/sdk/dist/recipes/settle.sauce.ts +15 -2
- package/sdk/dist/routes/chain-exports.generated.d.ts +97 -0
- package/sdk/dist/routes/chain-exports.generated.d.ts.map +1 -0
- package/sdk/dist/routes/chain-exports.generated.js +91 -0
- package/sdk/dist/routes/chain-exports.generated.js.map +1 -0
- package/sdk/dist/routes/compile-types.d.ts +3 -0
- package/sdk/dist/routes/compile-types.d.ts.map +1 -1
- package/sdk/dist/routes/composed.d.ts +13 -0
- package/sdk/dist/routes/composed.d.ts.map +1 -0
- package/sdk/dist/routes/composed.js +94 -0
- package/sdk/dist/routes/composed.js.map +1 -0
- package/sdk/dist/routes/encode.d.ts +6 -6
- package/sdk/dist/routes/globals.d.ts +19 -4
- package/sdk/dist/routes/globals.d.ts.map +1 -1
- package/sdk/dist/routes/globals.js +51 -85
- package/sdk/dist/routes/globals.js.map +1 -1
- package/sdk/dist/routes/index.d.ts +15 -6
- package/sdk/dist/routes/index.d.ts.map +1 -1
- package/sdk/dist/routes/index.js +17 -5
- package/sdk/dist/routes/index.js.map +1 -1
- package/sdk/dist/routes/intent-dsl.d.ts +60 -19
- package/sdk/dist/routes/intent-dsl.d.ts.map +1 -1
- package/sdk/dist/routes/intent-dsl.js +175 -67
- package/sdk/dist/routes/intent-dsl.js.map +1 -1
- package/sdk/dist/routes/intent-pot.d.ts +49 -0
- package/sdk/dist/routes/intent-pot.d.ts.map +1 -0
- package/sdk/dist/routes/intent-pot.js +46 -0
- package/sdk/dist/routes/intent-pot.js.map +1 -0
- package/sdk/dist/routes/intent-sugar.d.ts +97 -0
- package/sdk/dist/routes/intent-sugar.d.ts.map +1 -0
- package/sdk/dist/routes/intent-sugar.js +615 -0
- package/sdk/dist/routes/intent-sugar.js.map +1 -0
- package/sdk/dist/routes/nest-dynamic.d.ts +146 -0
- package/sdk/dist/routes/nest-dynamic.d.ts.map +1 -0
- package/sdk/dist/routes/nest-dynamic.js +308 -0
- package/sdk/dist/routes/nest-dynamic.js.map +1 -0
- package/sdk/dist/routes/nest.d.ts +16 -5
- package/sdk/dist/routes/nest.d.ts.map +1 -1
- package/sdk/dist/routes/nest.js +29 -10
- package/sdk/dist/routes/nest.js.map +1 -1
- package/sdk/dist/routes/portal.d.ts +7 -272
- package/sdk/dist/routes/portal.d.ts.map +1 -1
- package/sdk/dist/routes/portal.js +13 -92
- package/sdk/dist/routes/portal.js.map +1 -1
- package/sdk/dist/routes/protocol-rewrite.d.ts.map +1 -1
- package/sdk/dist/routes/protocol-rewrite.js +2 -0
- package/sdk/dist/routes/protocol-rewrite.js.map +1 -1
- package/sdk/dist/routes/rs-compile.d.ts +26 -15
- package/sdk/dist/routes/rs-compile.d.ts.map +1 -1
- package/sdk/dist/routes/rs-compile.js +57 -169
- package/sdk/dist/routes/rs-compile.js.map +1 -1
- package/sdk/dist/routes/sauce-route.d.ts +26 -1
- package/sdk/dist/routes/sauce-route.d.ts.map +1 -1
- package/sdk/dist/routes/sauce-route.js +109 -6
- package/sdk/dist/routes/sauce-route.js.map +1 -1
- package/sdk/dist/routes/source-globals.generated.d.ts +435 -20
- package/sdk/dist/routes/source-globals.generated.d.ts.map +1 -1
- package/sdk/dist/routes/template.d.ts +184 -0
- package/sdk/dist/routes/template.d.ts.map +1 -0
- package/sdk/dist/routes/template.js +338 -0
- package/sdk/dist/routes/template.js.map +1 -0
- package/sdk/dist/routes/token-registry.d.ts.map +1 -1
- package/sdk/dist/routes/token-registry.js +35 -0
- package/sdk/dist/routes/token-registry.js.map +1 -1
- package/sdk/dist/routes/token-rewrite.d.ts +1 -1
- package/sdk/dist/routes/token-rewrite.d.ts.map +1 -1
- package/sdk/dist/skills/loader.d.ts +2 -7
- package/sdk/dist/skills/loader.d.ts.map +1 -1
- package/sdk/dist/skills/loader.js +14 -25
- package/sdk/dist/skills/loader.js.map +1 -1
- package/sdk/dist/std/token/token.evm.js +56 -15
- package/sdk/dist/std/token/token.svm.js +24 -3
- package/sdk/dist/svm/accessors.d.ts +3 -3
- package/sdk/dist/svm/accessors.js +3 -3
- package/sdk/dist/svm/client.d.ts +1 -0
- package/sdk/dist/svm/client.d.ts.map +1 -1
- package/sdk/dist/svm/client.js +6 -0
- package/sdk/dist/svm/client.js.map +1 -1
- package/sdk/dist/svm/clusters.d.ts +6 -2
- package/sdk/dist/svm/clusters.d.ts.map +1 -1
- package/sdk/dist/svm/clusters.js +0 -2
- package/sdk/dist/svm/clusters.js.map +1 -1
- package/sdk/dist/svm/engine-artifacts.d.ts +24 -13
- package/sdk/dist/svm/engine-artifacts.d.ts.map +1 -1
- package/sdk/dist/svm/engine-artifacts.js +31 -26
- package/sdk/dist/svm/engine-artifacts.js.map +1 -1
- package/sdk/dist/svm/engine-public.d.ts.map +1 -1
- package/sdk/dist/svm/engine-public.js +2 -1
- package/sdk/dist/svm/engine-public.js.map +1 -1
- package/sdk/dist/svm/index.d.ts +0 -1
- package/sdk/dist/svm/index.d.ts.map +1 -1
- package/sdk/dist/svm/index.js +3 -1
- package/sdk/dist/svm/index.js.map +1 -1
- package/sdk/dist/svm/intent.d.ts.map +1 -1
- package/sdk/dist/svm/intent.js +4 -3
- package/sdk/dist/svm/intent.js.map +1 -1
- package/sdk/dist/svm/loader.d.ts.map +1 -1
- package/sdk/dist/svm/loader.js +2 -3
- package/sdk/dist/svm/loader.js.map +1 -1
- package/sdk/dist/svm/recipes/index.d.ts +57 -4
- package/sdk/dist/svm/recipes/index.d.ts.map +1 -1
- package/sdk/dist/svm/recipes/index.js +7 -9
- package/sdk/dist/svm/recipes/index.js.map +1 -1
- package/sdk/dist/svm/venues/alphaq/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/alphaq/index.js +4 -2
- package/sdk/dist/svm/venues/alphaq/index.js.map +1 -1
- package/sdk/dist/svm/venues/binaryfi/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/binaryfi/index.js +2 -1
- package/sdk/dist/svm/venues/binaryfi/index.js.map +1 -1
- package/sdk/dist/svm/venues/fluxbeam/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/fluxbeam/index.js +2 -7
- package/sdk/dist/svm/venues/fluxbeam/index.js.map +1 -1
- package/sdk/dist/svm/venues/jupiter-lend-earn/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/jupiter-lend-earn/index.js +2 -1
- package/sdk/dist/svm/venues/jupiter-lend-earn/index.js.map +1 -1
- package/sdk/dist/svm/venues/kipseli/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/kipseli/index.js +31 -14
- package/sdk/dist/svm/venues/kipseli/index.js.map +1 -1
- package/sdk/dist/svm/venues/mercurial/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/mercurial/index.js +2 -7
- package/sdk/dist/svm/venues/mercurial/index.js.map +1 -1
- package/sdk/dist/svm/venues/meteora-damm-v1-stable/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/meteora-damm-v1-stable/index.js +3 -2
- package/sdk/dist/svm/venues/meteora-damm-v1-stable/index.js.map +1 -1
- package/sdk/dist/svm/venues/mswap/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/mswap/index.js +2 -2
- package/sdk/dist/svm/venues/mswap/index.js.map +1 -1
- package/sdk/dist/svm/venues/orca-legacy-token-swap/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/orca-legacy-token-swap/index.js +2 -7
- package/sdk/dist/svm/venues/orca-legacy-token-swap/index.js.map +1 -1
- package/sdk/dist/svm/venues/saber-stableswap/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/saber-stableswap/index.js +2 -7
- package/sdk/dist/svm/venues/saber-stableswap/index.js.map +1 -1
- package/sdk/dist/svm/venues/sanctum-infinity/index.js +2 -2
- package/sdk/dist/svm/venues/sanctum-infinity/index.js.map +1 -1
- package/sdk/dist/svm/venues/sanctum-stake-pool/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/sanctum-stake-pool/index.js +2 -8
- package/sdk/dist/svm/venues/sanctum-stake-pool/index.js.map +1 -1
- package/sdk/dist/svm/venues/spl-token-swap-forks/index.d.ts.map +1 -1
- package/sdk/dist/svm/venues/spl-token-swap-forks/index.js +2 -7
- package/sdk/dist/svm/venues/spl-token-swap-forks/index.js.map +1 -1
- package/sdk/dist/svm/venues/stabble-common.d.ts.map +1 -1
- package/sdk/dist/svm/venues/stabble-common.js +3 -8
- package/sdk/dist/svm/venues/stabble-common.js.map +1 -1
- package/sdk/dist/svm/verify.d.ts.map +1 -1
- package/sdk/dist/svm/verify.js +1 -4
- package/sdk/dist/svm/verify.js.map +1 -1
- package/sdk/dist/swap/index.d.ts +4 -4
- package/sdk/dist/swap/index.d.ts.map +1 -1
- package/sdk/dist/swap/index.js +4 -4
- package/sdk/dist/swap/index.js.map +1 -1
- package/sdk/dist/swap/source.d.ts +0 -7
- package/sdk/dist/swap/source.d.ts.map +1 -1
- package/sdk/dist/swap/source.js +3 -11
- package/sdk/dist/swap/source.js.map +1 -1
- package/sdk/dist/token/api.d.ts +8 -9
- package/sdk/dist/token/api.d.ts.map +1 -1
- package/sdk/dist/token/api.js +4 -5
- package/sdk/dist/token/api.js.map +1 -1
- package/sdk/dist/token/evm.d.ts +5 -2
- package/sdk/dist/token/evm.d.ts.map +1 -1
- package/sdk/dist/token/evm.js +24 -13
- package/sdk/dist/token/evm.js.map +1 -1
- package/sdk/dist/token/index.d.ts +4 -4
- package/sdk/dist/token/index.js +4 -4
- package/sdk/dist/token/safe.d.ts +17 -0
- package/sdk/dist/token/safe.d.ts.map +1 -0
- package/sdk/dist/token/safe.js +211 -0
- package/sdk/dist/token/safe.js.map +1 -0
- package/sdk/dist/token/source.d.ts +0 -4
- package/sdk/dist/token/source.d.ts.map +1 -1
- package/sdk/dist/token/source.js +7 -10
- package/sdk/dist/token/source.js.map +1 -1
- package/sdk/dist/verify/decode.d.ts +6 -6
- package/sdk/dist/verify/decode.js +7 -7
- package/sdk/dist/verify/decode.js.map +1 -1
- package/sdk/dist/verify/index.js +2 -2
- package/sdk/dist/verify/intent.js +2 -2
- package/sdk/dist/verify/vectors.d.ts +1 -1
- package/sdk/dist/verify/vectors.d.ts.map +1 -1
- package/sdk/dist/verify/vectors.js +2 -2
- package/sdk/dist/verify/vectors.js.map +1 -1
- package/sdk/dist/verify/wire.d.ts +21 -4
- package/sdk/dist/verify/wire.d.ts.map +1 -1
- package/sdk/dist/verify/wire.js +21 -4
- package/sdk/dist/verify/wire.js.map +1 -1
- package/sdk/dist/wasm-compiler.d.ts +31 -0
- package/sdk/dist/wasm-compiler.d.ts.map +1 -0
- package/sdk/dist/wasm-compiler.js +52 -0
- package/sdk/dist/wasm-compiler.js.map +1 -0
- package/sdk/src/protocols/aave-v4/AaveV4HubABI.json +67 -0
- package/sdk/src/protocols/aave-v4/AaveV4SpokeABI.json +215 -0
- package/sdk/src/protocols/aave-v4/abis.ts +139 -0
- package/sdk/src/protocols/aave-v4/addresses.ts +66 -0
- package/sdk/src/protocols/aave-v4/functions.ts +39 -0
- package/sdk/src/protocols/aave-v4/index.ts +4 -0
- package/sdk/src/protocols/aave-v4/info.ts +14 -0
- package/sdk/src/protocols/across/AcrossHubPoolABI.json +2 -2
- package/sdk/src/protocols/across/AcrossSpokePoolABI.json +27 -11
- package/sdk/src/protocols/across/abis.ts +16 -8
- package/sdk/src/protocols/across/addresses.ts +10 -0
- package/sdk/src/protocols/across/functions.ts +2 -2
- package/sdk/src/protocols/aerodrome-slipstream/AeroMetarouterABI.json +24 -0
- package/sdk/src/protocols/aerodrome-slipstream/SlipstreamCLFactoryABI.json +58 -0
- package/sdk/src/protocols/aerodrome-slipstream/SlipstreamPositionManagerABI.json +77 -0
- package/sdk/src/protocols/aerodrome-slipstream/abis.ts +74 -0
- package/sdk/src/protocols/aerodrome-slipstream/addresses.ts +40 -0
- package/sdk/src/protocols/aerodrome-slipstream/functions.ts +8 -0
- package/sdk/src/protocols/aerodrome-slipstream/index.ts +4 -0
- package/sdk/src/protocols/aerodrome-slipstream/info.ts +14 -0
- package/sdk/src/protocols/aevo/DepositContractABI.json +23 -2
- package/sdk/src/protocols/aevo/abis.ts +10 -2
- package/sdk/src/protocols/aevo/functions.ts +2 -2
- package/sdk/src/protocols/alchemix/AlchemistABI.json +1 -1
- package/sdk/src/protocols/alchemix/abis.ts +1 -1
- package/sdk/src/protocols/ambient/CrocSwapDexABI.json +2 -2
- package/sdk/src/protocols/ambient/abis.ts +3 -2
- package/sdk/src/protocols/ambient/addresses.ts +2 -1
- package/sdk/src/protocols/arrakis/ArrakisRouterABI.json +5 -1
- package/sdk/src/protocols/arrakis/ArrakisVaultABI.json +0 -16
- package/sdk/src/protocols/arrakis/abis.ts +2 -11
- package/sdk/src/protocols/arrakis/functions.ts +2 -1
- package/sdk/src/protocols/axelar/AxelarITSABI.json +1 -1
- package/sdk/src/protocols/axelar/abis.ts +1 -1
- package/sdk/src/protocols/balancer-v2/BalancerV2VaultABI.json +7 -7
- package/sdk/src/protocols/balancer-v2/abis.ts +7 -7
- package/sdk/src/protocols/cbeth/CbETHABI.json +10 -1
- package/sdk/src/protocols/cbeth/abis.ts +6 -2
- package/sdk/src/protocols/cctp/TokenMessengerABI.json +30 -9
- package/sdk/src/protocols/cctp/abis.ts +3 -1
- package/sdk/src/protocols/cctp/addresses.ts +3 -0
- package/sdk/src/protocols/chainlink/AggregatorV3ABI.json +3 -3
- package/sdk/src/protocols/chainlink/FeedRegistryABI.json +3 -3
- package/sdk/src/protocols/chainlink/abis.ts +6 -6
- package/sdk/src/protocols/chainlink/addresses.ts +10 -0
- package/sdk/src/protocols/chainlink-ccip/CCIPRouterABI.json +1 -1
- package/sdk/src/protocols/chainlink-ccip/abis.ts +1 -1
- package/sdk/src/protocols/chainlink-ccip/addresses.ts +9 -0
- package/sdk/src/protocols/circle-gateway/GatewayMinterABI.json +49 -0
- package/sdk/src/protocols/circle-gateway/GatewayWalletABI.json +111 -0
- package/sdk/src/protocols/circle-gateway/abis.ts +86 -0
- package/sdk/src/protocols/circle-gateway/addresses.ts +39 -0
- package/sdk/src/protocols/circle-gateway/functions.ts +28 -0
- package/sdk/src/protocols/circle-gateway/index.ts +4 -0
- package/sdk/src/protocols/circle-gateway/info.ts +14 -0
- package/sdk/src/protocols/compound-v2/CErc20ABI.json +2 -2
- package/sdk/src/protocols/compound-v2/abis.ts +2 -2
- package/sdk/src/protocols/connext/EverclearSpokeABI.json +60 -6
- package/sdk/src/protocols/connext/abis.ts +27 -5
- package/sdk/src/protocols/connext/addresses.ts +1 -7
- package/sdk/src/protocols/connext/functions.ts +3 -2
- package/sdk/src/protocols/curve/CurveRouterNGABI.json +37 -0
- package/sdk/src/protocols/curve/CurveStableSwapABI.json +7 -7
- package/sdk/src/protocols/curve/CurveThreePoolABI.json +117 -0
- package/sdk/src/protocols/curve/abis.ts +91 -7
- package/sdk/src/protocols/debridge/DlnDestinationABI.json +7 -7
- package/sdk/src/protocols/debridge/DlnSourceABI.json +1 -1
- package/sdk/src/protocols/debridge/abis.ts +5 -5
- package/sdk/src/protocols/debridge/addresses.ts +11 -0
- package/sdk/src/protocols/eco-routes/abis.ts +633 -0
- package/sdk/src/protocols/eco-routes/addresses.generated.ts +589 -0
- package/sdk/src/protocols/eco-routes/addresses.ts +27 -0
- package/sdk/src/protocols/eco-routes/functions.ts +45 -0
- package/sdk/src/protocols/eco-routes/index.ts +5 -0
- package/sdk/src/protocols/eco-routes/info.ts +14 -0
- package/sdk/src/protocols/eco-routes/lookup.ts +215 -0
- package/sdk/src/protocols/eigenlayer/DelegationManagerABI.json +2 -2
- package/sdk/src/protocols/eigenlayer/StrategyManagerABI.json +2 -2
- package/sdk/src/protocols/eigenlayer/abis.ts +5 -4
- package/sdk/src/protocols/ens/ENSRegistryABI.json +4 -4
- package/sdk/src/protocols/ens/abis.ts +4 -4
- package/sdk/src/protocols/etherfi/WeETHABI.json +1 -1
- package/sdk/src/protocols/etherfi/abis.ts +2 -1
- package/sdk/src/protocols/euler-v2/EVCABI.json +2 -2
- package/sdk/src/protocols/euler-v2/abis.ts +2 -2
- package/sdk/src/protocols/fluid/FluidLendingABI.json +20 -37
- package/sdk/src/protocols/fluid/FluidVaultABI.json +41 -0
- package/sdk/src/protocols/fluid/abis.ts +41 -18
- package/sdk/src/protocols/fluid/functions.ts +18 -16
- package/sdk/src/protocols/gains-network/DiamondABI.json +49 -37
- package/sdk/src/protocols/gains-network/abis.ts +26 -21
- package/sdk/src/protocols/gains-network/functions.ts +6 -6
- package/sdk/src/protocols/gamma/UniProxyLegacyABI.json +62 -0
- package/sdk/src/protocols/gamma/abis.ts +31 -0
- package/sdk/src/protocols/gamma/addresses.ts +2 -7
- package/sdk/src/protocols/gamma/functions.ts +10 -0
- package/sdk/src/protocols/gelato/GelatoAutomateABI.json +2 -2
- package/sdk/src/protocols/gelato/abis.ts +2 -2
- package/sdk/src/protocols/gmx-v1/PositionRouterABI.json +21 -3
- package/sdk/src/protocols/gmx-v1/abis.ts +5 -3
- package/sdk/src/protocols/gmx-v1/functions.ts +2 -2
- package/sdk/src/protocols/gmx-v2/ExchangeRouterABI.json +13 -5
- package/sdk/src/protocols/gmx-v2/abis.ts +7 -4
- package/sdk/src/protocols/gmx-v2/addresses.ts +3 -1
- package/sdk/src/protocols/gmx-v2/functions.ts +4 -2
- package/sdk/src/protocols/harvest/VaultABI.json +12 -2
- package/sdk/src/protocols/harvest/abis.ts +2 -2
- package/sdk/src/protocols/hegic/HegicABI.json +6 -2
- package/sdk/src/protocols/hegic/abis.ts +7 -2
- package/sdk/src/protocols/hegic/addresses.ts +1 -0
- package/sdk/src/protocols/hegic/functions.ts +3 -3
- package/sdk/src/protocols/hop/addresses.ts +5 -2
- package/sdk/src/protocols/hyperlane/HyperlaneMailboxABI.json +5 -5
- package/sdk/src/protocols/hyperlane/abis.ts +5 -5
- package/sdk/src/protocols/hyperlane/addresses.ts +9 -0
- package/sdk/src/protocols/index.ts +13 -0
- package/sdk/src/protocols/kim/KimRouterABI.json +8 -27
- package/sdk/src/protocols/kim/abis.ts +6 -12
- package/sdk/src/protocols/kim/functions.ts +3 -2
- package/sdk/src/protocols/kyberswap/KyberSwapElasticRouterABI.json +1 -1
- package/sdk/src/protocols/kyberswap/KyberSwapMetaAggregationRouterABI.json +52 -18
- package/sdk/src/protocols/kyberswap/abis.ts +21 -8
- package/sdk/src/protocols/kyberswap/addresses.ts +12 -2
- package/sdk/src/protocols/kyberswap-aggregator/addresses.ts +12 -1
- package/sdk/src/protocols/layerbank/LTokenABI.json +19 -29
- package/sdk/src/protocols/layerbank/LayerBankCoreABI.json +87 -2
- package/sdk/src/protocols/layerbank/abis.ts +69 -17
- package/sdk/src/protocols/layerbank/addresses.ts +3 -1
- package/sdk/src/protocols/layerbank/functions.ts +18 -16
- package/sdk/src/protocols/layerzero/LayerZeroEndpointV2ABI.json +3 -3
- package/sdk/src/protocols/layerzero/abis.ts +3 -3
- package/sdk/src/protocols/layerzero/addresses.ts +11 -1
- package/sdk/src/protocols/level-finance/LiquidityPoolABI.json +8 -0
- package/sdk/src/protocols/level-finance/abis.ts +2 -0
- package/sdk/src/protocols/level-finance/functions.ts +4 -4
- package/sdk/src/protocols/lifi/LiFiDiamondABI.json +54 -4
- package/sdk/src/protocols/lifi/abis.ts +24 -4
- package/sdk/src/protocols/lifi/addresses.ts +9 -0
- package/sdk/src/protocols/lifi/functions.ts +5 -2
- package/sdk/src/protocols/liquity-v1/BorrowerOperationsABI.json +8 -0
- package/sdk/src/protocols/liquity-v1/abis.ts +7 -1
- package/sdk/src/protocols/liquity-v1/functions.ts +1 -1
- package/sdk/src/protocols/mantle-meth/METHABI.json +0 -46
- package/sdk/src/protocols/mantle-meth/METHStakingABI.json +50 -0
- package/sdk/src/protocols/mantle-meth/abis.ts +23 -17
- package/sdk/src/protocols/mantle-meth/addresses.ts +3 -0
- package/sdk/src/protocols/mantle-meth/functions.ts +4 -4
- package/sdk/src/protocols/maverick/MaverickV2FactoryABI.json +8 -0
- package/sdk/src/protocols/maverick/MaverickV2RouterABI.json +4 -0
- package/sdk/src/protocols/maverick/abis.ts +7 -1
- package/sdk/src/protocols/morpho-blue/addresses.ts +10 -0
- package/sdk/src/protocols/mux-protocol/LiquidityPoolABI.json +45 -11
- package/sdk/src/protocols/mux-protocol/OrderBookABI.json +59 -17
- package/sdk/src/protocols/mux-protocol/abis.ts +55 -22
- package/sdk/src/protocols/mux-protocol/functions.ts +8 -8
- package/sdk/src/protocols/olympus/StakingABI.json +8 -3
- package/sdk/src/protocols/olympus/abis.ts +2 -2
- package/sdk/src/protocols/oneinch/AggregationRouterV6ABI.json +5 -5
- package/sdk/src/protocols/oneinch/abis.ts +5 -3
- package/sdk/src/protocols/oneinch/functions.ts +2 -2
- package/sdk/src/protocols/openocean/OpenOceanExchangeV2ABI.json +19 -1
- package/sdk/src/protocols/openocean/abis.ts +11 -1
- package/sdk/src/protocols/openocean/functions.ts +1 -1
- package/sdk/src/protocols/opyn/ControllerABI.json +6 -1
- package/sdk/src/protocols/opyn/abis.ts +1 -1
- package/sdk/src/protocols/pancakeswap-v3/PancakeSwapV3FactoryABI.json +1 -1
- package/sdk/src/protocols/pancakeswap-v3/PancakeSwapV3NFPMABI.json +3 -3
- package/sdk/src/protocols/pancakeswap-v3/PancakeSwapV3SmartRouterABI.json +2 -2
- package/sdk/src/protocols/pancakeswap-v3/abis.ts +6 -6
- package/sdk/src/protocols/paraswap/AugustusV5ABI.json +1 -1
- package/sdk/src/protocols/paraswap/abis.ts +1 -1
- package/sdk/src/protocols/pendle/PendleRouterABI.json +392 -6
- package/sdk/src/protocols/pendle/abis.ts +160 -6
- package/sdk/src/protocols/permit2/Permit2ABI.json +1 -1
- package/sdk/src/protocols/permit2/abis.ts +1 -1
- package/sdk/src/protocols/permit2/addresses.ts +9 -0
- package/sdk/src/protocols/perpetual-protocol/ClearingHouseABI.json +61 -49
- package/sdk/src/protocols/perpetual-protocol/abis.ts +27 -14
- package/sdk/src/protocols/premia/DiamondABI.json +24 -24
- package/sdk/src/protocols/premia/abis.ts +20 -10
- package/sdk/src/protocols/premia/addresses.ts +3 -8
- package/sdk/src/protocols/premia/functions.ts +8 -8
- package/sdk/src/protocols/pyth/PythOracleABI.json +3 -3
- package/sdk/src/protocols/pyth/abis.ts +6 -3
- package/sdk/src/protocols/reflexer/ETHJoinABI.json +5 -1
- package/sdk/src/protocols/reflexer/SAFEEngineABI.json +4 -4
- package/sdk/src/protocols/reflexer/abis.ts +10 -6
- package/sdk/src/protocols/renzo/RestakeManagerABI.json +1 -1
- package/sdk/src/protocols/renzo/abis.ts +1 -1
- package/sdk/src/protocols/sablier/LockupLinearABI.json +2 -2
- package/sdk/src/protocols/sablier/abis.ts +2 -2
- package/sdk/src/protocols/safe/addresses.ts +10 -0
- package/sdk/src/protocols/seaport/SeaportABI.json +87 -5
- package/sdk/src/protocols/seaport/abis.ts +41 -5
- package/sdk/src/protocols/seaport/addresses.ts +10 -0
- package/sdk/src/protocols/seaport/functions.ts +1 -0
- package/sdk/src/protocols/silo/SiloABI.json +4 -0
- package/sdk/src/protocols/silo/abis.ts +4 -1
- package/sdk/src/protocols/silo/addresses.ts +2 -1
- package/sdk/src/protocols/silo/functions.ts +2 -1
- package/sdk/src/protocols/socket/SocketGatewayABI.json +1 -17
- package/sdk/src/protocols/socket/abis.ts +3 -11
- package/sdk/src/protocols/socket/functions.ts +1 -1
- package/sdk/src/protocols/spookyswap/addresses.ts +2 -1
- package/sdk/src/protocols/squid/SquidRouterABI.json +42 -26
- package/sdk/src/protocols/squid/abis.ts +19 -13
- package/sdk/src/protocols/squid/functions.ts +2 -2
- package/sdk/src/protocols/stargate/StargatePoolABI.json +31 -3
- package/sdk/src/protocols/stargate/abis.ts +19 -3
- package/sdk/src/protocols/superfluid/CFAForwarderABI.json +2 -2
- package/sdk/src/protocols/superfluid/abis.ts +2 -2
- package/sdk/src/protocols/sushiswap-v2/addresses.ts +2 -1
- package/sdk/src/protocols/swell/RswETHABI.json +1 -6
- package/sdk/src/protocols/swell/SwETHABI.json +1 -6
- package/sdk/src/protocols/swell/abis.ts +4 -2
- package/sdk/src/protocols/swell/functions.ts +4 -2
- package/sdk/src/protocols/synapse/addresses.ts +2 -1
- package/sdk/src/protocols/synthetix-v3/PerpsMarketProxyABI.json +54 -5
- package/sdk/src/protocols/synthetix-v3/abis.ts +27 -5
- package/sdk/src/protocols/synthetix-v3/addresses.ts +2 -1
- package/sdk/src/protocols/synthra-v3/SynthraV3FactoryABI.json +54 -0
- package/sdk/src/protocols/synthra-v3/SynthraV3NonfungiblePositionManagerABI.json +212 -0
- package/sdk/src/protocols/synthra-v3/SynthraV3QuoterV2ABI.json +55 -0
- package/sdk/src/protocols/synthra-v3/SynthraV3SwapRouter02ABI.json +168 -0
- package/sdk/src/protocols/synthra-v3/abis.ts +244 -0
- package/sdk/src/protocols/synthra-v3/addresses.ts +17 -0
- package/sdk/src/protocols/synthra-v3/functions.ts +8 -0
- package/sdk/src/protocols/synthra-v3/index.ts +4 -0
- package/sdk/src/protocols/synthra-v3/info.ts +13 -0
- package/sdk/src/protocols/thales/PositionalMarketABI.json +16 -0
- package/sdk/src/protocols/thales/SpeedMarketsAMMABI.json +57 -22
- package/sdk/src/protocols/thales/ThalesAMMABI.json +4 -11
- package/sdk/src/protocols/thales/abis.ts +28 -11
- package/sdk/src/protocols/thales/functions.ts +5 -6
- package/sdk/src/protocols/thruster/ThrusterV3SwapRouterABI.json +1 -1
- package/sdk/src/protocols/thruster/abis.ts +1 -1
- package/sdk/src/protocols/trader-joe/LBRouterABI.json +3 -3
- package/sdk/src/protocols/trader-joe/abis.ts +2 -2
- package/sdk/src/protocols/uniswap-v2/addresses.ts +10 -0
- package/sdk/src/protocols/uniswap-v3/UniswapV3FactoryABI.json +2 -2
- package/sdk/src/protocols/uniswap-v3/UniswapV3NonfungiblePositionManagerABI.json +3 -3
- package/sdk/src/protocols/uniswap-v3/UniswapV3QuoterV2ABI.json +1 -1
- package/sdk/src/protocols/uniswap-v3/UniswapV3SwapRouter02ABI.json +168 -0
- package/sdk/src/protocols/uniswap-v3/UniswapV3SwapRouterABI.json +2 -2
- package/sdk/src/protocols/uniswap-v3/abis.ts +91 -8
- package/sdk/src/protocols/uniswap-v3/addresses.ts +14 -0
- package/sdk/src/protocols/uniswap-v4/UniswapV4PoolManagerABI.json +15 -15
- package/sdk/src/protocols/uniswap-v4/UniswapV4UniversalRouterABI.json +16 -0
- package/sdk/src/protocols/uniswap-v4/abis.ts +25 -15
- package/sdk/src/protocols/uniswap-v4/addresses.ts +11 -0
- package/sdk/src/protocols/unitflow-v3/UnitFlowV3FactoryABI.json +46 -0
- package/sdk/src/protocols/unitflow-v3/UnitFlowV3QuoterABI.json +37 -0
- package/sdk/src/protocols/unitflow-v3/UnitFlowV3RouterABI.json +67 -0
- package/sdk/src/protocols/unitflow-v3/abis.ts +71 -0
- package/sdk/src/protocols/unitflow-v3/addresses.ts +20 -0
- package/sdk/src/protocols/unitflow-v3/functions.ts +8 -0
- package/sdk/src/protocols/unitflow-v3/index.ts +4 -0
- package/sdk/src/protocols/unitflow-v3/info.ts +14 -0
- package/sdk/src/protocols/velodrome/addresses.ts +3 -1
- package/sdk/src/protocols/venus/VBNBABI.json +86 -0
- package/sdk/src/protocols/venus/VTokenABI.json +1 -1
- package/sdk/src/protocols/venus/abis.ts +49 -1
- package/sdk/src/protocols/vertex/ClearinghouseABI.json +20 -10
- package/sdk/src/protocols/vertex/EndpointABI.json +1 -1
- package/sdk/src/protocols/vertex/abis.ts +13 -4
- package/sdk/src/protocols/wormhole/WormholeTokenBridgeABI.json +2 -2
- package/sdk/src/protocols/wormhole/abis.ts +2 -2
- package/sdk/src/protocols/wormhole/addresses.ts +9 -0
- package/sdk/src/protocols/zerolend/addresses.ts +2 -1
- package/sdk/src/protocols/zerox/addresses.ts +2 -1
- package/sdk/src/protocols/zksync-bridge/ZkSyncDiamondProxyABI.json +1 -1
- package/sdk/src/protocols/zksync-bridge/abis.ts +1 -1
- package/sdk/src/skills/aave-v4.md +91 -0
- package/sdk/src/skills/across.md +28 -10
- package/sdk/src/skills/aerodrome-slipstream.md +57 -0
- package/sdk/src/skills/aerodrome.md +1 -0
- package/sdk/src/skills/aevo.md +12 -4
- package/sdk/src/skills/ambient.md +2 -2
- package/sdk/src/skills/arrakis.md +3 -3
- package/sdk/src/skills/cbeth.md +2 -2
- package/sdk/src/skills/chainlink-ccip.md +3 -2
- package/sdk/src/skills/chainlink.md +1 -1
- package/sdk/src/skills/circle-gateway.md +98 -0
- package/sdk/src/skills/compound-v2.md +2 -2
- package/sdk/src/skills/connext.md +8 -7
- package/sdk/src/skills/curve.md +17 -2
- package/sdk/src/skills/debridge.md +3 -2
- package/sdk/src/skills/eigenlayer.md +1 -1
- package/sdk/src/skills/etherfi.md +1 -1
- package/sdk/src/skills/fluid.md +46 -39
- package/sdk/src/skills/gains-network.md +13 -21
- package/sdk/src/skills/gamma.md +12 -6
- package/sdk/src/skills/gmx-v1.md +4 -2
- package/sdk/src/skills/gmx-v2.md +6 -2
- package/sdk/src/skills/harvest.md +2 -2
- package/sdk/src/skills/hegic.md +9 -8
- package/sdk/src/skills/hop.md +8 -8
- package/sdk/src/skills/hyperlane.md +4 -3
- package/sdk/src/skills/index.md +84 -77
- package/sdk/src/skills/kim.md +11 -14
- package/sdk/src/skills/kyberswap-aggregator.md +5 -3
- package/sdk/src/skills/kyberswap.md +6 -6
- package/sdk/src/skills/layerbank.md +41 -35
- package/sdk/src/skills/layerzero.md +3 -2
- package/sdk/src/skills/level-finance.md +6 -4
- package/sdk/src/skills/lido.md +5 -5
- package/sdk/src/skills/lifi.md +41 -23
- package/sdk/src/skills/liquity-v1.md +6 -2
- package/sdk/src/skills/loader.ts +15 -25
- package/sdk/src/skills/mantle-meth.md +13 -5
- package/sdk/src/skills/maverick.md +3 -3
- package/sdk/src/skills/morpho-blue.md +1 -1
- package/sdk/src/skills/mux-protocol.md +21 -17
- package/sdk/src/skills/oneinch.md +4 -3
- package/sdk/src/skills/openocean.md +2 -2
- package/sdk/src/skills/opyn.md +1 -1
- package/sdk/src/skills/permit2.md +1 -1
- package/sdk/src/skills/perpetual-protocol.md +2 -2
- package/sdk/src/skills/premia.md +21 -21
- package/sdk/src/skills/reflexer.md +1 -1
- package/sdk/src/skills/renzo.md +1 -1
- package/sdk/src/skills/safe.md +1 -1
- package/sdk/src/skills/seaport.md +3 -2
- package/sdk/src/skills/silo.md +4 -3
- package/sdk/src/skills/socket.md +4 -5
- package/sdk/src/skills/spookyswap.md +2 -2
- package/sdk/src/skills/squid.md +18 -10
- package/sdk/src/skills/stargate.md +1 -1
- package/sdk/src/skills/sushiswap-v2.md +1 -1
- package/sdk/src/skills/swell.md +6 -4
- package/sdk/src/skills/synapse.md +1 -1
- package/sdk/src/skills/synthetix-v3.md +1 -1
- package/sdk/src/skills/synthra-v3.md +57 -0
- package/sdk/src/skills/thales.md +12 -10
- package/sdk/src/skills/trader-joe.md +1 -1
- package/sdk/src/skills/uniswap-v2.md +2 -1
- package/sdk/src/skills/uniswap-v3.md +14 -4
- package/sdk/src/skills/uniswap-v4.md +3 -1
- package/sdk/src/skills/unitflow-v3.md +62 -0
- package/sdk/src/skills/velodrome.md +2 -2
- package/sdk/src/skills/venus.md +10 -2
- package/sdk/src/skills/vertex.md +1 -1
- package/sdk/src/skills/wormhole.md +1 -1
- package/sdk/src/skills/zerolend.md +1 -1
- package/sdk/src/skills/zerox.md +1 -1
- package/sdk/src/skills/zksync-bridge.md +1 -1
- package/actions/dist/megas-swap.d.ts +0 -97
- package/actions/dist/megas-swap.d.ts.map +0 -1
- package/actions/dist/megas-swap.js +0 -286
- package/sdk/dist/routes/globals.generated.d.ts +0 -94
- package/sdk/dist/routes/globals.generated.d.ts.map +0 -1
- package/sdk/dist/routes/globals.generated.js +0 -2
- package/sdk/dist/routes/globals.generated.js.map +0 -1
|
@@ -0,0 +1,1810 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "urn:eco-incorp:sauce:action-program:1",
|
|
4
|
+
"title": "Sauce action program",
|
|
5
|
+
"description": "A sequence of protocol actions that compiles to one Sauce program executing on one chain. Amounts are base-10 strings. Beyond this schema, a program must satisfy: every address with mixed-case hex carries a valid EIP-55 checksum; every amount fits its declared width; a first action that takes an amount sets `amount`; an amountRef names a saveOutputAs set by an earlier action, and is not combined with `amount`; argument names are unique; and the value of every balanceOf/nativeBalance/argument action is read.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["version", "chainId", "actions"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": { "type": "string", "description": "The schema this document declares; ignored." },
|
|
11
|
+
"version": { "const": 1 },
|
|
12
|
+
"chainId": { "$ref": "#/$defs/chainId", "description": "The chain every action executes on." },
|
|
13
|
+
"actions": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"items": { "$ref": "#/$defs/action" },
|
|
17
|
+
"description": "The actions, in execution order."
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"$defs": {
|
|
21
|
+
"address": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^0x[0-9a-fA-F]{40}$",
|
|
24
|
+
"description": "An address: 0x + 40 hex digits. A mixed-case address must carry a valid EIP-55 checksum."
|
|
25
|
+
},
|
|
26
|
+
"recipient": {
|
|
27
|
+
"description": "An address, or \"self\" for the executing Pot.",
|
|
28
|
+
"oneOf": [{ "$ref": "#/$defs/address" }, { "const": "self" }]
|
|
29
|
+
},
|
|
30
|
+
"remoteRecipient": {
|
|
31
|
+
"description": "An address, or a 32-byte account on a non-EVM destination (0x + 64 hex digits).",
|
|
32
|
+
"oneOf": [{ "$ref": "#/$defs/address" }, { "$ref": "#/$defs/bytes32" }]
|
|
33
|
+
},
|
|
34
|
+
"bytes": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$",
|
|
37
|
+
"description": "0x-prefixed hex bytes, an even number of digits."
|
|
38
|
+
},
|
|
39
|
+
"bytes32": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^0x[0-9a-fA-F]{64}$",
|
|
42
|
+
"description": "32 bytes: 0x + 64 hex digits."
|
|
43
|
+
},
|
|
44
|
+
"identifier": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^[A-Za-z_$][A-Za-z0-9_$]*$",
|
|
47
|
+
"description": "A name that becomes a local variable in the emitted SauceScript."
|
|
48
|
+
},
|
|
49
|
+
"chainId": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
|
|
50
|
+
"action": {
|
|
51
|
+
"oneOf": [
|
|
52
|
+
{ "$ref": "#/$defs/action_uniswapV3ExactInput" },
|
|
53
|
+
{ "$ref": "#/$defs/action_uniswapV3ExactInputMultiHop" },
|
|
54
|
+
{ "$ref": "#/$defs/action_uniswapV4ExactInput" },
|
|
55
|
+
{ "$ref": "#/$defs/action_uniswapV4ExactInputMultiHop" },
|
|
56
|
+
{ "$ref": "#/$defs/action_curveSwap" },
|
|
57
|
+
{ "$ref": "#/$defs/action_curveRouterNGSwap" },
|
|
58
|
+
{ "$ref": "#/$defs/action_balancerV2Swap" },
|
|
59
|
+
{ "$ref": "#/$defs/action_balancerV2BatchSwap" },
|
|
60
|
+
{ "$ref": "#/$defs/action_balancerV3Swap" },
|
|
61
|
+
{ "$ref": "#/$defs/action_uniswapV2Swap" },
|
|
62
|
+
{ "$ref": "#/$defs/action_ambientSwap" },
|
|
63
|
+
{ "$ref": "#/$defs/action_dodoSwap" },
|
|
64
|
+
{ "$ref": "#/$defs/action_maverickSwap" },
|
|
65
|
+
{ "$ref": "#/$defs/action_maverickMultiHopSwap" },
|
|
66
|
+
{ "$ref": "#/$defs/action_carbonSwap" },
|
|
67
|
+
{ "$ref": "#/$defs/action_fraxswapSwap" },
|
|
68
|
+
{ "$ref": "#/$defs/action_fluidDexT1Swap" },
|
|
69
|
+
{ "$ref": "#/$defs/action_acrossBridge" },
|
|
70
|
+
{ "$ref": "#/$defs/action_stargateBridge" },
|
|
71
|
+
{ "$ref": "#/$defs/action_cctpBridge" },
|
|
72
|
+
{ "$ref": "#/$defs/action_hyperlaneBridge" },
|
|
73
|
+
{ "$ref": "#/$defs/action_wrapETH" },
|
|
74
|
+
{ "$ref": "#/$defs/action_unwrapETH" },
|
|
75
|
+
{ "$ref": "#/$defs/action_wrapStETH" },
|
|
76
|
+
{ "$ref": "#/$defs/action_unwrapStETH" },
|
|
77
|
+
{ "$ref": "#/$defs/action_lidoStake" },
|
|
78
|
+
{ "$ref": "#/$defs/action_lidoUnstake" },
|
|
79
|
+
{ "$ref": "#/$defs/action_rocketPoolStake" },
|
|
80
|
+
{ "$ref": "#/$defs/action_rocketPoolUnstake" },
|
|
81
|
+
{ "$ref": "#/$defs/action_etherFiStake" },
|
|
82
|
+
{ "$ref": "#/$defs/action_aaveV3Supply" },
|
|
83
|
+
{ "$ref": "#/$defs/action_aaveV3Withdraw" },
|
|
84
|
+
{ "$ref": "#/$defs/action_aaveV3Borrow" },
|
|
85
|
+
{ "$ref": "#/$defs/action_aaveV3Repay" },
|
|
86
|
+
{ "$ref": "#/$defs/action_compoundV3Supply" },
|
|
87
|
+
{ "$ref": "#/$defs/action_compoundV3Withdraw" },
|
|
88
|
+
{ "$ref": "#/$defs/action_transfer" },
|
|
89
|
+
{ "$ref": "#/$defs/action_approve" },
|
|
90
|
+
{ "$ref": "#/$defs/action_permit2Approve" },
|
|
91
|
+
{ "$ref": "#/$defs/action_balanceOf" },
|
|
92
|
+
{ "$ref": "#/$defs/action_nativeBalance" },
|
|
93
|
+
{ "$ref": "#/$defs/action_argument" }
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"action_uniswapV3ExactInput": {
|
|
97
|
+
"title": "uniswapV3ExactInput",
|
|
98
|
+
"description": "Swaps an exact input through one Uniswap V3 pool. Calls SwapRouter02.exactInputSingle.",
|
|
99
|
+
"type": "object",
|
|
100
|
+
"additionalProperties": false,
|
|
101
|
+
"required": ["type", "router", "tokenIn", "tokenOut", "fee", "amountOutMin", "recipient"],
|
|
102
|
+
"properties": {
|
|
103
|
+
"type": { "const": "uniswapV3ExactInput" },
|
|
104
|
+
"amount": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
107
|
+
"maxLength": 78,
|
|
108
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
109
|
+
},
|
|
110
|
+
"router": { "$ref": "#/$defs/address", "description": "the SwapRouter02" },
|
|
111
|
+
"tokenIn": { "$ref": "#/$defs/address", "description": "the token sold" },
|
|
112
|
+
"tokenOut": { "$ref": "#/$defs/address", "description": "the token bought" },
|
|
113
|
+
"fee": {
|
|
114
|
+
"enum": [100, 500, 3000, 10000],
|
|
115
|
+
"description": "the pool's fee tier, in hundredths of a bip"
|
|
116
|
+
},
|
|
117
|
+
"amountOutMin": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
120
|
+
"maxLength": 78,
|
|
121
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
122
|
+
},
|
|
123
|
+
"sqrtPriceLimitX96": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
126
|
+
"maxLength": 49,
|
|
127
|
+
"description": "a price limit; absent or 0 for none"
|
|
128
|
+
},
|
|
129
|
+
"recipient": {
|
|
130
|
+
"$ref": "#/$defs/recipient",
|
|
131
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
132
|
+
},
|
|
133
|
+
"amountRef": {
|
|
134
|
+
"$ref": "#/$defs/identifier",
|
|
135
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
136
|
+
},
|
|
137
|
+
"saveOutputAs": {
|
|
138
|
+
"$ref": "#/$defs/identifier",
|
|
139
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"action_uniswapV3ExactInputMultiHop": {
|
|
144
|
+
"title": "uniswapV3ExactInputMultiHop",
|
|
145
|
+
"description": "Swaps an exact input along a packed Uniswap V3 path. Calls SwapRouter02.exactInput.",
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"required": ["type", "router", "path", "amountOutMin", "recipient"],
|
|
149
|
+
"properties": {
|
|
150
|
+
"type": { "const": "uniswapV3ExactInputMultiHop" },
|
|
151
|
+
"amount": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
154
|
+
"maxLength": 78,
|
|
155
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
156
|
+
},
|
|
157
|
+
"router": { "$ref": "#/$defs/address", "description": "the SwapRouter02" },
|
|
158
|
+
"path": {
|
|
159
|
+
"$ref": "#/$defs/bytes",
|
|
160
|
+
"description": "the packed path: token ++ fee (3 bytes) ++ token ++ …"
|
|
161
|
+
},
|
|
162
|
+
"amountOutMin": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
165
|
+
"maxLength": 78,
|
|
166
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
167
|
+
},
|
|
168
|
+
"recipient": {
|
|
169
|
+
"$ref": "#/$defs/recipient",
|
|
170
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
171
|
+
},
|
|
172
|
+
"amountRef": {
|
|
173
|
+
"$ref": "#/$defs/identifier",
|
|
174
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
175
|
+
},
|
|
176
|
+
"saveOutputAs": {
|
|
177
|
+
"$ref": "#/$defs/identifier",
|
|
178
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"action_uniswapV4ExactInput": {
|
|
183
|
+
"title": "uniswapV4ExactInput",
|
|
184
|
+
"description": "Swaps an exact ERC-20 input through one Uniswap V4 pool via the Universal Router. Calls an ERC-20 transfer to the router, then UniversalRouter.execute (V4_SWAP: swap, settle, take).",
|
|
185
|
+
"type": "object",
|
|
186
|
+
"additionalProperties": false,
|
|
187
|
+
"required": ["type", "router", "poolKey", "zeroForOne", "amountOutMin", "recipient"],
|
|
188
|
+
"properties": {
|
|
189
|
+
"type": { "const": "uniswapV4ExactInput" },
|
|
190
|
+
"amount": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
193
|
+
"maxLength": 78,
|
|
194
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
195
|
+
},
|
|
196
|
+
"router": { "$ref": "#/$defs/address", "description": "the Universal Router" },
|
|
197
|
+
"poolKey": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"additionalProperties": false,
|
|
200
|
+
"required": ["currency0", "currency1", "fee", "tickSpacing", "hooks"],
|
|
201
|
+
"properties": {
|
|
202
|
+
"currency0": { "$ref": "#/$defs/address", "description": "the pool's lower currency" },
|
|
203
|
+
"currency1": { "$ref": "#/$defs/address", "description": "the pool's higher currency" },
|
|
204
|
+
"fee": {
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"minimum": 0,
|
|
207
|
+
"maximum": 16777215,
|
|
208
|
+
"description": "the pool fee, in hundredths of a bip"
|
|
209
|
+
},
|
|
210
|
+
"tickSpacing": {
|
|
211
|
+
"type": "integer",
|
|
212
|
+
"minimum": 1,
|
|
213
|
+
"maximum": 32767,
|
|
214
|
+
"description": "the pool's tick spacing"
|
|
215
|
+
},
|
|
216
|
+
"hooks": {
|
|
217
|
+
"$ref": "#/$defs/address",
|
|
218
|
+
"description": "the pool's hooks contract, or the zero address"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"description": "the V4 pool key"
|
|
222
|
+
},
|
|
223
|
+
"zeroForOne": { "type": "boolean", "description": "true sells currency0 for currency1" },
|
|
224
|
+
"amountOutMin": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
227
|
+
"maxLength": 39,
|
|
228
|
+
"description": "the least output accepted; the router reverts below it"
|
|
229
|
+
},
|
|
230
|
+
"recipient": {
|
|
231
|
+
"$ref": "#/$defs/recipient",
|
|
232
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
233
|
+
},
|
|
234
|
+
"amountRef": {
|
|
235
|
+
"$ref": "#/$defs/identifier",
|
|
236
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
237
|
+
},
|
|
238
|
+
"saveOutputAs": {
|
|
239
|
+
"$ref": "#/$defs/identifier",
|
|
240
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"action_uniswapV4ExactInputMultiHop": {
|
|
245
|
+
"title": "uniswapV4ExactInputMultiHop",
|
|
246
|
+
"description": "Swaps an exact ERC-20 input along a Uniswap V4 path via the Universal Router. Calls an ERC-20 transfer to the router, then UniversalRouter.execute (V4_SWAP: swap, settle, take).",
|
|
247
|
+
"type": "object",
|
|
248
|
+
"additionalProperties": false,
|
|
249
|
+
"required": ["type", "router", "currencyIn", "path", "amountOutMin", "recipient"],
|
|
250
|
+
"properties": {
|
|
251
|
+
"type": { "const": "uniswapV4ExactInputMultiHop" },
|
|
252
|
+
"amount": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
255
|
+
"maxLength": 78,
|
|
256
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
257
|
+
},
|
|
258
|
+
"router": { "$ref": "#/$defs/address", "description": "the Universal Router" },
|
|
259
|
+
"currencyIn": { "$ref": "#/$defs/address", "description": "the currency sold" },
|
|
260
|
+
"path": {
|
|
261
|
+
"type": "array",
|
|
262
|
+
"items": {
|
|
263
|
+
"type": "object",
|
|
264
|
+
"additionalProperties": false,
|
|
265
|
+
"required": ["intermediateCurrency", "fee", "tickSpacing", "hooks"],
|
|
266
|
+
"properties": {
|
|
267
|
+
"intermediateCurrency": {
|
|
268
|
+
"$ref": "#/$defs/address",
|
|
269
|
+
"description": "the currency this hop buys"
|
|
270
|
+
},
|
|
271
|
+
"fee": {
|
|
272
|
+
"type": "integer",
|
|
273
|
+
"minimum": 0,
|
|
274
|
+
"maximum": 16777215,
|
|
275
|
+
"description": "the hop's pool fee"
|
|
276
|
+
},
|
|
277
|
+
"tickSpacing": {
|
|
278
|
+
"type": "integer",
|
|
279
|
+
"minimum": 1,
|
|
280
|
+
"maximum": 32767,
|
|
281
|
+
"description": "the hop's pool tick spacing"
|
|
282
|
+
},
|
|
283
|
+
"hooks": {
|
|
284
|
+
"$ref": "#/$defs/address",
|
|
285
|
+
"description": "the hop's pool hooks, or the zero address"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"minItems": 1,
|
|
290
|
+
"description": "the hops, in order; the last hop's currency is the output"
|
|
291
|
+
},
|
|
292
|
+
"amountOutMin": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
295
|
+
"maxLength": 39,
|
|
296
|
+
"description": "the least output accepted; the router reverts below it"
|
|
297
|
+
},
|
|
298
|
+
"recipient": {
|
|
299
|
+
"$ref": "#/$defs/recipient",
|
|
300
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
301
|
+
},
|
|
302
|
+
"amountRef": {
|
|
303
|
+
"$ref": "#/$defs/identifier",
|
|
304
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
305
|
+
},
|
|
306
|
+
"saveOutputAs": {
|
|
307
|
+
"$ref": "#/$defs/identifier",
|
|
308
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"action_curveSwap": {
|
|
313
|
+
"title": "curveSwap",
|
|
314
|
+
"description": "Swaps through a Curve pool's 4-argument `exchange`; the output is a balance delta. Calls pool.exchange(int128,int128,uint256,uint256).",
|
|
315
|
+
"type": "object",
|
|
316
|
+
"additionalProperties": false,
|
|
317
|
+
"required": ["type", "pool", "tokenOut", "i", "j", "amountOutMin", "recipient"],
|
|
318
|
+
"properties": {
|
|
319
|
+
"type": { "const": "curveSwap" },
|
|
320
|
+
"amount": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
323
|
+
"maxLength": 78,
|
|
324
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
325
|
+
},
|
|
326
|
+
"pool": { "$ref": "#/$defs/address", "description": "the Curve pool" },
|
|
327
|
+
"tokenOut": {
|
|
328
|
+
"$ref": "#/$defs/address",
|
|
329
|
+
"description": "the token bought, whose balance delta is the output"
|
|
330
|
+
},
|
|
331
|
+
"i": {
|
|
332
|
+
"type": "integer",
|
|
333
|
+
"minimum": 0,
|
|
334
|
+
"maximum": 7,
|
|
335
|
+
"description": "the pool index of the coin sold"
|
|
336
|
+
},
|
|
337
|
+
"j": {
|
|
338
|
+
"type": "integer",
|
|
339
|
+
"minimum": 0,
|
|
340
|
+
"maximum": 7,
|
|
341
|
+
"description": "the pool index of the coin bought"
|
|
342
|
+
},
|
|
343
|
+
"amountOutMin": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
346
|
+
"maxLength": 78,
|
|
347
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
348
|
+
},
|
|
349
|
+
"recipient": {
|
|
350
|
+
"$ref": "#/$defs/recipient",
|
|
351
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot; the pool pays the Pot, which forwards it with a transfer"
|
|
352
|
+
},
|
|
353
|
+
"amountRef": {
|
|
354
|
+
"$ref": "#/$defs/identifier",
|
|
355
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
356
|
+
},
|
|
357
|
+
"saveOutputAs": {
|
|
358
|
+
"$ref": "#/$defs/identifier",
|
|
359
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"action_curveRouterNGSwap": {
|
|
364
|
+
"title": "curveRouterNGSwap",
|
|
365
|
+
"description": "Swaps along a Curve RouterNG route of up to five hops. Calls RouterNG.exchange(address[11],uint256[5][5],uint256,uint256,address[5],address).",
|
|
366
|
+
"type": "object",
|
|
367
|
+
"additionalProperties": false,
|
|
368
|
+
"required": ["type", "router", "route", "swapParams", "pools", "amountOutMin", "recipient"],
|
|
369
|
+
"properties": {
|
|
370
|
+
"type": { "const": "curveRouterNGSwap" },
|
|
371
|
+
"amount": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
374
|
+
"maxLength": 78,
|
|
375
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
376
|
+
},
|
|
377
|
+
"router": { "$ref": "#/$defs/address", "description": "the Curve RouterNG" },
|
|
378
|
+
"route": {
|
|
379
|
+
"type": "array",
|
|
380
|
+
"items": { "$ref": "#/$defs/address" },
|
|
381
|
+
"minItems": 1,
|
|
382
|
+
"maxItems": 11,
|
|
383
|
+
"description": "the route; padded to 11 with zero addresses"
|
|
384
|
+
},
|
|
385
|
+
"swapParams": {
|
|
386
|
+
"type": "array",
|
|
387
|
+
"items": {
|
|
388
|
+
"type": "array",
|
|
389
|
+
"prefixItems": [
|
|
390
|
+
{ "type": "integer", "minimum": 0, "maximum": 255 },
|
|
391
|
+
{ "type": "integer", "minimum": 0, "maximum": 255 },
|
|
392
|
+
{ "type": "integer", "minimum": 0, "maximum": 255 },
|
|
393
|
+
{ "type": "integer", "minimum": 0, "maximum": 255 },
|
|
394
|
+
{ "type": "integer", "minimum": 0, "maximum": 255 }
|
|
395
|
+
],
|
|
396
|
+
"items": false,
|
|
397
|
+
"minItems": 5
|
|
398
|
+
},
|
|
399
|
+
"minItems": 1,
|
|
400
|
+
"maxItems": 5,
|
|
401
|
+
"description": "per hop: [i, j, swap_type, pool_type, n_coins]; padded to 5 rows"
|
|
402
|
+
},
|
|
403
|
+
"pools": {
|
|
404
|
+
"type": "array",
|
|
405
|
+
"items": { "$ref": "#/$defs/address" },
|
|
406
|
+
"maxItems": 5,
|
|
407
|
+
"description": "a zap pool where a hop needs one; padded to 5"
|
|
408
|
+
},
|
|
409
|
+
"amountOutMin": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
412
|
+
"maxLength": 78,
|
|
413
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
414
|
+
},
|
|
415
|
+
"recipient": {
|
|
416
|
+
"$ref": "#/$defs/recipient",
|
|
417
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
418
|
+
},
|
|
419
|
+
"amountRef": {
|
|
420
|
+
"$ref": "#/$defs/identifier",
|
|
421
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
422
|
+
},
|
|
423
|
+
"saveOutputAs": {
|
|
424
|
+
"$ref": "#/$defs/identifier",
|
|
425
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"action_balancerV2Swap": {
|
|
430
|
+
"title": "balancerV2Swap",
|
|
431
|
+
"description": "Swaps through one Balancer V2 pool. Calls Vault.swap.",
|
|
432
|
+
"type": "object",
|
|
433
|
+
"additionalProperties": false,
|
|
434
|
+
"required": [
|
|
435
|
+
"type",
|
|
436
|
+
"vault",
|
|
437
|
+
"poolId",
|
|
438
|
+
"tokenIn",
|
|
439
|
+
"tokenOut",
|
|
440
|
+
"amountOutMin",
|
|
441
|
+
"recipient",
|
|
442
|
+
"deadline"
|
|
443
|
+
],
|
|
444
|
+
"properties": {
|
|
445
|
+
"type": { "const": "balancerV2Swap" },
|
|
446
|
+
"amount": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
449
|
+
"maxLength": 78,
|
|
450
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
451
|
+
},
|
|
452
|
+
"vault": { "$ref": "#/$defs/address", "description": "the Balancer V2 Vault" },
|
|
453
|
+
"poolId": { "$ref": "#/$defs/bytes32", "description": "the pool id" },
|
|
454
|
+
"tokenIn": { "$ref": "#/$defs/address", "description": "the token sold" },
|
|
455
|
+
"tokenOut": { "$ref": "#/$defs/address", "description": "the token bought" },
|
|
456
|
+
"amountOutMin": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
459
|
+
"maxLength": 78,
|
|
460
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
461
|
+
},
|
|
462
|
+
"recipient": {
|
|
463
|
+
"$ref": "#/$defs/recipient",
|
|
464
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
465
|
+
},
|
|
466
|
+
"deadline": {
|
|
467
|
+
"type": "integer",
|
|
468
|
+
"minimum": 0,
|
|
469
|
+
"maximum": 9007199254740991,
|
|
470
|
+
"description": "Unix seconds after which the venue reverts"
|
|
471
|
+
},
|
|
472
|
+
"amountRef": {
|
|
473
|
+
"$ref": "#/$defs/identifier",
|
|
474
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
475
|
+
},
|
|
476
|
+
"saveOutputAs": {
|
|
477
|
+
"$ref": "#/$defs/identifier",
|
|
478
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"action_balancerV2BatchSwap": {
|
|
483
|
+
"title": "balancerV2BatchSwap",
|
|
484
|
+
"description": "Swaps along Balancer V2 pools in one batch; the output is a balance delta. Calls Vault.batchSwap.",
|
|
485
|
+
"type": "object",
|
|
486
|
+
"additionalProperties": false,
|
|
487
|
+
"required": ["type", "vault", "steps", "assets", "amountOutMin", "recipient", "deadline"],
|
|
488
|
+
"properties": {
|
|
489
|
+
"type": { "const": "balancerV2BatchSwap" },
|
|
490
|
+
"vault": { "$ref": "#/$defs/address", "description": "the Balancer V2 Vault" },
|
|
491
|
+
"steps": {
|
|
492
|
+
"type": "array",
|
|
493
|
+
"items": {
|
|
494
|
+
"type": "object",
|
|
495
|
+
"additionalProperties": false,
|
|
496
|
+
"required": ["poolId", "assetInIndex", "assetOutIndex", "amount"],
|
|
497
|
+
"properties": {
|
|
498
|
+
"poolId": { "$ref": "#/$defs/bytes32", "description": "the step's pool id" },
|
|
499
|
+
"assetInIndex": {
|
|
500
|
+
"type": "integer",
|
|
501
|
+
"minimum": 0,
|
|
502
|
+
"maximum": 255,
|
|
503
|
+
"description": "index into `assets` of the step's input"
|
|
504
|
+
},
|
|
505
|
+
"assetOutIndex": {
|
|
506
|
+
"type": "integer",
|
|
507
|
+
"minimum": 0,
|
|
508
|
+
"maximum": 255,
|
|
509
|
+
"description": "index into `assets` of the step's output"
|
|
510
|
+
},
|
|
511
|
+
"amount": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
514
|
+
"maxLength": 78,
|
|
515
|
+
"description": "the step's input; 0 spends the previous step's output"
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"minItems": 1,
|
|
520
|
+
"description": "the batch's steps; the last step's output asset is the output"
|
|
521
|
+
},
|
|
522
|
+
"assets": {
|
|
523
|
+
"type": "array",
|
|
524
|
+
"items": { "$ref": "#/$defs/address" },
|
|
525
|
+
"minItems": 2,
|
|
526
|
+
"description": "every asset the steps index"
|
|
527
|
+
},
|
|
528
|
+
"amountOutMin": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
531
|
+
"maxLength": 78,
|
|
532
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
533
|
+
},
|
|
534
|
+
"recipient": {
|
|
535
|
+
"$ref": "#/$defs/recipient",
|
|
536
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
537
|
+
},
|
|
538
|
+
"deadline": {
|
|
539
|
+
"type": "integer",
|
|
540
|
+
"minimum": 0,
|
|
541
|
+
"maximum": 9007199254740991,
|
|
542
|
+
"description": "Unix seconds after which the venue reverts"
|
|
543
|
+
},
|
|
544
|
+
"saveOutputAs": {
|
|
545
|
+
"$ref": "#/$defs/identifier",
|
|
546
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"action_balancerV3Swap": {
|
|
551
|
+
"title": "balancerV3Swap",
|
|
552
|
+
"description": "Swaps an exact input through one Balancer V3 pool; the router pays the Pot and pulls through Permit2. Calls Router.swapSingleTokenExactIn.",
|
|
553
|
+
"type": "object",
|
|
554
|
+
"additionalProperties": false,
|
|
555
|
+
"required": [
|
|
556
|
+
"type",
|
|
557
|
+
"router",
|
|
558
|
+
"pool",
|
|
559
|
+
"tokenIn",
|
|
560
|
+
"tokenOut",
|
|
561
|
+
"amountOutMin",
|
|
562
|
+
"deadline",
|
|
563
|
+
"wethIsEth"
|
|
564
|
+
],
|
|
565
|
+
"properties": {
|
|
566
|
+
"type": { "const": "balancerV3Swap" },
|
|
567
|
+
"amount": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
570
|
+
"maxLength": 78,
|
|
571
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
572
|
+
},
|
|
573
|
+
"router": { "$ref": "#/$defs/address", "description": "the Balancer V3 Router" },
|
|
574
|
+
"pool": { "$ref": "#/$defs/address", "description": "the pool" },
|
|
575
|
+
"tokenIn": { "$ref": "#/$defs/address", "description": "the token sold" },
|
|
576
|
+
"tokenOut": { "$ref": "#/$defs/address", "description": "the token bought" },
|
|
577
|
+
"amountOutMin": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
580
|
+
"maxLength": 78,
|
|
581
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
582
|
+
},
|
|
583
|
+
"deadline": {
|
|
584
|
+
"type": "integer",
|
|
585
|
+
"minimum": 0,
|
|
586
|
+
"maximum": 9007199254740991,
|
|
587
|
+
"description": "Unix seconds after which the venue reverts"
|
|
588
|
+
},
|
|
589
|
+
"wethIsEth": {
|
|
590
|
+
"type": "boolean",
|
|
591
|
+
"description": "true to pay or receive native ETH for WETH"
|
|
592
|
+
},
|
|
593
|
+
"amountRef": {
|
|
594
|
+
"$ref": "#/$defs/identifier",
|
|
595
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
596
|
+
},
|
|
597
|
+
"saveOutputAs": {
|
|
598
|
+
"$ref": "#/$defs/identifier",
|
|
599
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"action_uniswapV2Swap": {
|
|
604
|
+
"title": "uniswapV2Swap",
|
|
605
|
+
"description": "Swaps an exact input along a Uniswap V2 path; the output is a balance delta. Calls UniswapV2Router.swapExactTokensForTokens.",
|
|
606
|
+
"type": "object",
|
|
607
|
+
"additionalProperties": false,
|
|
608
|
+
"required": ["type", "router", "path", "amountOutMin", "recipient", "deadline"],
|
|
609
|
+
"properties": {
|
|
610
|
+
"type": { "const": "uniswapV2Swap" },
|
|
611
|
+
"amount": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
614
|
+
"maxLength": 78,
|
|
615
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
616
|
+
},
|
|
617
|
+
"router": { "$ref": "#/$defs/address", "description": "the V2 router" },
|
|
618
|
+
"path": {
|
|
619
|
+
"type": "array",
|
|
620
|
+
"items": { "$ref": "#/$defs/address" },
|
|
621
|
+
"minItems": 2,
|
|
622
|
+
"description": "the token path; the last token is the output"
|
|
623
|
+
},
|
|
624
|
+
"amountOutMin": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
627
|
+
"maxLength": 78,
|
|
628
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
629
|
+
},
|
|
630
|
+
"recipient": {
|
|
631
|
+
"$ref": "#/$defs/recipient",
|
|
632
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
633
|
+
},
|
|
634
|
+
"deadline": {
|
|
635
|
+
"type": "integer",
|
|
636
|
+
"minimum": 0,
|
|
637
|
+
"maximum": 9007199254740991,
|
|
638
|
+
"description": "Unix seconds after which the venue reverts"
|
|
639
|
+
},
|
|
640
|
+
"amountRef": {
|
|
641
|
+
"$ref": "#/$defs/identifier",
|
|
642
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
643
|
+
},
|
|
644
|
+
"saveOutputAs": {
|
|
645
|
+
"$ref": "#/$defs/identifier",
|
|
646
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"action_ambientSwap": {
|
|
651
|
+
"title": "ambientSwap",
|
|
652
|
+
"description": "Swaps through an Ambient (CrocSwap) pool; the dex pays the Pot, and the output is a balance delta. Calls CrocSwapDex.userCmd(1, abi.encode(...)).",
|
|
653
|
+
"type": "object",
|
|
654
|
+
"additionalProperties": false,
|
|
655
|
+
"required": [
|
|
656
|
+
"type",
|
|
657
|
+
"dex",
|
|
658
|
+
"base",
|
|
659
|
+
"quote",
|
|
660
|
+
"poolIdx",
|
|
661
|
+
"isBuy",
|
|
662
|
+
"inBaseQty",
|
|
663
|
+
"tip",
|
|
664
|
+
"limitPrice",
|
|
665
|
+
"amountOutMin",
|
|
666
|
+
"reserveFlags"
|
|
667
|
+
],
|
|
668
|
+
"properties": {
|
|
669
|
+
"type": { "const": "ambientSwap" },
|
|
670
|
+
"amount": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
673
|
+
"maxLength": 78,
|
|
674
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
675
|
+
},
|
|
676
|
+
"dex": { "$ref": "#/$defs/address", "description": "the CrocSwapDex" },
|
|
677
|
+
"base": {
|
|
678
|
+
"$ref": "#/$defs/address",
|
|
679
|
+
"description": "the pool's base token (numerically lower)"
|
|
680
|
+
},
|
|
681
|
+
"quote": { "$ref": "#/$defs/address", "description": "the pool's quote token" },
|
|
682
|
+
"poolIdx": {
|
|
683
|
+
"type": "integer",
|
|
684
|
+
"minimum": 0,
|
|
685
|
+
"maximum": 9007199254740991,
|
|
686
|
+
"description": "the pool type index (420 is the standard pool)"
|
|
687
|
+
},
|
|
688
|
+
"isBuy": { "type": "boolean", "description": "true pays base and receives quote" },
|
|
689
|
+
"inBaseQty": {
|
|
690
|
+
"type": "boolean",
|
|
691
|
+
"description": "true when the amount is denominated in the base token"
|
|
692
|
+
},
|
|
693
|
+
"tip": {
|
|
694
|
+
"type": "integer",
|
|
695
|
+
"minimum": 0,
|
|
696
|
+
"maximum": 65535,
|
|
697
|
+
"description": "0 accepts the pool's default fee"
|
|
698
|
+
},
|
|
699
|
+
"limitPrice": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
702
|
+
"maxLength": 39,
|
|
703
|
+
"description": "the worst acceptable price, as a Q64.64 square-root price"
|
|
704
|
+
},
|
|
705
|
+
"amountOutMin": {
|
|
706
|
+
"type": "string",
|
|
707
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
708
|
+
"maxLength": 39,
|
|
709
|
+
"description": "the least output accepted; the dex reverts below it"
|
|
710
|
+
},
|
|
711
|
+
"reserveFlags": {
|
|
712
|
+
"type": "integer",
|
|
713
|
+
"minimum": 0,
|
|
714
|
+
"maximum": 255,
|
|
715
|
+
"description": "0x1 settles base from surplus, 0x2 quote"
|
|
716
|
+
},
|
|
717
|
+
"amountRef": {
|
|
718
|
+
"$ref": "#/$defs/identifier",
|
|
719
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
720
|
+
},
|
|
721
|
+
"saveOutputAs": {
|
|
722
|
+
"$ref": "#/$defs/identifier",
|
|
723
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"action_dodoSwap": {
|
|
728
|
+
"title": "dodoSwap",
|
|
729
|
+
"description": "Swaps through DODO pairs via the DODO proxy, which pays the Pot. Calls DODOProxy.dodoSwapV2TokenToToken (or dodoSwapV1).",
|
|
730
|
+
"type": "object",
|
|
731
|
+
"additionalProperties": false,
|
|
732
|
+
"required": [
|
|
733
|
+
"type",
|
|
734
|
+
"proxy",
|
|
735
|
+
"fromToken",
|
|
736
|
+
"toToken",
|
|
737
|
+
"pairs",
|
|
738
|
+
"directions",
|
|
739
|
+
"amountOutMin",
|
|
740
|
+
"deadline"
|
|
741
|
+
],
|
|
742
|
+
"properties": {
|
|
743
|
+
"type": { "const": "dodoSwap" },
|
|
744
|
+
"amount": {
|
|
745
|
+
"type": "string",
|
|
746
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
747
|
+
"maxLength": 78,
|
|
748
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
749
|
+
},
|
|
750
|
+
"proxy": {
|
|
751
|
+
"$ref": "#/$defs/address",
|
|
752
|
+
"description": "the DODO proxy; approvals go to DODOApprove, not to it"
|
|
753
|
+
},
|
|
754
|
+
"fromToken": { "$ref": "#/$defs/address", "description": "the token sold" },
|
|
755
|
+
"toToken": { "$ref": "#/$defs/address", "description": "the token bought" },
|
|
756
|
+
"pairs": {
|
|
757
|
+
"type": "array",
|
|
758
|
+
"items": { "$ref": "#/$defs/address" },
|
|
759
|
+
"minItems": 1,
|
|
760
|
+
"description": "the pairs to route through"
|
|
761
|
+
},
|
|
762
|
+
"directions": {
|
|
763
|
+
"type": "integer",
|
|
764
|
+
"minimum": 0,
|
|
765
|
+
"maximum": 9007199254740991,
|
|
766
|
+
"description": "a bit per pair: 0 sells base, 1 sells quote"
|
|
767
|
+
},
|
|
768
|
+
"amountOutMin": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
771
|
+
"maxLength": 78,
|
|
772
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
773
|
+
},
|
|
774
|
+
"deadline": {
|
|
775
|
+
"type": "integer",
|
|
776
|
+
"minimum": 0,
|
|
777
|
+
"maximum": 9007199254740991,
|
|
778
|
+
"description": "Unix seconds after which the venue reverts"
|
|
779
|
+
},
|
|
780
|
+
"version": {
|
|
781
|
+
"enum": ["v1", "v2"],
|
|
782
|
+
"description": "\"v1\" routes legacy Classical pairs through `dodoSwapV1`; default \"v2\""
|
|
783
|
+
},
|
|
784
|
+
"amountRef": {
|
|
785
|
+
"$ref": "#/$defs/identifier",
|
|
786
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
787
|
+
},
|
|
788
|
+
"saveOutputAs": {
|
|
789
|
+
"$ref": "#/$defs/identifier",
|
|
790
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"action_maverickSwap": {
|
|
795
|
+
"title": "maverickSwap",
|
|
796
|
+
"description": "Swaps an exact input through one Maverick V2 pool. Calls MaverickV2Router.exactInputSingle.",
|
|
797
|
+
"type": "object",
|
|
798
|
+
"additionalProperties": false,
|
|
799
|
+
"required": ["type", "router", "pool", "tokenAIn", "amountOutMin", "recipient"],
|
|
800
|
+
"properties": {
|
|
801
|
+
"type": { "const": "maverickSwap" },
|
|
802
|
+
"amount": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
805
|
+
"maxLength": 78,
|
|
806
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
807
|
+
},
|
|
808
|
+
"router": { "$ref": "#/$defs/address", "description": "the Maverick V2 router" },
|
|
809
|
+
"pool": { "$ref": "#/$defs/address", "description": "the pool" },
|
|
810
|
+
"tokenAIn": { "type": "boolean", "description": "true sells the pool's token A" },
|
|
811
|
+
"amountOutMin": {
|
|
812
|
+
"type": "string",
|
|
813
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
814
|
+
"maxLength": 78,
|
|
815
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
816
|
+
},
|
|
817
|
+
"recipient": {
|
|
818
|
+
"$ref": "#/$defs/recipient",
|
|
819
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
820
|
+
},
|
|
821
|
+
"amountRef": {
|
|
822
|
+
"$ref": "#/$defs/identifier",
|
|
823
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
824
|
+
},
|
|
825
|
+
"saveOutputAs": {
|
|
826
|
+
"$ref": "#/$defs/identifier",
|
|
827
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"action_maverickMultiHopSwap": {
|
|
832
|
+
"title": "maverickMultiHopSwap",
|
|
833
|
+
"description": "Swaps an exact input along a packed Maverick V2 path. Calls MaverickV2Router.exactInputMultiHop.",
|
|
834
|
+
"type": "object",
|
|
835
|
+
"additionalProperties": false,
|
|
836
|
+
"required": ["type", "router", "path", "amountOutMin", "recipient"],
|
|
837
|
+
"properties": {
|
|
838
|
+
"type": { "const": "maverickMultiHopSwap" },
|
|
839
|
+
"amount": {
|
|
840
|
+
"type": "string",
|
|
841
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
842
|
+
"maxLength": 78,
|
|
843
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
844
|
+
},
|
|
845
|
+
"router": { "$ref": "#/$defs/address", "description": "the Maverick V2 router" },
|
|
846
|
+
"path": {
|
|
847
|
+
"$ref": "#/$defs/bytes",
|
|
848
|
+
"description": "per hop, the pool's 20 bytes then one byte: 1 sells token A, 0 token B"
|
|
849
|
+
},
|
|
850
|
+
"amountOutMin": {
|
|
851
|
+
"type": "string",
|
|
852
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
853
|
+
"maxLength": 78,
|
|
854
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
855
|
+
},
|
|
856
|
+
"recipient": {
|
|
857
|
+
"$ref": "#/$defs/recipient",
|
|
858
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
859
|
+
},
|
|
860
|
+
"amountRef": {
|
|
861
|
+
"$ref": "#/$defs/identifier",
|
|
862
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
863
|
+
},
|
|
864
|
+
"saveOutputAs": {
|
|
865
|
+
"$ref": "#/$defs/identifier",
|
|
866
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"action_carbonSwap": {
|
|
871
|
+
"title": "carbonSwap",
|
|
872
|
+
"description": "Trades against Carbon strategies by source amount; the controller pays the Pot. Calls CarbonController.tradeBySourceAmount.",
|
|
873
|
+
"type": "object",
|
|
874
|
+
"additionalProperties": false,
|
|
875
|
+
"required": [
|
|
876
|
+
"type",
|
|
877
|
+
"controller",
|
|
878
|
+
"sourceToken",
|
|
879
|
+
"targetToken",
|
|
880
|
+
"tradeActions",
|
|
881
|
+
"amountOutMin",
|
|
882
|
+
"deadline"
|
|
883
|
+
],
|
|
884
|
+
"properties": {
|
|
885
|
+
"type": { "const": "carbonSwap" },
|
|
886
|
+
"controller": { "$ref": "#/$defs/address", "description": "the CarbonController" },
|
|
887
|
+
"sourceToken": { "$ref": "#/$defs/address", "description": "the token sold" },
|
|
888
|
+
"targetToken": { "$ref": "#/$defs/address", "description": "the token bought" },
|
|
889
|
+
"tradeActions": {
|
|
890
|
+
"type": "array",
|
|
891
|
+
"items": {
|
|
892
|
+
"type": "object",
|
|
893
|
+
"additionalProperties": false,
|
|
894
|
+
"required": ["strategyId", "amount"],
|
|
895
|
+
"properties": {
|
|
896
|
+
"strategyId": {
|
|
897
|
+
"type": "string",
|
|
898
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
899
|
+
"maxLength": 78,
|
|
900
|
+
"description": "the strategy"
|
|
901
|
+
},
|
|
902
|
+
"amount": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
905
|
+
"maxLength": 39,
|
|
906
|
+
"description": "the source amount traded against it"
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
"minItems": 1,
|
|
911
|
+
"description": "the source amount per strategy; together they are the trade"
|
|
912
|
+
},
|
|
913
|
+
"amountOutMin": {
|
|
914
|
+
"type": "string",
|
|
915
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
916
|
+
"maxLength": 39,
|
|
917
|
+
"description": "the least output accepted; the controller reverts below it"
|
|
918
|
+
},
|
|
919
|
+
"deadline": {
|
|
920
|
+
"type": "integer",
|
|
921
|
+
"minimum": 0,
|
|
922
|
+
"maximum": 9007199254740991,
|
|
923
|
+
"description": "Unix seconds after which the venue reverts"
|
|
924
|
+
},
|
|
925
|
+
"saveOutputAs": {
|
|
926
|
+
"$ref": "#/$defs/identifier",
|
|
927
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"action_fraxswapSwap": {
|
|
932
|
+
"title": "fraxswapSwap",
|
|
933
|
+
"description": "Swaps an exact input along a Fraxswap path; the output is a balance delta. Calls FraxswapRouter.swapExactTokensForTokens.",
|
|
934
|
+
"type": "object",
|
|
935
|
+
"additionalProperties": false,
|
|
936
|
+
"required": ["type", "router", "path", "amountOutMin", "recipient", "deadline"],
|
|
937
|
+
"properties": {
|
|
938
|
+
"type": { "const": "fraxswapSwap" },
|
|
939
|
+
"amount": {
|
|
940
|
+
"type": "string",
|
|
941
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
942
|
+
"maxLength": 78,
|
|
943
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
944
|
+
},
|
|
945
|
+
"router": { "$ref": "#/$defs/address", "description": "the Fraxswap router" },
|
|
946
|
+
"path": {
|
|
947
|
+
"type": "array",
|
|
948
|
+
"items": { "$ref": "#/$defs/address" },
|
|
949
|
+
"minItems": 2,
|
|
950
|
+
"description": "the token path; the last token is the output"
|
|
951
|
+
},
|
|
952
|
+
"amountOutMin": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
955
|
+
"maxLength": 78,
|
|
956
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
957
|
+
},
|
|
958
|
+
"recipient": {
|
|
959
|
+
"$ref": "#/$defs/recipient",
|
|
960
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
961
|
+
},
|
|
962
|
+
"deadline": {
|
|
963
|
+
"type": "integer",
|
|
964
|
+
"minimum": 0,
|
|
965
|
+
"maximum": 9007199254740991,
|
|
966
|
+
"description": "Unix seconds after which the venue reverts"
|
|
967
|
+
},
|
|
968
|
+
"amountRef": {
|
|
969
|
+
"$ref": "#/$defs/identifier",
|
|
970
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
971
|
+
},
|
|
972
|
+
"saveOutputAs": {
|
|
973
|
+
"$ref": "#/$defs/identifier",
|
|
974
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"action_fluidDexT1Swap": {
|
|
979
|
+
"title": "fluidDexT1Swap",
|
|
980
|
+
"description": "Swaps an exact ERC-20 input through a Fluid DEX T1 pool. Calls FluidDexT1.swapIn.",
|
|
981
|
+
"type": "object",
|
|
982
|
+
"additionalProperties": false,
|
|
983
|
+
"required": ["type", "pool", "swap0to1", "amountOutMin", "recipient"],
|
|
984
|
+
"properties": {
|
|
985
|
+
"type": { "const": "fluidDexT1Swap" },
|
|
986
|
+
"amount": {
|
|
987
|
+
"type": "string",
|
|
988
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
989
|
+
"maxLength": 78,
|
|
990
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
991
|
+
},
|
|
992
|
+
"pool": { "$ref": "#/$defs/address", "description": "the pool" },
|
|
993
|
+
"swap0to1": { "type": "boolean", "description": "true sells token0" },
|
|
994
|
+
"amountOutMin": {
|
|
995
|
+
"type": "string",
|
|
996
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
997
|
+
"maxLength": 78,
|
|
998
|
+
"description": "the least output accepted; the venue reverts below it"
|
|
999
|
+
},
|
|
1000
|
+
"recipient": {
|
|
1001
|
+
"$ref": "#/$defs/recipient",
|
|
1002
|
+
"description": "receives the output when no later action spends it; `\"self\"` keeps it in the Pot"
|
|
1003
|
+
},
|
|
1004
|
+
"amountRef": {
|
|
1005
|
+
"$ref": "#/$defs/identifier",
|
|
1006
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1007
|
+
},
|
|
1008
|
+
"saveOutputAs": {
|
|
1009
|
+
"$ref": "#/$defs/identifier",
|
|
1010
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
"action_acrossBridge": {
|
|
1015
|
+
"title": "acrossBridge",
|
|
1016
|
+
"description": "Deposits into an Across SpokePool for the same token on the destination, less the relayer fee. Calls SpokePool.depositV3.",
|
|
1017
|
+
"type": "object",
|
|
1018
|
+
"additionalProperties": false,
|
|
1019
|
+
"required": [
|
|
1020
|
+
"type",
|
|
1021
|
+
"spokePool",
|
|
1022
|
+
"token",
|
|
1023
|
+
"destChainId",
|
|
1024
|
+
"recipient",
|
|
1025
|
+
"relayerFee",
|
|
1026
|
+
"quoteTimestamp",
|
|
1027
|
+
"fillDeadline",
|
|
1028
|
+
"exclusivityDeadline",
|
|
1029
|
+
"message"
|
|
1030
|
+
],
|
|
1031
|
+
"properties": {
|
|
1032
|
+
"type": { "const": "acrossBridge" },
|
|
1033
|
+
"amount": {
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1036
|
+
"maxLength": 78,
|
|
1037
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1038
|
+
},
|
|
1039
|
+
"spokePool": {
|
|
1040
|
+
"$ref": "#/$defs/address",
|
|
1041
|
+
"description": "the origin SpokePool; it pulls the token, so approve it first"
|
|
1042
|
+
},
|
|
1043
|
+
"token": {
|
|
1044
|
+
"$ref": "#/$defs/address",
|
|
1045
|
+
"description": "the token bridged (input and output)"
|
|
1046
|
+
},
|
|
1047
|
+
"destChainId": {
|
|
1048
|
+
"type": "integer",
|
|
1049
|
+
"minimum": 1,
|
|
1050
|
+
"maximum": 9007199254740991,
|
|
1051
|
+
"description": "the destination chain id"
|
|
1052
|
+
},
|
|
1053
|
+
"recipient": { "$ref": "#/$defs/address", "description": "receives on the destination" },
|
|
1054
|
+
"relayerFee": {
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1057
|
+
"maxLength": 78,
|
|
1058
|
+
"description": "kept by the relayer: the destination receives `amount - relayerFee`"
|
|
1059
|
+
},
|
|
1060
|
+
"quoteTimestamp": {
|
|
1061
|
+
"type": "integer",
|
|
1062
|
+
"minimum": 0,
|
|
1063
|
+
"maximum": 4294967295,
|
|
1064
|
+
"description": "the timestamp the fee was quoted at"
|
|
1065
|
+
},
|
|
1066
|
+
"fillDeadline": {
|
|
1067
|
+
"type": "integer",
|
|
1068
|
+
"minimum": 0,
|
|
1069
|
+
"maximum": 4294967295,
|
|
1070
|
+
"description": "Unix seconds by which a relayer must fill"
|
|
1071
|
+
},
|
|
1072
|
+
"exclusivityDeadline": {
|
|
1073
|
+
"type": "integer",
|
|
1074
|
+
"minimum": 0,
|
|
1075
|
+
"maximum": 4294967295,
|
|
1076
|
+
"description": "Unix seconds of relayer exclusivity; 0 for none"
|
|
1077
|
+
},
|
|
1078
|
+
"message": {
|
|
1079
|
+
"$ref": "#/$defs/bytes",
|
|
1080
|
+
"description": "delivered with the fill; 0x for none"
|
|
1081
|
+
},
|
|
1082
|
+
"amountRef": {
|
|
1083
|
+
"$ref": "#/$defs/identifier",
|
|
1084
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1085
|
+
},
|
|
1086
|
+
"saveOutputAs": {
|
|
1087
|
+
"$ref": "#/$defs/identifier",
|
|
1088
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
"action_stargateBridge": {
|
|
1093
|
+
"title": "stargateBridge",
|
|
1094
|
+
"description": "Sends through a Stargate V2 ERC-20 pool (taxi), paying the LayerZero fee it quotes. Calls StargatePool.quoteSend, then StargatePool.send.",
|
|
1095
|
+
"type": "object",
|
|
1096
|
+
"additionalProperties": false,
|
|
1097
|
+
"required": ["type", "pool", "dstEid", "recipient", "amountOutMin"],
|
|
1098
|
+
"properties": {
|
|
1099
|
+
"type": { "const": "stargateBridge" },
|
|
1100
|
+
"amount": {
|
|
1101
|
+
"type": "string",
|
|
1102
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1103
|
+
"maxLength": 78,
|
|
1104
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1105
|
+
},
|
|
1106
|
+
"pool": {
|
|
1107
|
+
"$ref": "#/$defs/address",
|
|
1108
|
+
"description": "the StargatePool; it pulls the token, so approve it first"
|
|
1109
|
+
},
|
|
1110
|
+
"dstEid": {
|
|
1111
|
+
"type": "integer",
|
|
1112
|
+
"minimum": 0,
|
|
1113
|
+
"maximum": 4294967295,
|
|
1114
|
+
"description": "the destination's LayerZero endpoint id"
|
|
1115
|
+
},
|
|
1116
|
+
"recipient": {
|
|
1117
|
+
"$ref": "#/$defs/remoteRecipient",
|
|
1118
|
+
"description": "receives on the destination"
|
|
1119
|
+
},
|
|
1120
|
+
"amountOutMin": {
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1123
|
+
"maxLength": 78,
|
|
1124
|
+
"description": "the least the destination may receive"
|
|
1125
|
+
},
|
|
1126
|
+
"amountRef": {
|
|
1127
|
+
"$ref": "#/$defs/identifier",
|
|
1128
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1129
|
+
},
|
|
1130
|
+
"saveOutputAs": {
|
|
1131
|
+
"$ref": "#/$defs/identifier",
|
|
1132
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"action_cctpBridge": {
|
|
1137
|
+
"title": "cctpBridge",
|
|
1138
|
+
"description": "Burns USDC through Circle's CCTP V2 TokenMessenger for minting on the destination. Calls TokenMessengerV2.depositForBurn.",
|
|
1139
|
+
"type": "object",
|
|
1140
|
+
"additionalProperties": false,
|
|
1141
|
+
"required": ["type", "tokenMessenger", "token", "destinationDomain", "recipient"],
|
|
1142
|
+
"properties": {
|
|
1143
|
+
"type": { "const": "cctpBridge" },
|
|
1144
|
+
"amount": {
|
|
1145
|
+
"type": "string",
|
|
1146
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1147
|
+
"maxLength": 78,
|
|
1148
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1149
|
+
},
|
|
1150
|
+
"tokenMessenger": {
|
|
1151
|
+
"$ref": "#/$defs/address",
|
|
1152
|
+
"description": "the CCTP V2 TokenMessenger; it pulls the token, so approve it first"
|
|
1153
|
+
},
|
|
1154
|
+
"token": { "$ref": "#/$defs/address", "description": "the burned token (USDC)" },
|
|
1155
|
+
"destinationDomain": {
|
|
1156
|
+
"type": "integer",
|
|
1157
|
+
"minimum": 0,
|
|
1158
|
+
"maximum": 4294967295,
|
|
1159
|
+
"description": "the destination's CCTP domain"
|
|
1160
|
+
},
|
|
1161
|
+
"recipient": {
|
|
1162
|
+
"$ref": "#/$defs/remoteRecipient",
|
|
1163
|
+
"description": "receives the mint on the destination"
|
|
1164
|
+
},
|
|
1165
|
+
"maxFee": {
|
|
1166
|
+
"type": "string",
|
|
1167
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1168
|
+
"maxLength": 78,
|
|
1169
|
+
"description": "the most the transfer may pay in fees, from the amount; default \"0\""
|
|
1170
|
+
},
|
|
1171
|
+
"minFinalityThreshold": {
|
|
1172
|
+
"type": "integer",
|
|
1173
|
+
"minimum": 0,
|
|
1174
|
+
"maximum": 4294967295,
|
|
1175
|
+
"description": "2000 waits for finality (standard, the default); 1000 is fast"
|
|
1176
|
+
},
|
|
1177
|
+
"amountRef": {
|
|
1178
|
+
"$ref": "#/$defs/identifier",
|
|
1179
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1180
|
+
},
|
|
1181
|
+
"saveOutputAs": {
|
|
1182
|
+
"$ref": "#/$defs/identifier",
|
|
1183
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
"action_hyperlaneBridge": {
|
|
1188
|
+
"title": "hyperlaneBridge",
|
|
1189
|
+
"description": "Transfers through a Hyperlane ERC-20 warp route, paying the interchain gas it quotes. Calls TokenRouter.quoteGasPayment, then TokenRouter.transferRemote.",
|
|
1190
|
+
"type": "object",
|
|
1191
|
+
"additionalProperties": false,
|
|
1192
|
+
"required": ["type", "router", "destinationDomain", "recipient"],
|
|
1193
|
+
"properties": {
|
|
1194
|
+
"type": { "const": "hyperlaneBridge" },
|
|
1195
|
+
"amount": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1198
|
+
"maxLength": 78,
|
|
1199
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1200
|
+
},
|
|
1201
|
+
"router": {
|
|
1202
|
+
"$ref": "#/$defs/address",
|
|
1203
|
+
"description": "the warp route; it pulls the amount plus any fee it charges"
|
|
1204
|
+
},
|
|
1205
|
+
"destinationDomain": {
|
|
1206
|
+
"type": "integer",
|
|
1207
|
+
"minimum": 0,
|
|
1208
|
+
"maximum": 4294967295,
|
|
1209
|
+
"description": "the destination's Hyperlane domain"
|
|
1210
|
+
},
|
|
1211
|
+
"recipient": {
|
|
1212
|
+
"$ref": "#/$defs/remoteRecipient",
|
|
1213
|
+
"description": "receives on the destination"
|
|
1214
|
+
},
|
|
1215
|
+
"amountRef": {
|
|
1216
|
+
"$ref": "#/$defs/identifier",
|
|
1217
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1218
|
+
},
|
|
1219
|
+
"saveOutputAs": {
|
|
1220
|
+
"$ref": "#/$defs/identifier",
|
|
1221
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"action_wrapETH": {
|
|
1226
|
+
"title": "wrapETH",
|
|
1227
|
+
"description": "Wraps native ETH into WETH. Calls WETH.deposit.",
|
|
1228
|
+
"type": "object",
|
|
1229
|
+
"additionalProperties": false,
|
|
1230
|
+
"required": ["type", "weth"],
|
|
1231
|
+
"properties": {
|
|
1232
|
+
"type": { "const": "wrapETH" },
|
|
1233
|
+
"amount": {
|
|
1234
|
+
"type": "string",
|
|
1235
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1236
|
+
"maxLength": 78,
|
|
1237
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1238
|
+
},
|
|
1239
|
+
"weth": { "$ref": "#/$defs/address", "description": "the WETH contract" },
|
|
1240
|
+
"amountRef": {
|
|
1241
|
+
"$ref": "#/$defs/identifier",
|
|
1242
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1243
|
+
},
|
|
1244
|
+
"saveOutputAs": {
|
|
1245
|
+
"$ref": "#/$defs/identifier",
|
|
1246
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
"action_unwrapETH": {
|
|
1251
|
+
"title": "unwrapETH",
|
|
1252
|
+
"description": "Unwraps WETH into native ETH. Calls WETH.withdraw.",
|
|
1253
|
+
"type": "object",
|
|
1254
|
+
"additionalProperties": false,
|
|
1255
|
+
"required": ["type", "weth"],
|
|
1256
|
+
"properties": {
|
|
1257
|
+
"type": { "const": "unwrapETH" },
|
|
1258
|
+
"amount": {
|
|
1259
|
+
"type": "string",
|
|
1260
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1261
|
+
"maxLength": 78,
|
|
1262
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1263
|
+
},
|
|
1264
|
+
"weth": { "$ref": "#/$defs/address", "description": "the WETH contract" },
|
|
1265
|
+
"amountRef": {
|
|
1266
|
+
"$ref": "#/$defs/identifier",
|
|
1267
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1268
|
+
},
|
|
1269
|
+
"saveOutputAs": {
|
|
1270
|
+
"$ref": "#/$defs/identifier",
|
|
1271
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"action_wrapStETH": {
|
|
1276
|
+
"title": "wrapStETH",
|
|
1277
|
+
"description": "Wraps stETH into wstETH; the output is the wstETH minted. Calls wstETH.wrap.",
|
|
1278
|
+
"type": "object",
|
|
1279
|
+
"additionalProperties": false,
|
|
1280
|
+
"required": ["type", "wstETH"],
|
|
1281
|
+
"properties": {
|
|
1282
|
+
"type": { "const": "wrapStETH" },
|
|
1283
|
+
"amount": {
|
|
1284
|
+
"type": "string",
|
|
1285
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1286
|
+
"maxLength": 78,
|
|
1287
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1288
|
+
},
|
|
1289
|
+
"wstETH": {
|
|
1290
|
+
"$ref": "#/$defs/address",
|
|
1291
|
+
"description": "the wstETH contract; it pulls the stETH, so approve it first"
|
|
1292
|
+
},
|
|
1293
|
+
"amountRef": {
|
|
1294
|
+
"$ref": "#/$defs/identifier",
|
|
1295
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1296
|
+
},
|
|
1297
|
+
"saveOutputAs": {
|
|
1298
|
+
"$ref": "#/$defs/identifier",
|
|
1299
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
"action_unwrapStETH": {
|
|
1304
|
+
"title": "unwrapStETH",
|
|
1305
|
+
"description": "Unwraps wstETH; the output is the stETH returned. Calls wstETH.unwrap.",
|
|
1306
|
+
"type": "object",
|
|
1307
|
+
"additionalProperties": false,
|
|
1308
|
+
"required": ["type", "wstETH"],
|
|
1309
|
+
"properties": {
|
|
1310
|
+
"type": { "const": "unwrapStETH" },
|
|
1311
|
+
"amount": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1314
|
+
"maxLength": 78,
|
|
1315
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1316
|
+
},
|
|
1317
|
+
"wstETH": { "$ref": "#/$defs/address", "description": "the wstETH contract" },
|
|
1318
|
+
"amountRef": {
|
|
1319
|
+
"$ref": "#/$defs/identifier",
|
|
1320
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1321
|
+
},
|
|
1322
|
+
"saveOutputAs": {
|
|
1323
|
+
"$ref": "#/$defs/identifier",
|
|
1324
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"action_lidoStake": {
|
|
1329
|
+
"title": "lidoStake",
|
|
1330
|
+
"description": "Stakes native ETH with Lido; the output is the stETH received. Calls stETH.submit.",
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"additionalProperties": false,
|
|
1333
|
+
"required": ["type", "stETH"],
|
|
1334
|
+
"properties": {
|
|
1335
|
+
"type": { "const": "lidoStake" },
|
|
1336
|
+
"amount": {
|
|
1337
|
+
"type": "string",
|
|
1338
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1339
|
+
"maxLength": 78,
|
|
1340
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1341
|
+
},
|
|
1342
|
+
"stETH": { "$ref": "#/$defs/address", "description": "the stETH contract" },
|
|
1343
|
+
"referral": {
|
|
1344
|
+
"$ref": "#/$defs/address",
|
|
1345
|
+
"description": "Lido's referral; default the zero address"
|
|
1346
|
+
},
|
|
1347
|
+
"amountRef": {
|
|
1348
|
+
"$ref": "#/$defs/identifier",
|
|
1349
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1350
|
+
},
|
|
1351
|
+
"saveOutputAs": {
|
|
1352
|
+
"$ref": "#/$defs/identifier",
|
|
1353
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"action_lidoUnstake": {
|
|
1358
|
+
"title": "lidoUnstake",
|
|
1359
|
+
"description": "Requests a Lido withdrawal of stETH; the ETH is claimed later with the withdrawal NFT. Calls WithdrawalQueueERC721.requestWithdrawals.",
|
|
1360
|
+
"type": "object",
|
|
1361
|
+
"additionalProperties": false,
|
|
1362
|
+
"required": ["type", "withdrawalQueue", "owner"],
|
|
1363
|
+
"properties": {
|
|
1364
|
+
"type": { "const": "lidoUnstake" },
|
|
1365
|
+
"amount": {
|
|
1366
|
+
"type": "string",
|
|
1367
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1368
|
+
"maxLength": 78,
|
|
1369
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1370
|
+
},
|
|
1371
|
+
"withdrawalQueue": {
|
|
1372
|
+
"$ref": "#/$defs/address",
|
|
1373
|
+
"description": "Lido's withdrawal queue; it pulls the stETH, so approve it first"
|
|
1374
|
+
},
|
|
1375
|
+
"owner": {
|
|
1376
|
+
"$ref": "#/$defs/recipient",
|
|
1377
|
+
"description": "receives the withdrawal NFT; `\"self\"` is the Pot"
|
|
1378
|
+
},
|
|
1379
|
+
"amountRef": {
|
|
1380
|
+
"$ref": "#/$defs/identifier",
|
|
1381
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1382
|
+
},
|
|
1383
|
+
"saveOutputAs": {
|
|
1384
|
+
"$ref": "#/$defs/identifier",
|
|
1385
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"action_rocketPoolStake": {
|
|
1390
|
+
"title": "rocketPoolStake",
|
|
1391
|
+
"description": "Stakes native ETH with Rocket Pool; the output is the rETH received. Calls RocketDepositPool.deposit.",
|
|
1392
|
+
"type": "object",
|
|
1393
|
+
"additionalProperties": false,
|
|
1394
|
+
"required": ["type", "depositPool", "rETH"],
|
|
1395
|
+
"properties": {
|
|
1396
|
+
"type": { "const": "rocketPoolStake" },
|
|
1397
|
+
"amount": {
|
|
1398
|
+
"type": "string",
|
|
1399
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1400
|
+
"maxLength": 78,
|
|
1401
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1402
|
+
},
|
|
1403
|
+
"depositPool": {
|
|
1404
|
+
"$ref": "#/$defs/address",
|
|
1405
|
+
"description": "the live RocketDepositPool, which upgrades move; read it from RocketStorage"
|
|
1406
|
+
},
|
|
1407
|
+
"rETH": {
|
|
1408
|
+
"$ref": "#/$defs/address",
|
|
1409
|
+
"description": "the rETH token, whose balance delta is the output"
|
|
1410
|
+
},
|
|
1411
|
+
"amountRef": {
|
|
1412
|
+
"$ref": "#/$defs/identifier",
|
|
1413
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1414
|
+
},
|
|
1415
|
+
"saveOutputAs": {
|
|
1416
|
+
"$ref": "#/$defs/identifier",
|
|
1417
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
"action_rocketPoolUnstake": {
|
|
1422
|
+
"title": "rocketPoolUnstake",
|
|
1423
|
+
"description": "Burns rETH; the output is the ETH received. Calls rETH.burn.",
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"additionalProperties": false,
|
|
1426
|
+
"required": ["type", "rETH"],
|
|
1427
|
+
"properties": {
|
|
1428
|
+
"type": { "const": "rocketPoolUnstake" },
|
|
1429
|
+
"amount": {
|
|
1430
|
+
"type": "string",
|
|
1431
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1432
|
+
"maxLength": 78,
|
|
1433
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1434
|
+
},
|
|
1435
|
+
"rETH": { "$ref": "#/$defs/address", "description": "the rETH token" },
|
|
1436
|
+
"amountRef": {
|
|
1437
|
+
"$ref": "#/$defs/identifier",
|
|
1438
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1439
|
+
},
|
|
1440
|
+
"saveOutputAs": {
|
|
1441
|
+
"$ref": "#/$defs/identifier",
|
|
1442
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
"action_etherFiStake": {
|
|
1447
|
+
"title": "etherFiStake",
|
|
1448
|
+
"description": "Stakes native ETH with ether.fi; the output is the eETH received. Calls LiquidityPool.deposit.",
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"additionalProperties": false,
|
|
1451
|
+
"required": ["type", "liquidityPool", "eETH"],
|
|
1452
|
+
"properties": {
|
|
1453
|
+
"type": { "const": "etherFiStake" },
|
|
1454
|
+
"amount": {
|
|
1455
|
+
"type": "string",
|
|
1456
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1457
|
+
"maxLength": 78,
|
|
1458
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1459
|
+
},
|
|
1460
|
+
"liquidityPool": { "$ref": "#/$defs/address", "description": "the ether.fi LiquidityPool" },
|
|
1461
|
+
"eETH": {
|
|
1462
|
+
"$ref": "#/$defs/address",
|
|
1463
|
+
"description": "the eETH token, whose balance delta is the output"
|
|
1464
|
+
},
|
|
1465
|
+
"amountRef": {
|
|
1466
|
+
"$ref": "#/$defs/identifier",
|
|
1467
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1468
|
+
},
|
|
1469
|
+
"saveOutputAs": {
|
|
1470
|
+
"$ref": "#/$defs/identifier",
|
|
1471
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
"action_aaveV3Supply": {
|
|
1476
|
+
"title": "aaveV3Supply",
|
|
1477
|
+
"description": "Supplies a token to Aave V3. Calls Pool.supply.",
|
|
1478
|
+
"type": "object",
|
|
1479
|
+
"additionalProperties": false,
|
|
1480
|
+
"required": ["type", "pool", "token", "onBehalfOf"],
|
|
1481
|
+
"properties": {
|
|
1482
|
+
"type": { "const": "aaveV3Supply" },
|
|
1483
|
+
"amount": {
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1486
|
+
"maxLength": 78,
|
|
1487
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1488
|
+
},
|
|
1489
|
+
"pool": {
|
|
1490
|
+
"$ref": "#/$defs/address",
|
|
1491
|
+
"description": "the Aave V3 Pool; it pulls the token, so approve it first"
|
|
1492
|
+
},
|
|
1493
|
+
"token": { "$ref": "#/$defs/address", "description": "the asset supplied" },
|
|
1494
|
+
"onBehalfOf": {
|
|
1495
|
+
"$ref": "#/$defs/recipient",
|
|
1496
|
+
"description": "credited with the position; `\"self\"` is the Pot"
|
|
1497
|
+
},
|
|
1498
|
+
"referralCode": {
|
|
1499
|
+
"type": "integer",
|
|
1500
|
+
"minimum": 0,
|
|
1501
|
+
"maximum": 65535,
|
|
1502
|
+
"description": "Aave's referral code; default 0"
|
|
1503
|
+
},
|
|
1504
|
+
"amountRef": {
|
|
1505
|
+
"$ref": "#/$defs/identifier",
|
|
1506
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1507
|
+
},
|
|
1508
|
+
"saveOutputAs": {
|
|
1509
|
+
"$ref": "#/$defs/identifier",
|
|
1510
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
"action_aaveV3Withdraw": {
|
|
1515
|
+
"title": "aaveV3Withdraw",
|
|
1516
|
+
"description": "Withdraws a token from Aave V3; the output is the amount withdrawn. Calls Pool.withdraw.",
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"additionalProperties": false,
|
|
1519
|
+
"required": ["type", "pool", "token", "recipient"],
|
|
1520
|
+
"properties": {
|
|
1521
|
+
"type": { "const": "aaveV3Withdraw" },
|
|
1522
|
+
"amount": {
|
|
1523
|
+
"type": "string",
|
|
1524
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1525
|
+
"maxLength": 78,
|
|
1526
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1527
|
+
},
|
|
1528
|
+
"pool": { "$ref": "#/$defs/address", "description": "the Aave V3 Pool" },
|
|
1529
|
+
"token": { "$ref": "#/$defs/address", "description": "the asset withdrawn" },
|
|
1530
|
+
"recipient": {
|
|
1531
|
+
"$ref": "#/$defs/recipient",
|
|
1532
|
+
"description": "receives the asset; `\"self\"` is the Pot"
|
|
1533
|
+
},
|
|
1534
|
+
"amountRef": {
|
|
1535
|
+
"$ref": "#/$defs/identifier",
|
|
1536
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1537
|
+
},
|
|
1538
|
+
"saveOutputAs": {
|
|
1539
|
+
"$ref": "#/$defs/identifier",
|
|
1540
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
},
|
|
1544
|
+
"action_aaveV3Borrow": {
|
|
1545
|
+
"title": "aaveV3Borrow",
|
|
1546
|
+
"description": "Borrows a token from Aave V3 at the variable rate, the only rate it offers. Calls Pool.borrow.",
|
|
1547
|
+
"type": "object",
|
|
1548
|
+
"additionalProperties": false,
|
|
1549
|
+
"required": ["type", "pool", "token", "onBehalfOf"],
|
|
1550
|
+
"properties": {
|
|
1551
|
+
"type": { "const": "aaveV3Borrow" },
|
|
1552
|
+
"amount": {
|
|
1553
|
+
"type": "string",
|
|
1554
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1555
|
+
"maxLength": 78,
|
|
1556
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1557
|
+
},
|
|
1558
|
+
"pool": { "$ref": "#/$defs/address", "description": "the Aave V3 Pool" },
|
|
1559
|
+
"token": { "$ref": "#/$defs/address", "description": "the asset borrowed" },
|
|
1560
|
+
"onBehalfOf": {
|
|
1561
|
+
"$ref": "#/$defs/recipient",
|
|
1562
|
+
"description": "whose collateral backs the debt; `\"self\"` is the Pot"
|
|
1563
|
+
},
|
|
1564
|
+
"referralCode": {
|
|
1565
|
+
"type": "integer",
|
|
1566
|
+
"minimum": 0,
|
|
1567
|
+
"maximum": 65535,
|
|
1568
|
+
"description": "Aave's referral code; default 0"
|
|
1569
|
+
},
|
|
1570
|
+
"amountRef": {
|
|
1571
|
+
"$ref": "#/$defs/identifier",
|
|
1572
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1573
|
+
},
|
|
1574
|
+
"saveOutputAs": {
|
|
1575
|
+
"$ref": "#/$defs/identifier",
|
|
1576
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
"action_aaveV3Repay": {
|
|
1581
|
+
"title": "aaveV3Repay",
|
|
1582
|
+
"description": "Repays an Aave V3 variable-rate debt. Calls Pool.repay.",
|
|
1583
|
+
"type": "object",
|
|
1584
|
+
"additionalProperties": false,
|
|
1585
|
+
"required": ["type", "pool", "token", "onBehalfOf"],
|
|
1586
|
+
"properties": {
|
|
1587
|
+
"type": { "const": "aaveV3Repay" },
|
|
1588
|
+
"amount": {
|
|
1589
|
+
"type": "string",
|
|
1590
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1591
|
+
"maxLength": 78,
|
|
1592
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1593
|
+
},
|
|
1594
|
+
"pool": {
|
|
1595
|
+
"$ref": "#/$defs/address",
|
|
1596
|
+
"description": "the Aave V3 Pool; it pulls the token, so approve it first"
|
|
1597
|
+
},
|
|
1598
|
+
"token": { "$ref": "#/$defs/address", "description": "the asset repaid" },
|
|
1599
|
+
"onBehalfOf": {
|
|
1600
|
+
"$ref": "#/$defs/recipient",
|
|
1601
|
+
"description": "whose debt is repaid; `\"self\"` is the Pot"
|
|
1602
|
+
},
|
|
1603
|
+
"amountRef": {
|
|
1604
|
+
"$ref": "#/$defs/identifier",
|
|
1605
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1606
|
+
},
|
|
1607
|
+
"saveOutputAs": {
|
|
1608
|
+
"$ref": "#/$defs/identifier",
|
|
1609
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"action_compoundV3Supply": {
|
|
1614
|
+
"title": "compoundV3Supply",
|
|
1615
|
+
"description": "Supplies a token to a Compound V3 (Comet) market. Calls Comet.supply.",
|
|
1616
|
+
"type": "object",
|
|
1617
|
+
"additionalProperties": false,
|
|
1618
|
+
"required": ["type", "comet", "token"],
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"type": { "const": "compoundV3Supply" },
|
|
1621
|
+
"amount": {
|
|
1622
|
+
"type": "string",
|
|
1623
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1624
|
+
"maxLength": 78,
|
|
1625
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1626
|
+
},
|
|
1627
|
+
"comet": {
|
|
1628
|
+
"$ref": "#/$defs/address",
|
|
1629
|
+
"description": "the Comet market; it pulls the token, so approve it first"
|
|
1630
|
+
},
|
|
1631
|
+
"token": { "$ref": "#/$defs/address", "description": "the asset supplied" },
|
|
1632
|
+
"amountRef": {
|
|
1633
|
+
"$ref": "#/$defs/identifier",
|
|
1634
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1635
|
+
},
|
|
1636
|
+
"saveOutputAs": {
|
|
1637
|
+
"$ref": "#/$defs/identifier",
|
|
1638
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
"action_compoundV3Withdraw": {
|
|
1643
|
+
"title": "compoundV3Withdraw",
|
|
1644
|
+
"description": "Withdraws a token from a Compound V3 (Comet) market. Calls Comet.withdraw.",
|
|
1645
|
+
"type": "object",
|
|
1646
|
+
"additionalProperties": false,
|
|
1647
|
+
"required": ["type", "comet", "token"],
|
|
1648
|
+
"properties": {
|
|
1649
|
+
"type": { "const": "compoundV3Withdraw" },
|
|
1650
|
+
"amount": {
|
|
1651
|
+
"type": "string",
|
|
1652
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1653
|
+
"maxLength": 78,
|
|
1654
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1655
|
+
},
|
|
1656
|
+
"comet": { "$ref": "#/$defs/address", "description": "the Comet market" },
|
|
1657
|
+
"token": { "$ref": "#/$defs/address", "description": "the asset withdrawn" },
|
|
1658
|
+
"amountRef": {
|
|
1659
|
+
"$ref": "#/$defs/identifier",
|
|
1660
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1661
|
+
},
|
|
1662
|
+
"saveOutputAs": {
|
|
1663
|
+
"$ref": "#/$defs/identifier",
|
|
1664
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
"action_transfer": {
|
|
1669
|
+
"title": "transfer",
|
|
1670
|
+
"description": "Transfers an ERC-20 token. Calls ERC-20 transfer, checked like SafeERC20.",
|
|
1671
|
+
"type": "object",
|
|
1672
|
+
"additionalProperties": false,
|
|
1673
|
+
"required": ["type", "token", "recipient"],
|
|
1674
|
+
"properties": {
|
|
1675
|
+
"type": { "const": "transfer" },
|
|
1676
|
+
"amount": {
|
|
1677
|
+
"type": "string",
|
|
1678
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1679
|
+
"maxLength": 78,
|
|
1680
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1681
|
+
},
|
|
1682
|
+
"token": { "$ref": "#/$defs/address", "description": "the token" },
|
|
1683
|
+
"recipient": {
|
|
1684
|
+
"$ref": "#/$defs/recipient",
|
|
1685
|
+
"description": "the receiver; `\"self\"` is the Pot"
|
|
1686
|
+
},
|
|
1687
|
+
"amountRef": {
|
|
1688
|
+
"$ref": "#/$defs/identifier",
|
|
1689
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1690
|
+
},
|
|
1691
|
+
"saveOutputAs": {
|
|
1692
|
+
"$ref": "#/$defs/identifier",
|
|
1693
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
"action_approve": {
|
|
1698
|
+
"title": "approve",
|
|
1699
|
+
"description": "Approves an ERC-20 spender, resetting a non-zero allowance first. Calls ERC-20 approve, checked and reset like SafeERC20.forceApprove.",
|
|
1700
|
+
"type": "object",
|
|
1701
|
+
"additionalProperties": false,
|
|
1702
|
+
"required": ["type", "token", "spender"],
|
|
1703
|
+
"properties": {
|
|
1704
|
+
"type": { "const": "approve" },
|
|
1705
|
+
"amount": {
|
|
1706
|
+
"type": "string",
|
|
1707
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1708
|
+
"maxLength": 78,
|
|
1709
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1710
|
+
},
|
|
1711
|
+
"token": { "$ref": "#/$defs/address", "description": "the token" },
|
|
1712
|
+
"spender": { "$ref": "#/$defs/address", "description": "the spender" },
|
|
1713
|
+
"amountRef": {
|
|
1714
|
+
"$ref": "#/$defs/identifier",
|
|
1715
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1716
|
+
},
|
|
1717
|
+
"saveOutputAs": {
|
|
1718
|
+
"$ref": "#/$defs/identifier",
|
|
1719
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
"action_permit2Approve": {
|
|
1724
|
+
"title": "permit2Approve",
|
|
1725
|
+
"description": "Grants a spender a Permit2 allowance; the token must also be approved to Permit2. Calls Permit2.approve(address,address,uint160,uint48).",
|
|
1726
|
+
"type": "object",
|
|
1727
|
+
"additionalProperties": false,
|
|
1728
|
+
"required": ["type", "permit2", "token", "spender", "expiration"],
|
|
1729
|
+
"properties": {
|
|
1730
|
+
"type": { "const": "permit2Approve" },
|
|
1731
|
+
"amount": {
|
|
1732
|
+
"type": "string",
|
|
1733
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1734
|
+
"maxLength": 78,
|
|
1735
|
+
"description": "The amount this action spends. Omit it (and amountRef) to spend the previous action's output."
|
|
1736
|
+
},
|
|
1737
|
+
"permit2": {
|
|
1738
|
+
"$ref": "#/$defs/address",
|
|
1739
|
+
"description": "Permit2 (0x000000000022D473030F116dDEE9F6B43aC78BA3)"
|
|
1740
|
+
},
|
|
1741
|
+
"token": { "$ref": "#/$defs/address", "description": "the token" },
|
|
1742
|
+
"spender": {
|
|
1743
|
+
"$ref": "#/$defs/address",
|
|
1744
|
+
"description": "the spender, such as Balancer V3's router"
|
|
1745
|
+
},
|
|
1746
|
+
"expiration": {
|
|
1747
|
+
"type": "integer",
|
|
1748
|
+
"minimum": 0,
|
|
1749
|
+
"maximum": 281474976710655,
|
|
1750
|
+
"description": "Unix seconds after which the allowance lapses"
|
|
1751
|
+
},
|
|
1752
|
+
"amountRef": {
|
|
1753
|
+
"$ref": "#/$defs/identifier",
|
|
1754
|
+
"description": "Spend the output an earlier action saved under this name."
|
|
1755
|
+
},
|
|
1756
|
+
"saveOutputAs": {
|
|
1757
|
+
"$ref": "#/$defs/identifier",
|
|
1758
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"action_balanceOf": {
|
|
1763
|
+
"title": "balanceOf",
|
|
1764
|
+
"description": "Reads the Pot's balance of a token; the output is that balance. Calls IERC20.balanceOf(pot).",
|
|
1765
|
+
"type": "object",
|
|
1766
|
+
"additionalProperties": false,
|
|
1767
|
+
"required": ["type", "token"],
|
|
1768
|
+
"properties": {
|
|
1769
|
+
"type": { "const": "balanceOf" },
|
|
1770
|
+
"token": { "$ref": "#/$defs/address", "description": "the token" },
|
|
1771
|
+
"saveOutputAs": {
|
|
1772
|
+
"$ref": "#/$defs/identifier",
|
|
1773
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"action_nativeBalance": {
|
|
1778
|
+
"title": "nativeBalance",
|
|
1779
|
+
"description": "Reads the Pot's native balance; the output is that balance. Calls ctx.selfBalance().",
|
|
1780
|
+
"type": "object",
|
|
1781
|
+
"additionalProperties": false,
|
|
1782
|
+
"required": ["type"],
|
|
1783
|
+
"properties": {
|
|
1784
|
+
"type": { "const": "nativeBalance" },
|
|
1785
|
+
"saveOutputAs": {
|
|
1786
|
+
"$ref": "#/$defs/identifier",
|
|
1787
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
"action_argument": {
|
|
1792
|
+
"title": "argument",
|
|
1793
|
+
"description": "Declares a runtime argument of the compiled program; the output is the value supplied. Calls a `main` parameter.",
|
|
1794
|
+
"type": "object",
|
|
1795
|
+
"additionalProperties": false,
|
|
1796
|
+
"required": ["type", "name"],
|
|
1797
|
+
"properties": {
|
|
1798
|
+
"type": { "const": "argument" },
|
|
1799
|
+
"name": {
|
|
1800
|
+
"$ref": "#/$defs/identifier",
|
|
1801
|
+
"description": "the argument's name; arguments are encoded in order"
|
|
1802
|
+
},
|
|
1803
|
+
"saveOutputAs": {
|
|
1804
|
+
"$ref": "#/$defs/identifier",
|
|
1805
|
+
"description": "Save this action's output under a name later actions can reference."
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
}
|