Skip to Content

Ajna action reference

This page is generated from the plugin registry. Do not edit it by hand.

Ajna permissionless lending protocol: liquidation and vault keeper operations on Base

For guidance and examples see the Ajna guide.

Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.

Read actions return the value under result: a single unnamed output is result, a named one is result.<name>, and several outputs are result.<name> each. Reference it as {{@nodeId:Label.result}}. Integer Solidity types are passed as decimal strings.

ActionAction type
Ajna: Get Auction Statusajna/get-auction-status
Ajna: Get HPB Indexajna/get-hpb-index
Ajna: Get Pool LUPajna/get-pool-lup
Ajna: Get Pool HTPajna/get-pool-htp
Ajna: Get Borrower Infoajna/get-borrower-info
Ajna: Price to Bucket Indexajna/price-to-index
Ajna: Bucket Index to Priceajna/index-to-price
Ajna: cbBTC/usBTCd Kicker Infoajna/pool1-kicker-info
Ajna: cbBTC/usBTCd Auction Infoajna/pool1-auction-info
Ajna: cbBTC/usBTCd Bucket Infoajna/pool1-bucket-info
Ajna: cbBTC/usBTCd Inflator Infoajna/pool1-inflator-info
Ajna: cbBTC/usBTCd Kickajna/pool1-kick
Ajna: cbBTC/usBTCd Bucket Takeajna/pool1-bucket-take
Ajna: cbBTC/usBTCd Settleajna/pool1-settle
Ajna: cbBTC/usBTCd Withdraw Bondsajna/pool1-withdraw-bonds
Ajna: cbBTC/usBTCd Update Interestajna/pool1-update-interest
Ajna: cbBTC/usBTCd Deposit Indexajna/pool1-deposit-index
Ajna: usBTCd/webmx Kicker Infoajna/pool2-kicker-info
Ajna: usBTCd/webmx Auction Infoajna/pool2-auction-info
Ajna: usBTCd/webmx Bucket Infoajna/pool2-bucket-info
Ajna: usBTCd/webmx Inflator Infoajna/pool2-inflator-info
Ajna: usBTCd/webmx Kickajna/pool2-kick
Ajna: usBTCd/webmx Bucket Takeajna/pool2-bucket-take
Ajna: usBTCd/webmx Settleajna/pool2-settle
Ajna: usBTCd/webmx Withdraw Bondsajna/pool2-withdraw-bonds
Ajna: usBTCd/webmx Update Interestajna/pool2-update-interest
Ajna: usBTCd/webmx Deposit Indexajna/pool2-deposit-index
Ajna: cbBTC/usBTCd Is Pausedajna/vault1-is-paused
Ajna: cbBTC/usBTCd Get Bucketsajna/vault1-get-buckets
Ajna: cbBTC/usBTCd Total Assetsajna/vault1-total-assets
Ajna: cbBTC/usBTCd LP to Valueajna/vault1-lp-to-value
Ajna: cbBTC/usBTCd Drain Bucketajna/vault1-drain
Ajna: cbBTC/usBTCd Move Liquidityajna/vault1-move
Ajna: cbBTC/usBTCd Move From Bufferajna/vault1-move-from-buffer
Ajna: cbBTC/usBTCd Move To Bufferajna/vault1-move-to-buffer
Ajna: usBTCd/webmx Is Pausedajna/vault2-is-paused
Ajna: usBTCd/webmx Get Bucketsajna/vault2-get-buckets
Ajna: usBTCd/webmx Total Assetsajna/vault2-total-assets
Ajna: usBTCd/webmx LP to Valueajna/vault2-lp-to-value
Ajna: usBTCd/webmx Drain Bucketajna/vault2-drain
Ajna: usBTCd/webmx Move Liquidityajna/vault2-move
Ajna: usBTCd/webmx Move From Bufferajna/vault2-move-from-buffer
Ajna: usBTCd/webmx Move To Bufferajna/vault2-move-to-buffer
Ajna: cbBTC/usBTCd Buffer Ratioajna/vault1-buffer-ratio
Ajna: cbBTC/usBTCd Min Bucket Indexajna/vault1-min-bucket-index
Ajna: usBTCd/webmx Buffer Ratioajna/vault2-buffer-ratio
Ajna: usBTCd/webmx Min Bucket Indexajna/vault2-min-bucket-index
Ajna: cbBTC/usBTCd Buffer Totalajna/vault1-buffer-total
Ajna: usBTCd/webmx Buffer Totalajna/vault2-buffer-total

