Module

x/polkadot/phishing/mod.ts

Package publishing for deno.land/x/polkadot
Go to Latest
import * as mod from "https://dotland.deno.dev/x/polkadot@0.2.35/phishing/mod.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