@lukso/lsp20-contracts
v0.15.5
Published
Package for the LSP20 Call Verification standard
Readme
LSP20 Call Verification · 
Package for the LSP20 Call Verification standard.
Installation
npm i @lukso/lsp20-contractsAvailable Constants & Types
The @lukso/lsp20-contracts npm package contains useful constants such as interface IDs, and specific constants related to the LSP20 Standard. You can import and access them as follows.
In Javascript.
import {
LSP20_SUCCESS_VALUES,
INTERFACE_ID_LSP20CallVerifier,
INTERFACE_ID_LSP20CallVerification,
} from "@lukso/lsp20-contracts";In Solidity.
import {
_INTERFACEID_LSP20_CALL_VERIFICATION,
_INTERFACEID_LSP20_CALL_VERIFIER,
_LSP20_VERIFY_CALL_SUCCESS_VALUE_WITH_POST_VERIFICATION,
_LSP20_VERIFY_CALL_SUCCESS_VALUE_WITHOUT_POST_VERIFICATION,
_LSP20_VERIFY_CALL_RESULT_SUCCESS_VALUE
} from "@lukso/lsp20-contracts/contracts/LSP20Constants.sol";