InferFormatContext
Defined in: packages/sdk/src/generate/inferFormat.ts:19
Extra hints for inferFormat: ERC-20 shape and Solidity internalType.
Properties
Section titled “Properties”internalType?
Section titled “internalType?”
optionalinternalType?:string
Defined in: packages/sdk/src/generate/inferFormat.ts:23
Solidity internalType from the ABI JSON (e.g. enum IPool.InterestRateMode).
looksLikeErc20?
Section titled “looksLikeErc20?”
optionallooksLikeErc20?:boolean
Defined in: packages/sdk/src/generate/inferFormat.ts:21
When the ABI looks like ERC-20, token amounts use tokenPath: "@.to".