{"_id":"3f-web3-eth-contract","_rev":"1-2a91db75225a9b360b5836979ef1dc5c","name":"3f-web3-eth-contract","dist-tags":{"latest":"2.0.0"},"versions":{"1.7.5":{"name":"3f-web3-eth-contract","version":"1.7.5","description":"3F-Web3 module to interact with Ethereum smart contracts.","repository":{"type":"git","url":"git+https://github.com/FinanceFutureFactory/3f-web3.js.git#main"},"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":"^5.1.0","3f-web3-core":"1.7.5","3f-web3-core-helpers":"1.7.5","3f-web3-core-method":"1.7.5","3f-web3-core-promievent":"1.7.5","3f-web3-core-subscriptions":"1.7.5","3f-web3-eth-abi":"1.7.5","3f-web3-utils":"1.7.5"},"devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"gitHead":"73f460994ebada0401128a426a25ef2a76d700c2","bugs":{"url":"https://github.com/FinanceFutureFactory/3f-web3.js/issues"},"homepage":"https://github.com/FinanceFutureFactory/3f-web3.js/tree/main#readme","_id":"3f-web3-eth-contract@1.7.5","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-+WN1WO4Ym7XHQL3N+oe4T/HwawkxjjYSfIiiZ8j36+t1PkODioNouUbcceiq8BiukFvhJTa/nkHawEA8mLiXjw==","shasum":"5a4acb8ecf0a428e8e8bab4ebbedfee6099c810b","tarball":"https://registry.npmjs.org/3f-web3-eth-contract/-/3f-web3-eth-contract-1.7.5.tgz","fileCount":9,"unpackedSize":86816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8UZyd2JdEsZ3BV2/7ZOvOaADqD9y+bmyAxTH77LUduAiEAzniBZF9D/PUrR4ouTZVrTywSyqHHl8wtJcfb5ZoBjVg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLSiXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFrxAAoGp3u5b44reUOGIZ5wLb+sgsiy5t1Zy7BDYw2kTvpa7E9w8E\r\nVGZMqKDFVb0/GM3KyAAnR6JPVZVVm3NISzyVfaMecbxyV2u7dZxe1+ZqIu0C\r\nFdmnpLzYJTRkD9W5fWTfEjiIWxGcuU1kd19eDDoV1PykKD/PptcU8kseIenh\r\n0i31OUY9C2zbG/l/+qFbesfrGhiRUShZLVatCbQxJWRKo0v/Tj/HGKY0e6jE\r\n4/cQvre+kcsP2uK/t3eJfxNVZwH7hLXrD3wGQY7U2AJjmFXqpMfh+6imANmv\r\nk6TkwtoaXeLQQcyo1jpLuC8/yc8uVMIaiYrPIITbioHAAYwK57VElnw1Upt/\r\n3l6L0DopcjG5qwGKvNr+yf8acYP+NuYC1+ShvxtFmXeirchHe7xKXjDL+J8Y\r\nm7rsfBGXnPQXXcSuEyaQMCQzwqi/KW23m+mdRG5iBl64KqhlJ5IuizfBsyKe\r\nIpmB8Yc++3F894cRdx8L/NoimcbEnCq+2qePCjaJw8tCE9MVwjyGJBQR50iU\r\nk4eKSDJx31RtiLgRhy2vAY66tWc2Ksd6QCwQ01cza6Ha4TxCPZxAvrptuB76\r\nwvsu5iQURyY5Y8Vsqv7Hi6Psp9tBVmWwsmMcENdGBhUew8UVQFE47MZjuYJj\r\nLEKbGVlVA5NgjOs/ANMWk1ZQGcgUd73/3V4=\r\n=htwk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnice","email":"peng.bo.nice@gmail.com"},"directories":{},"maintainers":[{"name":"dnice","email":"peng.bo.nice@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3f-web3-eth-contract_1.7.5_1663903895157_0.9822551814354439"},"_hasShrinkwrap":false},"2.0.0":{"name":"3f-web3-eth-contract","version":"2.0.0","description":"3F-Web3 module to interact with Ethereum smart contracts.","repository":{"type":"git","url":"git+https://github.com/FinanceFutureFactory/3f-web3.js.git#main"},"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":"^5.1.0","3f-web3":"2.0.0","3f-web3-core":"2.0.0","3f-web3-eth-accounts":"2.0.0","3f-web3-core-helpers":"2.0.0","3f-web3-core-method":"2.0.0","3f-web3-core-promievent":"2.0.0","3f-web3-core-subscriptions":"2.0.0","3f-web3-eth-abi":"2.0.0","3f-web3-utils":"2.0.0"},"devDependencies":{"dtslint":"^3.4.1","typescript":"4.8.3"},"gitHead":"083877b1eac309b648279d9a597cfd8055b1c680","bugs":{"url":"https://github.com/FinanceFutureFactory/3f-web3.js/issues"},"homepage":"https://github.com/FinanceFutureFactory/3f-web3.js/tree/main#readme","_id":"3f-web3-eth-contract@2.0.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-+1IhUA/cNO9AOX52i0kzgEUNZnQyiXs/cJknpusZrWB4PIO8IjgDwall5z/xeja5K3S1bzujgIOctQc8yrpeEw==","shasum":"049069f6bb23f5fc933c521bc3a1dcc81f949040","tarball":"https://registry.npmjs.org/3f-web3-eth-contract/-/3f-web3-eth-contract-2.0.0.tgz","fileCount":9,"unpackedSize":86893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAU1vaPosug0aRnGu2yoOfsQVYdMOddUNy332G62AWuAiEAzyLKVWbkE8HUPwRQmlp1JTZh0OZ7wv/ftmoVN/bgmeY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMroEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmQg/+L61qqX+NClM8Di8ArxsWtp9Y/rCkg9EnpIEuT439pB0O66ia\r\nDwW3nhtjbxSSMI9LhLRxwbEOagCVeeLZaI65U24AKxYl0iT9Vpl5pEh6F7Ht\r\nOunOgSuSv3MjTb/3xYzI1xyesKjYzDB366vGT8rtviI1do/QiHcqeCoIuhyP\r\n2xHINdXDIZbijr4mhdHFwrBamP+cUjfD1qalwO3nUUEyNIWkyHb2sJNJJEQS\r\n8XACUBEBmyqf4HxsrBJos6lIPfegsnlM4nEgxbQXK5p9GiXNPWpKld+Rmezk\r\n9/QSb457x1ZeG2oj1rEMO0M59afaVpTv2/TyE6QjVs37EqMxvLKcmVQUo4GG\r\n8V0Kui6b25VO3Ji+1754t6U/XJGhDxpKNkzih51J///SG/xfNPev1k/DaB9Q\r\nmFH/fVyfLviRTM8f7sQUvcx1tWBqYe5qpsqsFV5imc8/mBMeI64hwD2MzBLx\r\n59ZGHAfpHPCJ/91r4Bv5drdWZaR/S7230Q+oojgdT850IUCY0ozqRrIU9yh6\r\n+cGzBTXeaHuWYtcgtSE1lQdoB2lw04b8IIPQa6rIX4mmJWgcSZku8UB/sIbR\r\nUc9BkFjhm7v3hiDRMEkzgRnJ9yUVaYuFnFv+B1IrlWFDJ7zIvvMh0C3jgtmY\r\nK+gB6I00vvL79EarHy3KfTw2zN5fCg2++ww=\r\n=2j2C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnice","email":"peng.bo.nice@gmail.com"},"directories":{},"maintainers":[{"name":"dnice","email":"peng.bo.nice@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3f-web3-eth-contract_2.0.0_1664268804251_0.49589387477657976"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-23T03:31:35.156Z","1.7.5":"2022-09-23T03:31:35.332Z","modified":"2022-09-27T08:53:24.602Z","2.0.0":"2022-09-27T08:53:24.495Z"},"maintainers":[{"name":"dnice","email":"peng.bo.nice@gmail.com"}],"description":"3F-Web3 module to interact with Ethereum smart contracts.","homepage":"https://github.com/FinanceFutureFactory/3f-web3.js/tree/main#readme","repository":{"type":"git","url":"git+https://github.com/FinanceFutureFactory/3f-web3.js.git#main"},"bugs":{"url":"https://github.com/FinanceFutureFactory/3f-web3.js/issues"},"license":"LGPL-3.0","readme":"# 3f-web3-eth-contract\r\n\r\n[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]\r\n\r\nThis is a sub-package of [web3.js][repo].\r\n\r\nThis is the contract package used in the `web3-eth` package.\r\n\r\nPlease read the [documentation][docs] for more.\r\n\r\n## Installation\r\n\r\n### Node.js\r\n\r\n```bash\r\nnpm install 3f-web3-eth-contract\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nconst Web3EthContract = require('3f-web3-eth-contract');\r\n\r\n// Set provider for all later instances to use\r\nWeb3EthContract.setProvider('ws://localhost:8546');\r\n\r\nconst contract = new Web3EthContract(jsonInterface, address);\r\ncontract.methods.somFunc().send({from: ....})\r\n.on('receipt', function(){\r\n    ...\r\n});\r\n```\r\n\r\n[docs]: http://web3js.readthedocs.io/en/1.0/\r\n[repo]: https://github.com/FinanceFutureFactory/3f-web3.js\r\n\r\n## Types\r\n\r\nAll the TypeScript typings are placed in the `types` folder.\r\n\r\n[docs]: http://web3js.readthedocs.io/en/1.0/\r\n[repo]: https://github.com/FinanceFutureFactory/3f-web3.js\r\n[npm-image]: https://img.shields.io/npm/v/web3-eth-contract.svg\r\n[npm-url]: https://npmjs.org/package/web3-eth-contract\r\n[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-eth-contract\r\n[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-eth-contract\r\n[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-eth-contract\r\n[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-eth-contract\r\n","readmeFilename":"README.md"}