Gas Costs

The gas usage of the protocol functions may fluctuate by market and user. External calls, such as to underlying ERC-20 tokens, may use an arbitrary amount of gas. Any calculations that involve checking account liquidity, have gas costs that increase with the number of entered markets. Thus, while it can be difficult to provide any guarantees about costs, we provide the table below for guidance:

FunctionTypical Gas Cost

Mint

< 150K, aUSDC < 300k

Redeem, Transfer

< 250K if borrowing, otherwise < 90K

Borrow

< 300K

Repay Borrow

< 90K

Liquidate Borrow

< 400K

Last updated