Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@dao-dao/types
Advanced tools
A collection of types used across packages.
Location | Summary |
---|---|
components | Types related to both stateless and stateful components and the respective packages. |
contracts | Smart contract types generated by @cosmwasm/ts-codegen . |
protobuf | Protobuf types generated by @cosmology/telescope . |
actions.ts | Types related to the @dao-dao/stateful/actions system. |
chain.ts | Types related to the chain. |
command.ts | Types related to the @dao-dao/stateful/command system. |
dao.ts | Types related to DAOs. |
helpers.ts | Helper types. |
inbox.ts | Types related to the inbox. |
nft.ts | Types related to NFTs. |
proposal-module-adapter.ts | Types related to the @dao-dao/stateful/proposal-module-adapter system. |
proposal.ts | Types related to proposals. |
state.ts | Types related to the @dao-dao/state package. |
units.ts | Types related to units. |
voting-module-adapter.ts | Types related to the @dao-dao/stateful/voting-module-adapter system. |
wallet.ts | Types related to wallets. |
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:
Commit the changes so that the current branch is up-to-date with the desired changes.
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.
Update the previous commit with the new patches.
git add protobuf/patches.diff
git commit --amend
FAQs
A collection of types used across packages.
We found that @dao-dao/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.