{"_id":"@binance-chain/web3-eth-contract","_rev":"1-32055f4f2d4add3f46e118f92329afa7","name":"@binance-chain/web3-eth-contract","dist-tags":{"latest":"1.6.1"},"versions":{"1.6.1":{"name":"@binance-chain/web3-eth-contract","version":"1.6.1","description":"Web3 module to interact with Ethereum smart contracts.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-eth-contract"},"license":"LGPL-3.0","engines":{"node":">=8.0.0"},"types":"types/index.d.ts","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"main":"lib/index.js","dependencies":{"@types/bn.js":"^4.11.5","web3-core":"1.5.2","web3-core-helpers":"1.5.2","web3-core-method":"1.5.2","web3-core-promievent":"1.5.2","web3-core-subscriptions":"1.5.2","web3-eth-abi":"1.5.2","web3-utils":"1.5.2"},"devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"gitHead":"3c49beac02dd35e175f8b30e4764c57a81a873dc","_id":"@binance-chain/web3-eth-contract@1.6.1","_nodeVersion":"16.6.1","_npmVersion":"lerna/3.22.1/node@v16.6.1+x64 (darwin)","dist":{"integrity":"sha512-Y7gJ2w1iRBE+UqnHImsMJef/4Pl1p3AATLfv/VtGzBz4m2U9wThkUL/gCbe7cFdeSat0X/Dx4oJ4GaThScJG/g==","shasum":"dd6eed9b8ebd80853888cc2f0a2f97b15d3adfb0","tarball":"https://registry.npmjs.org/@binance-chain/web3-eth-contract/-/web3-eth-contract-1.6.1.tgz","fileCount":10,"unpackedSize":80696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI6hfCRA9TVsSAnZWagAAhUQP/3wxhXBMX+vD8W+TLf2r\n2PquI5uQr4eMTiZus75BAlgs4S9ncRf35wbAeQj9RqySSpbzPKCl/wbBQXr/\nqUO/JezOeKALcbTy62qn5eNZMxe9Ou+3WUcMZ6uB0DL/Ay3V19JU/8UVtjFs\ndJ/juS1ZwmdPbDuVrYqtBWNeDSFy1+LNNdyB1z8ooC3mXRMeYtR/9lIuHHlf\nNLZaEjciQKbNHCcIwOKUfgwSG5g5wAtcOAT6j5J1kv0ZFmn8DQdBt4GsX2lW\ngeW2lDnPcVQXIb0PBfpnmYAr9jMbJWhfci8ujr0muiV/UPA+5Wfl38gX6YY2\npnh8pwyt7iGNjn3Y67lTpXSetcuDl43TIC1uH1VZsza4C5qO3d6o3RxTzl7G\n+6Wc6lKoVozFPtSn5PyGOUTEp8t/fVRe5TEgUeHzWpgrFSNet+RGd55K05lZ\nrwDExGUUlRVA31GBlpDO7mJKWloa8woNEKxGyFSoDDk83RDrO/8yrqVPT9Ht\nzWKHDxfv0M0+QgxyZtZuyp+WJP0SdUaqpAzZdltBaPaUeEN++oMvNDfJ3ZdL\nH4f9rjQ9104eI1HfctjdnK8x81oZ/l+lVxR4kZa289PZMz2xiNu9HX4ci0Ik\n4pjsUzUD+4x0hiZ54PZzPNfWtoaOZg/1PzdexypbglAd3U9/HWibraNfkPf+\nOYgX\r\n=OgU9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr/KoXpjg5b4l89ew9zndcUixUuKORRLxoFbLMNJP3/wIgXLCMWdoOFsxUuJJsMGmVFdmMeov9us1kj2GGAE857/Y="}]},"_npmUser":{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"},"directories":{},"maintainers":[{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-eth-contract_1.6.1_1629726815259_0.6254284007348732"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-23T13:53:35.181Z","1.6.1":"2021-08-23T13:53:35.390Z","modified":"2022-04-04T18:52:23.400Z"},"maintainers":[{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"}],"description":"Web3 module to interact with Ethereum smart contracts.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-eth-contract"},"license":"LGPL-3.0","readme":"# web3-eth-contract\n\n[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]\n\nThis is a sub-package of [web3.js][repo].\n\nThis is the contract package used in the `web3-eth` package.\n\nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-eth-contract\n```\n\n## Usage\n\n```js\nconst Web3EthContract = require('web3-eth-contract');\n\n// Set provider for all later instances to use\nWeb3EthContract.setProvider('ws://localhost:8546');\n\nconst contract = new Web3EthContract(jsonInterface, address);\ncontract.methods.somFunc().send({from: ....})\n.on('receipt', function(){\n    ...\n});\n```\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n\n## Types\n\nAll the TypeScript typings are placed in the `types` folder.\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n[npm-image]: https://img.shields.io/npm/v/web3-eth-contract.svg\n[npm-url]: https://npmjs.org/package/web3-eth-contract\n[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-eth-contract\n[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-eth-contract\n[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-eth-contract\n[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-eth-contract\n","readmeFilename":"README.md"}