@eth-optimism/smock
`smock` is a utility package that can generate mock Solidity contracts (for testing). `smock` hooks into a `ethereumjs-vm` instance so that mock contract functions can be written entirely in JavaScript. `smock` currently only supports [Hardhat](http://har
Ecosystem
npmjs.org
npmjs.org
Latest Release
over 4 years ago
1.1.10
over 4 years ago
Versions
38
38
Downloads
3,517 last month
3,517 last month
Dependent Packages
58
58
Dependent Repos
101
101
Top 7.0% on npmjs.org
118 versions - Latest release: almost 2 years ago - 4 dependent packages - 5 dependent repositories - 173 downloads last month - 3 stars on GitHub - 2 maintainers
@perifinance/peri-finance 0.7.32
The smart contracts which make up the Peri Finance system. (pynths.com)118 versions - Latest release: almost 2 years ago - 4 dependent packages - 5 dependent repositories - 173 downloads last month - 3 stars on GitHub - 2 maintainers
@rout-horizon/horizon-testnet 2.23.0
The smart contracts which make up the Horizon system.21 versions - Latest release: about 2 years ago - 85 downloads last month - 0 stars on GitHub - 1 maintainer
@horizon-protocol/testrepo 2.50.13
The smart contracts which make up the Horizon system.2 versions - Latest release: about 2 years ago - 16 downloads last month - 4 stars on GitHub - 2 maintainers
@everything-registry/sub-chunk-299 0.1.0 removed
npm install @everything-registry/sub-chunk-2991 version - Latest release: about 2 years ago - 206 stars on GitHub - 2 maintainers
asynthr-js 0.1.11
The smart contracts which make up the Synthr system. (synthr.io)12 versions - Latest release: about 2 years ago - 2 dependent packages - 5 downloads last month - 1 maintainer
@synthr-staging/js 0.1.32
The smart contracts which make up the Synthr system. (synthr.io)39 versions - Latest release: over 2 years ago - 2 dependent packages - 389 downloads last month - 1 maintainer
@rout-horizon/testnet-contracts 2.80.9
The smart contracts which make up the Horizon system.5 versions - Latest release: over 2 years ago - 33 downloads last month - 0 stars on GitHub - 1 maintainer
@kalycoinproject/exchange-contracts 2.0.3
Contracts for the KalySwap Dex.5 versions - Latest release: over 2 years ago - 3 dependent packages - 2 dependent repositories - 7 downloads last month - 0 stars on GitHub - 1 maintainer
@synthr/js 0.3.2 removed
The smart contracts which make up the Synthr system. (synthr.io)65 versions - Latest release: over 2 years ago - 3 dependent packages - 431 downloads last month - 1 maintainer
oikoscash 1.0.53
The smart contracts which make up the Oikos system. (oikos.cash)53 versions - Latest release: over 2 years ago - 3 dependent packages - 1.55 thousand downloads last month - 1 maintainer
@buffchain/tufftoken 1.4.23
TuffToken Smart Contract51 versions - Latest release: about 3 years ago - 2 dependent packages - 676 downloads last month - 4 stars on GitHub - 1 maintainer
@zalastax/nolb-_et 2023.1.22 removed
Subpackage of no-one-left-behind.1 version - Latest release: about 3 years ago - 30 downloads last month - 103 stars on GitHub - 1 maintainer
Top 6.9% on npmjs.org
7 versions - Latest release: about 3 years ago - 9 dependent packages - 4 dependent repositories - 1.92 thousand downloads last month - 11 stars on GitHub - 6 maintainers
@pollum-io/pegasys-protocol 0.0.17 deprecated
Contracts for the Pegasys Dex.7 versions - Latest release: about 3 years ago - 9 dependent packages - 4 dependent repositories - 1.92 thousand downloads last month - 11 stars on GitHub - 6 maintainers
makoto-arb-resolver-contracts 0.0.1
1 version - Latest release: about 3 years ago - 1 dependent package - 0 downloads last month - 1 maintainer@oikos/v3 1.0.0
The smart contracts which make up the Oikos system. (oikos.cash)1 version - Latest release: over 3 years ago - 1 dependent package - 23 downloads last month - 2 maintainers
oikos-v3 1.0.21 removed
The smart contracts which make up the Oikos system. (oikos.cash)21 versions - Latest release: over 3 years ago - 4 dependent packages - 52 downloads last month - 1 maintainer
supervault 1.0.3
Perpetual Permisionless Tranching4 versions - Latest release: over 3 years ago - 29 downloads last month - 1 stars on GitHub - 1 maintainer
@oikos/oikos-contracts 0.0.16
The smart contracts which make up the Oikos system. (oikos.cash)7 versions - Latest release: about 4 years ago - 2 dependent packages - 15 downloads last month - 1,255 stars on GitHub - 2 maintainers
@perp/curie-periphery 1.3.4 deprecated
Perpetual Protocol Curie (V2) periphery contracts21 versions - Latest release: about 4 years ago - 3 dependent packages - 146 downloads last month - 7 maintainers
synthetix-demaa 2.5.0-mumbai
The smart contracts which make up the Demaa system. (demaa.io)14 versions - Latest release: about 4 years ago - 1 dependent package - 54 downloads last month - 0 stars on GitHub - 1 maintainer
@alpaca-finance/alpaca-stablecoin 1.0.2
Solidity contracts for Alpaca Stablecoin module.12 versions - Latest release: about 4 years ago - 3 dependent packages - 1 dependent repositories - 49 downloads last month - 8 maintainers
@gothdex/exchange-contracts 0.0.3
Contracts for the Goth Dex.1 version - Latest release: about 4 years ago - 2 dependent packages - 7 downloads last month - 1 maintainer
@latteswap/latteswap-flat 0.1.0
6 versions - Latest release: over 4 years ago - 1 dependent package - 14 downloads last month - 4 maintainers@rytell/exchange-contracts 1.0.1
Contracts for the Rytell Dex.1 version - Latest release: over 4 years ago - 2 dependent packages - 2 dependent repositories - 5 downloads last month - 1 stars on GitHub - 1 maintainer
@rugenerous/exchange-contracts 1.0.8 removed
Contracts for the Rugenerous Dex.7 versions - Latest release: over 4 years ago - 2 dependent packages - 1 dependent repositories - 38 downloads last month - 1 maintainer
context-exchange-contracts 1.0.1
Contracts for the Context Dex.2 versions - Latest release: over 4 years ago - 2 dependent packages - 9 downloads last month - 1 maintainer
shibax 0.1.28
The smart contracts which make up the Shibax system. (shibax.fi)28 versions - Latest release: over 4 years ago - 1 dependent package - 43 downloads last month - 1 maintainer
@perp/lushan 0.12.7 deprecated
## Local development and testing35 versions - Latest release: over 4 years ago - 2 dependent packages - 1 dependent repositories - 1 downloads last month - 7 maintainers
@thehoneypot/exchange-contracts 1.0.1
Contracts for Nectar Trade.2 versions - Latest release: over 4 years ago - 4 dependent packages - 5 downloads last month - 1 maintainer
@alpaca-finance/alpies-contract 1.0.2
4 versions - Latest release: over 4 years ago - 2 dependent packages - 16 downloads last month - 8 maintainerselleven-v2 1.0.0
The smart contracts which make up the Elleven system. (synthetix.io)1 version - Latest release: over 4 years ago - 2 dependent packages - 8 downloads last month - 1 maintainer
synthetix-v2 1.0.0
The smart contracts which make up the Synthetix system. (synthetix.io)1 version - Latest release: over 4 years ago - 1 dependent package - 5 downloads last month - 1,255 stars on GitHub - 1 maintainer
Top 7.9% on npmjs.org
@latteswap/latteswap-contract 2.2.0
30 versions - Latest release: over 4 years ago - 5 dependent packages - 4 dependent repositories - 8 downloads last month - 4 maintainerselleven 0.0.2
The smart contracts which make up the Elleven system. (synthetix.io)2 versions - Latest release: over 4 years ago - 2 dependent packages - 1 downloads last month - 1 maintainer
petermunachi-elleven 0.0.1
The smart contracts which make up the Elleven system. (elleven.exchange)1 version - Latest release: over 4 years ago - 1 dependent package - 0 downloads last month - 1 maintainer
@makerdao/hardhat-utils 0.1.3
Utils for Hardhat4 versions - Latest release: over 4 years ago - 3 dependent packages - 9 dependent repositories - 18 downloads last month - 6 stars on GitHub - 5 maintainers
@tracer-protocol/contracts 0.2.13
Tracer Protocol20 versions - Latest release: over 4 years ago - 1 dependent package - 2 dependent repositories - 51 downloads last month - 3 maintainers
@mean-finance/dca-v1 1.0.1
💱 Core smart contracts of DCA V1 by mean.finance1 version - Latest release: over 4 years ago - 1 dependent package - 5 downloads last month - 26 stars on GitHub - 5 maintainers
erc721nftlab 2.3.4 unpublished
Implementation of ERC721 contract for NFTLab dapp12 versions - Latest release: over 4 years ago - 1 dependent package - 15 downloads last month - 5 stars on GitHub - 1 maintainer
@floatprotocol/float-contracts 1.0.3
The smart contracts behind Float Protocol4 versions - Latest release: over 4 years ago - 1 dependent package - 114 downloads last month - 1 maintainer
thales-contracts 0.0.2
The smart contracts which make up the Thales system.2 versions - Latest release: almost 5 years ago - 7 downloads last month - 1 maintainer
@peri-finance/peri-finance 0.0.1
The smart contracts which make up the Peri Finance system. (pynths.com)1 version - Latest release: almost 5 years ago - 1 dependent package - 29 downloads last month - 3 stars on GitHub - 3 maintainers
metiseth-optimism-contracts 1.0.5
`@eth-optimism/contracts` contains the various Solidity smart contracts used within the Optimisti...6 versions - Latest release: almost 5 years ago - 3 dependent packages - 19 downloads last month - 1 maintainer
synthetix_kds 2.37.0
The smart contracts which make up the Synthetix system. (synthetix.io)1 version - Latest release: about 5 years ago - 2 dependent packages - 21 downloads last month - 1,255 stars on GitHub - 1 maintainer
pynthetix 2.39.1
The smart contracts which make up the Pynthetix system. (pynthetix.io)3 versions - Latest release: about 5 years ago - 2 dependent packages - 27 downloads last month - 1 maintainer
@phoenix-global/horizon 2.33.6
The smart contracts which make up the Horizon system. (phoenix.global)5 versions - Latest release: about 5 years ago - 2 dependent packages - 29 downloads last month - 3 stars on GitHub - 1 maintainer
Past Dependents
Include Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter
Filter by Kind
Links
| Registry | npmjs.org |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:npm/%40eth-optimism/smock
spec |
| License | MIT |
| Namespace | eth-optimism |
| First Release | almost 5 years ago |
| Last Synced | about 1 month ago |
Rankings on npmjs.org
Overall
Top 2.0%
Downloads
Top 4.2%
Dependent packages
Top 0.5%
Dependent repos
Top 1.5%
Docker downloads
Top 1.6%