import type { IotaEvent, MoveCallIotaTransaction, IotaMoveObject, DevInspectResults } from '@iota/iota-sdk/client' import { DecodedStruct } from '@typemove/move' export const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000000000000000000000000000' export type TypedEventInstance = DecodedStruct export type TypedIotaMoveObject = DecodedStruct export type TypedFunctionPayload> = MoveCallIotaTransaction & { /** * decoded argument data using ABI, undefined if there is decoding error, usually because the ABI/data mismatch */ arguments_decoded: T } export type TypedDevInspectResults> = DevInspectResults & { /** * Decoded return values using ABI, undefined if there is decoding error, usually because the ABI/data mismatch */ results_decoded?: T }