Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dao-dao/types

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dao-dao/types

A collection of types used across packages.

  • 2.5.0-rc.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@dao-dao/types

A collection of types used across packages.

Layout

LocationSummary
componentsTypes related to both stateless and stateful components and the respective packages.
contractsSmart contract types generated by @cosmwasm/ts-codegen.
protobufProtobuf types generated by @cosmology/telescope.
actions.tsTypes related to the @dao-dao/stateful/actions system.
chain.tsTypes related to the chain.
command.tsTypes related to the @dao-dao/stateful/command system.
dao.tsTypes related to DAOs.
helpers.tsHelper types.
inbox.tsTypes related to the inbox.
nft.tsTypes related to NFTs.
proposal-module-adapter.tsTypes related to the @dao-dao/stateful/proposal-module-adapter system.
proposal.tsTypes related to proposals.
state.tsTypes related to the @dao-dao/state package.
units.tsTypes related to units.
voting-module-adapter.tsTypes related to the @dao-dao/stateful/voting-module-adapter system.
wallet.tsTypes related to wallets.

Protobufs

This package contains Cosmos SDK protobuf definitions generated by Cosmology's Telescope.

To generate protobufs:

yarn protobuf

Sometimes definitions need to be manually fixed due to bugs and other discrepancies. There is a patch file that records these modifications in protobuf/patches.diff.

To update the patch file when new changes are made:

  1. Commit the changes so that the current branch is up-to-date with the desired changes.

  2. Run:

    yarn protobuf:patch:update
    

    This will regenerate the protobufs, undoing all patches. Then, it records the reverse diff between the committed changes and the regenerated protobufs (since we want to undo the current changes). Lastly, it reapplies the latest patches, and all changes should be made. If this works, only the patches.diff file should have changes.

  3. Update the previous commit with the new patches.

    git add protobuf/patches.diff
    git commit --amend
    

FAQs

Package last updated on 13 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc