Skip to content

Commit

Permalink
Update cdp-agentkit-core/typescript/src/actions/cdp/morpho/utils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com>
  • Loading branch information
stat and John-peterson-coinbase authored Jan 22, 2025
1 parent 14a6396 commit f2c42f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cdp-agentkit-core/typescript/src/actions/cdp/morpho/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { ERC20_APPROVE_ABI } from "./constants";

/**
* Approve a spender to spend a specified amount of tokens.
* @param wallet The wallet to execute the approval from
* @param tokenAddress The address of the token contract
* @param spender The address of the spender
* @param amount The amount of tokens to approve
* @param wallet - The wallet to execute the approval from
* @param tokenAddress - The address of the token contract
* @param spender - The address of the spender
* @param amount - The amount of tokens to approve
* @returns A success message with transaction hash or error message
*/
export async function approve(
Expand Down

0 comments on commit f2c42f2

Please sign in to comment.