import { getRedpacketDescription } from './getRedpacketDescription' ; import { getITO_Description } from './getITO_Description' ; import { getNFTRedpacketDescription } from './getNFTRedpacketDescription' ; import type { ContractMethodInfo , ComputedPayload } from '../type' ; export function getContractMethodDescription ( contractMethodInfo , computedPayload ) { return ( getRedpacketDescription ( contractMethodInfo , computedPayload ) ?? getITO_Description ( contractMethodInfo , computedPayload ) ?? getNFTRedpacketDescription ( contractMethodInfo , computedPayload ) ) ; }