Module

x/polkadot/phishing/index.ts

Package publishing for deno.land/x/polkadot
Latest
import * as mod from "https://dotland.deno.dev/x/polkadot@0.2.45/phishing/index.ts";

Functions

Determines if a host is in our deny list. Returns a string containing the phishing site if host is a problematic one. Returns null if the address is not associated with phishing.

f
checkHost
deprecated

Checks a host to see if it appears in the provided list

Determines if a host is in our deny list. Returns true if host is a problematic one. Returns false if the host provided is not in our list of less-than-honest sites.

f
retrieveAddrList
deprecated

Retrieve a list of known phishing addresses

f
retrieveHostList
deprecated

Retrieve allow/deny from our list provider