Ajna: Get Auction Status

Action type: ajna/get-auction-status. Connection: not required.

Get current auction status for a borrower in an Ajna pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
ajnaPool_addressYesPool Address (address).
borrower_addressYesBorrower Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.kickTime_Kick Timestamp
result.collateral_Collateral (WAD)
result.debtToCover_Debt to Cover (WAD)
result.isCollateralized_Is Collateralized
result.price_Current Price (WAD)
result.neutralPrice_Neutral Price (WAD)
result.referencePrice_Reference Price (WAD)
result.debtToCollateral_Debt to Collateral (WAD)
result.bondFactor_Bond Factor (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: Get HPB Index

Action type: ajna/get-hpb-index. Connection: not required.

Get the highest price bucket index of an Ajna pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
ajnaPool_addressYesPool Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.indexHPB Index
successWhether the operation succeeded
errorError message if the operation failed

Ajna: Get Pool LUP

Action type: ajna/get-pool-lup. Connection: not required.

Get the Lowest Utilized Price of an Ajna pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
ajnaPool_addressYesPool Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.lupLUP (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: Get Pool HTP

Action type: ajna/get-pool-htp. Connection: not required.

Get the Highest Threshold Price of an Ajna pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
ajnaPool_addressYesPool Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.htpHTP (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: Get Borrower Info

Action type: ajna/get-borrower-info. Connection: not required.

Get borrower loan information including debt, collateral, and threshold price

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
ajnaPool_addressYesPool Address (address).
borrower_addressYesBorrower Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.debtBorrower Debt (WAD)
result.collateralBorrower Collateral (WAD)
result.t0NpT0 Neutral Price (WAD)
result.thresholdPriceThreshold Price (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: Price to Bucket Index

Action type: ajna/price-to-index. Connection: not required.

Convert a price to its corresponding Ajna bucket index

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
priceuint256YesPrice (WAD) (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.indexBucket Index
successWhether the operation succeeded
errorError message if the operation failed

Ajna: Bucket Index to Price

Action type: ajna/index-to-price. Connection: not required.

Convert a bucket index to its corresponding price

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
index_uint256YesBucket Index (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.pricePrice (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Kicker Info

Action type: ajna/pool1-kicker-info. Connection: not required.

Get kicker bond information in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
kicker_addressYesKicker Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.claimableClaimable Bond (WAD)
result.lockedLocked Bond (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Auction Info

Action type: ajna/pool1-auction-info. Connection: not required.

Get auction details for a borrower in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
borrower_addressYesBorrower Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.kickerKicker Address
result.bondFactorBond Factor (WAD)
result.bondSizeBond Size (WAD)
result.kickTimeKick Timestamp
result.referencePriceReference Price (WAD)
result.neutralPriceNeutral Price (WAD)
result.debtToCollateralDebt to Collateral (WAD)
result.headHead Address
result.nextNext Address
result.prevPrev Address
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Bucket Info

Action type: ajna/pool1-bucket-info. Connection: not required.

Get bucket information at a given index in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
index_uint256YesBucket Index (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.priceBucket Price (WAD)
result.quoteTokensQuote Tokens (WAD)
result.collateralCollateral (WAD)
result.bucketLPLP Amount (WAD)
result.scaleBucket Scale (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Inflator Info

Action type: ajna/pool1-inflator-info. Connection: not required.

Get pool inflator and last update timestamp for cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.inflatorPool Inflator (WAD)
result.lastUpdateLast Update Timestamp
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Kick

Action type: ajna/pool1-kick. Connection: required (web3).

Kick an undercollateralized borrower to start a liquidation auction in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
borrower_addressYesBorrower Address (address).
limitIndex_uint256YesLimit Bucket Index (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Bucket Take

Action type: ajna/pool1-bucket-take. Connection: required (web3).

Take from a liquidation auction using bucket liquidity in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
borrowerAddress_addressYesBorrower Address (address).
depositTake_boolYesUse Deposit Take (bool).
index_uint256YesBucket Index (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Settle

Action type: ajna/pool1-settle. Connection: required (web3).

Settle a completed liquidation auction in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
borrowerAddress_addressYesBorrower Address (address).
maxDepth_uint256YesMax Bucket Depth (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Withdraw Bonds

Action type: ajna/pool1-withdraw-bonds. Connection: required (web3).

Withdraw claimable kicker bonds from the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
recipient_addressYesRecipient Address (address).
maxAmount_uint256YesMax Amount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Update Interest

Action type: ajna/pool1-update-interest. Connection: required (web3).

Update interest rate for the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Deposit Index

Action type: ajna/pool1-deposit-index. Connection: not required.

Get the bucket index containing a given amount of deposit in the cbBTC/usBTCd pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
debt_uint256YesDebt Amount (WAD) (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.indexDeposit Bucket Index
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Kicker Info

Action type: ajna/pool2-kicker-info. Connection: not required.

Get kicker bond information in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
kicker_addressYesKicker Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.claimableClaimable Bond (WAD)
result.lockedLocked Bond (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Auction Info

Action type: ajna/pool2-auction-info. Connection: not required.

Get auction details for a borrower in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
borrower_addressYesBorrower Address (address).

Outputs

OutputDescription
resultThe contract function return value
result.kickerKicker Address
result.bondFactorBond Factor (WAD)
result.bondSizeBond Size (WAD)
result.kickTimeKick Timestamp
result.referencePriceReference Price (WAD)
result.neutralPriceNeutral Price (WAD)
result.debtToCollateralDebt to Collateral (WAD)
result.headHead Address
result.nextNext Address
result.prevPrev Address
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Bucket Info

Action type: ajna/pool2-bucket-info. Connection: not required.

Get bucket information at a given index in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
index_uint256YesBucket Index (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.priceBucket Price (WAD)
result.quoteTokensQuote Tokens (WAD)
result.collateralCollateral (WAD)
result.bucketLPLP Amount (WAD)
result.scaleBucket Scale (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Inflator Info

Action type: ajna/pool2-inflator-info. Connection: not required.

Get pool inflator and last update timestamp for usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.inflatorPool Inflator (WAD)
result.lastUpdateLast Update Timestamp
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Kick

Action type: ajna/pool2-kick. Connection: required (web3).

Kick an undercollateralized borrower to start a liquidation auction in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
borrower_addressYesBorrower Address (address).
limitIndex_uint256YesLimit Bucket Index (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Bucket Take

Action type: ajna/pool2-bucket-take. Connection: required (web3).

Take from a liquidation auction using bucket liquidity in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
borrowerAddress_addressYesBorrower Address (address).
depositTake_boolYesUse Deposit Take (bool).
index_uint256YesBucket Index (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Settle

Action type: ajna/pool2-settle. Connection: required (web3).

Settle a completed liquidation auction in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
borrowerAddress_addressYesBorrower Address (address).
maxDepth_uint256YesMax Bucket Depth (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Withdraw Bonds

Action type: ajna/pool2-withdraw-bonds. Connection: required (web3).

Withdraw claimable kicker bonds from the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
recipient_addressYesRecipient Address (address).
maxAmount_uint256YesMax Amount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Update Interest

Action type: ajna/pool2-update-interest. Connection: required (web3).

Update interest rate for the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Deposit Index

Action type: ajna/pool2-deposit-index. Connection: not required.

Get the bucket index containing a given amount of deposit in the usBTCd/webmx pool

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
debt_uint256YesDebt Amount (WAD) (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.indexDeposit Bucket Index
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Is Paused

Action type: ajna/vault1-is-paused. Connection: not required.

Check if the cbBTC/usBTCd vault is paused

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.isPausedIs Vault Paused
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Get Buckets

Action type: ajna/vault1-get-buckets. Connection: not required.

Get all active bucket indices in the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.bucketsActive Bucket Indices
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Total Assets

Action type: ajna/vault1-total-assets. Connection: not required.

Get total assets managed by the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.assetsTotal Assets (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd LP to Value

Action type: ajna/vault1-lp-to-value. Connection: not required.

Convert LP amount to quote token value for a bucket in the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
bucketuint256YesBucket Index (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.valueValue (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Drain Bucket

Action type: ajna/vault1-drain. Connection: required (web3).

Drain all liquidity from a bucket in the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
bucketuint256YesBucket Index (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Move Liquidity

Action type: ajna/vault1-move. Connection: required (web3).

Move liquidity between buckets in the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
fromIndex_uint256YesSource Bucket Index (uint256).
toIndex_uint256YesDestination Bucket Index (uint256).
amt_uint256YesAmount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Move From Buffer

Action type: ajna/vault1-move-from-buffer. Connection: required (web3).

Move liquidity from the buffer to a pool bucket in the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
toIndex_uint256YesDestination Bucket Index (uint256).
amt_uint256YesAmount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Move To Buffer

Action type: ajna/vault1-move-to-buffer. Connection: required (web3).

Move liquidity from a pool bucket to the buffer in the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
fromIndex_uint256YesSource Bucket Index (uint256).
amt_uint256YesAmount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Is Paused

Action type: ajna/vault2-is-paused. Connection: not required.

Check if the usBTCd/webmx vault is paused

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.isPausedIs Vault Paused
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Get Buckets

Action type: ajna/vault2-get-buckets. Connection: not required.

Get all active bucket indices in the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.bucketsActive Bucket Indices
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Total Assets

Action type: ajna/vault2-total-assets. Connection: not required.

Get total assets managed by the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.assetsTotal Assets (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx LP to Value

Action type: ajna/vault2-lp-to-value. Connection: not required.

Convert LP amount to quote token value for a bucket in the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
bucketuint256YesBucket Index (uint256).

Outputs

OutputDescription
resultThe contract function return value
result.valueValue (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Drain Bucket

Action type: ajna/vault2-drain. Connection: required (web3).

Drain all liquidity from a bucket in the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
bucketuint256YesBucket Index (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Move Liquidity

Action type: ajna/vault2-move. Connection: required (web3).

Move liquidity between buckets in the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
fromIndex_uint256YesSource Bucket Index (uint256).
toIndex_uint256YesDestination Bucket Index (uint256).
amt_uint256YesAmount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Move From Buffer

Action type: ajna/vault2-move-from-buffer. Connection: required (web3).

Move liquidity from the buffer to a pool bucket in the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
toIndex_uint256YesDestination Bucket Index (uint256).
amt_uint256YesAmount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: usBTCd/webmx Move To Buffer

Action type: ajna/vault2-move-to-buffer. Connection: required (web3).

Move liquidity from a pool bucket to the buffer in the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.
sendModestringNotransaction, private-relaySend as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored.
fromIndex_uint256YesSource Bucket Index (uint256).
amt_uint256YesAmount (WAD) (uint256).
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship.

Outputs

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added.
includedTrue when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent.

Ajna: cbBTC/usBTCd Buffer Ratio

Action type: ajna/vault1-buffer-ratio. Connection: not required.

Get the target buffer ratio for the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.ratioBuffer Ratio (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Min Bucket Index

Action type: ajna/vault1-min-bucket-index. Connection: not required.

Get the minimum allowed bucket index for the cbBTC/usBTCd vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.indexMin Bucket Index
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Buffer Ratio

Action type: ajna/vault2-buffer-ratio. Connection: not required.

Get the target buffer ratio for the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.ratioBuffer Ratio (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Min Bucket Index

Action type: ajna/vault2-min-bucket-index. Connection: not required.

Get the minimum allowed bucket index for the usBTCd/webmx vault

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.indexMin Bucket Index
successWhether the operation succeeded
errorError message if the operation failed

Ajna: cbBTC/usBTCd Buffer Total

Action type: ajna/vault1-buffer-total. Connection: not required.

Get total liquidity held in the cbBTC/usBTCd buffer contract

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.bufferTotalBuffer Total (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Ajna: usBTCd/webmx Buffer Total

Action type: ajna/vault2-buffer-total. Connection: not required.

Get total liquidity held in the usBTCd/webmx buffer contract

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 8453Network.

Outputs

OutputDescription
resultThe contract function return value
result.bufferTotalBuffer Total (WAD)
successWhether the operation succeeded
errorError message if the operation failed

Contracts

ContractChain ids
Ajna Pool Info Utils8453
cbBTC/usBTCd Pool8453
usBTCd/webmx Pool8453
cbBTC/usBTCd ERC-4626 Vault8453
usBTCd/webmx ERC-4626 Vault8453
cbBTC/usBTCd Vault Config8453
usBTCd/webmx Vault Config8453
cbBTC/usBTCd Buffer8453
usBTCd/webmx Buffer8453