0.15.1 • Published 7 months ago

@lukso/lsp20-contracts v0.15.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 months ago

LSP20 Call Verification · npm version

Package for the LSP20 Call Verification standard.

Installation

npm i @lukso/lsp20-contracts

Available 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";