You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web3.eth.alchemy.api.pas
+27-7
Original file line number
Diff line number
Diff line change
@@ -50,12 +50,14 @@ procedure simulate(
50
50
Airdrop, // probably an unwarranted airdrop. most of the owners are honeypots, or a significant chunk of the usual honeypot addresses own this token.
51
51
Spam // probably spam. this contract contains a lot of duplicate NFTs, or the contract lies about its own token supply. running totalSupply() on the contract is vastly different from the empirical number of tokens in circulation.
52
52
);
53
+
TContractTypes = setof TContractType;
53
54
54
55
// spam detection
55
56
proceduredetect(
56
57
const apiKey : string;
57
58
const chain : TChain;
58
59
const contract: TAddress;
60
+
const checkFor: TContractTypes;
59
61
const callback: TProc<TContractType, IError>);
60
62
61
63
// simulate transaction, return incoming assets that are honeypots (eg. you cannot sell)
0 commit comments