npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kodex-data/evm-contracts

v0.0.1-rc.10

Published

This is a package that provides utilities and modules for Ethereum Virtual Machine (EVM) contracts.

Downloads

18

Readme

@kodex-data/evm-contracts

This is a package that provides utilities and modules for Ethereum Virtual Machine (EVM) contracts using open zeppelin library

 ____  __.         .___              ________          __          
|    |/ _|____   __| _/____ ___  ___ \______ \ _____ _/  |______   
|      < /  _ \ / __ |/ __ \\  \/  /  |    |  \\__  \\   __\__  \  
|    |  (  <_> ) /_/ \  ___/ >    <   |    `   \/ __ \|  |  / __ \_
|____|__ \____/\____ |\___  >__/\_ \ /_______  (____  /__| (____  /
        \/          \/    \/      \/         \/     \/          \/ 
    kodexdata.systems

Installation

To install @kodex-data/evm-contracts, you can use npm or yarn:

npm install @kodex-data/evm-contracts

# or

yarn add @kodex-data/evm-contracts

Example

To use this module, you would need to import the objects and types you need from the module. For example, if you wanted to use the ERC20 contract, you would import the ERC20 type and the ERC20__factory object from the module:

import { ERC20, ERC20__factory } from '@kodex-data/evm-contracts';

const erc20 = ERC20__factory.connect(contractAddress, provider);
// Use erc20 object to interact with the ERC20 contract.

Similarly, if you wanted to create a new instance of the ERC20 contract, you would use the factory object:

const erc20Factory = new ERC20__factory(signer);
const erc20 = await erc20Factory.deploy(name, symbol, decimals);
// Use erc20 object to interact with the new instance of the ERC20 contract.

Type Aliases

  • AccessControl
  • ByteStore
  • DoubleEndedQueue
  • ERC165
  • ERC20
  • ERC20Permit
  • ERC20PermitToken
  • ERC721
  • ERC721Burnable
  • ERC721Enumerable
  • ERC721URIStorage
  • ERC721Votes
  • EvmAuth
  • EvmTicket
  • ForAgainstQuorum
  • ForAgainstWeightedQuorum
  • Governor
  • GovernorCountingSimple
  • HashStore
  • IAccessControl
  • IERC1155Receiver
  • IERC165
  • IERC20
  • IERC20Metadata
  • IERC20Permit
  • IERC721
  • IERC721Enumerable
  • IERC721Metadata
  • IERC721Receiver
  • IGovernor
  • IVotes
  • Moderatable
  • Multicall2
  • Ownable
  • PhxCollectible
  • Treasury
  • Votes

Objects

  • factories: An object containing the factories for each of the EVM contracts listed above.
  • AccessControl__factory
  • ByteStore__factory
  • DoubleEndedQueue__factory
  • ERC165__factory
  • ERC20__factory
  • ERC20Permit__factory
  • ERC20PermitToken__factory
  • ERC721__factory
  • ERC721Burnable__factory
  • ERC721Enumerable__factory
  • ERC721URIStorage__factory
  • ERC721Votes__factory
  • EvmAuth__factory
  • EvmTicket__factory
  • ForAgainstQuorum__factory
  • ForAgainstWeightedQuorum__factory
  • Governor__factory
  • GovernorCountingSimple__factory
  • HashStore__factory
  • IAccessControl__factory
  • IERC1155Receiver__factory
  • IERC165__factory
  • IERC20__factory
  • IERC20Metadata__factory
  • IERC20Permit__factory
  • IERC721__factory
  • IERC721Enumerable__factory
  • IERC721Metadata__factory
  • IERC721Receiver__factory
  • IGovernor__factory
  • IVotes__factory
  • Moderatable__factory
  • Multicall2__factory
  • Ownable__factory
  • PhxCollectible__factory
  • Treasury__factory