Skip to content
docs

CheckCode

CheckCode = "contract-known" | "contract-unknown" | "simulation-ok" | "simulation-reverted" | "simulation-unavailable" | "recipient-own" | "recipient-foreign" | "approval-exact" | "approval-excess" | "approval-unlimited" | "approval-unknown-spender" | "approval-unchecked" | "approval-unparsed" | "native-value" | "calldata-undecodable"

Defined in: index.ts:128

What a check is about: whether the contract is known, the simulation outcome, who receives, and how large an approval is.