Skip to content
errandDocsOpen the app

Reference

Parameters

The values Errand runs on, read from the program, the server and the lender catalog. The app shows the live catalog for the network it is connected to.

Programs and accounts

Address
Errand program4z4wJmNmxnhsC85TH2GeTxm5Cmkj8g4jFo28R7XPv8Sv
USDC mintEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Swig programswigypWHEksbC64pWKwah1WTeh9JXwx8H1rJHLdbQMB
Pyth USDC/USD feed ideaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a
Pyth USDC/USD price accountDpw1EAVrSB1ibxiDQyTAW6Zip3J4Btk2x4SgApQCeFbX
Protocol address (protocol PDA)M2kS7mYGaMvKoAqVphovKvHTYukBaa5JpB41sF1LSz4
Protocol fee account (its USDC account)HiEVg2i7ARBKzEbRgipaqvY6Kx9z4hya6UkjCHinnCBV

Lenders

KaminoAddress
ProgramKLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD
USDC reserveD6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59
Market7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF
SolendAddress
ProgramSo1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo
USDC reserveBgxfHJDzm44T7XG68MYKx7YisTjZu73tVovyZSjJMpmw
Market4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY

Errand holds each lender's receipt tokens in the Swig account; it never borrows.

Policy

ParameterValue
Base assetUSDC (6 decimals)
Target rate0% to 100% a year, simple interest
Term1 to 365 days; default 90 days
Recall window1 minute to 7 days; default 24 hours
Cap per lenderup to 100% of NAV; default 40%
Spending limitthe principal, summed over the term
Agent fee shareat most 40% of the excess
Protocol share10% of each fee, to the protocol fee account; the agent receives 90%
Agent bondat least 1% of the principal
Keeper compensation1% of the principal, from the bond
Roundingtarget rounded up to the atom; fee and the protocol share rounded down

Price

CheckValue
Verificationfull Wormhole verification of the Pyth update
Maximum age60 seconds
Confidencewithin 1% of the price
Publish timenot later than the chain clock

Sessions and transactions

Value
Sign-in challengevalid 5 minutes, single use
Session8 hours
Prepared transactionvalid about 90 seconds, then prepare it again
Executions per errandone at a time; each carries the errand's next nonce

    Search page titles, headings and text. Arrow keys move, Enter opens.