Zora Wow buy token action.

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<
    { amountEthInWei: ZodString; contractAddress: ZodString },
    "strip",
    ZodTypeAny,
    { amountEthInWei: string; contractAddress: string },
    { amountEthInWei: string; contractAddress: string },
> = WowBuyTokenInput

Schema for validating action arguments

description: string = WOW_BUY_TOKEN_PROMPT

A description of what the action does

func: (
    wallet: Wallet,
    args: { amountEthInWei: string; contractAddress: string },
) => Promise<string> = wowBuyToken

The function to execute for this action

Type declaration

    • (
          wallet: Wallet,
          args: { amountEthInWei: string; contractAddress: string },
      ): Promise<string>
    • Buys a Zora Wow ERC20 memecoin with ETH.

      Parameters

      • wallet: Wallet

        The wallet to create the token from.

      • args: { amountEthInWei: string; contractAddress: string }

        The input arguments for the action.

      Returns Promise<string>

      A message containing the token purchase details.

name: string = "wow_buy_token"

The name of the action