UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

20 lines (19 loc) 632 B
import { type Hex } from "viem"; type RawLog = { address: `0x${string}`; data: Hex; topics: readonly `0x${string}`[]; }; type TxReceipt = { to?: `0x${string}` | null; logs: RawLog[]; }; /** * Extracts the super token address using the contract abi * * @param receipt - the transaction receipt from creating the super token * @param factoryAddress - the address of the factory that created the super token * @returns - The contract address of the created Super Token */ export declare function extractCreatedSuperTokenAddressAbi(receipt: TxReceipt, factoryAddress: `0x${string}`): `0x${string}`; export {};