Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgSetBeforeSendHook

MsgSetBeforeSendHook allows setting a hook for a specific denom to keep track of the token transfers or block specific transfers.

Hierarchy

Index

Constructors

  • new MsgSetBeforeSendHook(sender: string, denom: string, cosmwasmAddress: string): MsgSetBeforeSendHook
  • Parameters

    • sender: string

      internal account or external sender address

    • denom: string

      with the format factory/terra1address/subdenom

    • cosmwasmAddress: string

      the cosmwasm contract address

    Returns MsgSetBeforeSendHook

Properties

cosmwasmAddress: string
denom: string
sender: string

Methods

  • packAny(_?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): MsgSetBeforeSendHook