@metamask/eth-ledger-bridge-keyring
Version:
A MetaMask compatible keyring, for ledger hardware wallets
13 lines • 531 B
text/typescript
/**
* Selectors that are used only by NFT standards (ERC721/ERC1155), not by ERC20.
* When the tx uses one of these, we enable Ledger NFT clear signing.
* approve(0x095ea7b3) is shared by ERC20 and ERC721 so we do NOT include it here.
*/
export declare const NFT_ONLY_SELECTORS: Set<string>;
/**
* Four-byte selectors for the three state-changing functions defined in EIP-20.
*
* @see https://eips.ethereum.org/EIPS/eip-20
*/
export declare const ERC20_WRITE_SELECTORS: Set<string>;
//# sourceMappingURL=constants.d.cts.map