{"_id":"@defi-wonderland/prophet-sdk","_rev":"28-0255395976fbe625653c43643ba507f3","name":"@defi-wonderland/prophet-sdk","dist-tags":{"latest":"0.0.0-bfcf3bba","canary":"0.0.0-ab5e3bdd"},"versions":{"0.0.0-bfcf3bba":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-bfcf3bba","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-bfcf3bba","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"b91222006ddeede9ffbe30ea462948c789916e4a","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-bfcf3bba.tgz","fileCount":249,"integrity":"sha512-+QE1xe/qn0UeOBrI4UtlcDtb/if8f1lWJkJIsx/ksk5cYLyZlp1XMDvnYWQWxUpXvlxIcDz4MT52hgmj/Ipx2w==","signatures":[{"sig":"MEUCIHMiW5V32z1vh6UaoJT9po4YI9ftIQXMJHzi//1iNNuzAiEAlSYW9W/mZwV+wWlsxqDiLieuWHv9EIAdb3NvfwUGvyU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":945385},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","gitHead":"bfcf3bba31b2bad029177779ce66c4ac8f0ce590","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":"eslint ./src/**/*.ts","package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","prophet-core-abi":"0.0.0-51d66dc7","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-batching-abi":"0.0.0-6aad1f6c"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@typescript-eslint/eslint-plugin":"5.59.6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-bfcf3bba_1695995870196_0.5477553256986991","host":"s3://npm-registry-packages"}},"0.0.0-29ee7e16":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-29ee7e16","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-29ee7e16","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"5c290bb42a5d66fe6021bf0c0561fcc5e1d9fbaf","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-29ee7e16.tgz","fileCount":243,"integrity":"sha512-D/Rnh6LmAsDSRDF6SJem9QxzaeGIsfMTMYiEXMy0pSSS+7EAUykJ3TXJCaYmlypSrN6mAc3nVzI2g8tSoy3Hkg==","signatures":[{"sig":"MEQCIEXRnQSphdcIFx/fcixLQuhbC2Qhn6YMeTjhh5VX7V48AiBO3jpfWmeiXbOUmb4Pwi2U36x8gCvya/yVB0as/XKFqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1153721},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"29ee7e165228b32686d9ad744f32787b6593af7e","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":"eslint ./src/**/*.ts","package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-f5236cfc","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@typescript-eslint/eslint-plugin":"5.59.6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-29ee7e16_1696240694610_0.09117885090654987","host":"s3://npm-registry-packages"}},"0.0.0-5202587f":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-5202587f","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-5202587f","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"206887ef77930a5360a0f6d8c5ded266dc4cf5de","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-5202587f.tgz","fileCount":243,"integrity":"sha512-eyoyMgUdjzgm7msayADY86sRZ7fB9qaxYqYuaUj/j33ma74RcIMAbzcCku/y6Zp2I+AXFRKCQ1NkZoYd6jTVfQ==","signatures":[{"sig":"MEUCIQDIU9Vpf4zrEs9svBl8dcnFgFmo9f5OxE0WvJK3tTQolwIgArFDgAJQkynaGdcfKld2Kp6qS/QNLwjGJ4T+cADWnwI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1156816},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"5202587fa32b650b40d4d00fd72195a49dbac644","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":"eslint ./src/**/*.ts","package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-f5236cfc","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@typescript-eslint/eslint-plugin":"5.59.6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-5202587f_1696341696747_0.5016933873644598","host":"s3://npm-registry-packages"}},"0.0.0-b053745b":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-b053745b","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-b053745b","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"26e0658276cde243da1cf4dc06c17e94cd92b839","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-b053745b.tgz","fileCount":243,"integrity":"sha512-VG1YygdMjB94VrWjLo9Gzz67lzGdmg3TuJwp/RHKOALYOWPz3TzILxXY4JNOX4SivWy4agjxw+58+/X3teX5Eg==","signatures":[{"sig":"MEQCIAchP/iQJEdnXLc7E6IYwOXXPWx4CGvoeR5F1wBXJEVmAiAOX46vXFnwoFfd75+D+w9g9YkLTe9bU7OuqKpSoW5b3w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1158235},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"b053745b5e35a9478a24b0f06eb86e8b15ab3b71","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":"eslint ./src/**/*.ts","package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-f5236cfc","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@typescript-eslint/eslint-plugin":"5.59.6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-b053745b_1696418673922_0.9733410508419345","host":"s3://npm-registry-packages"}},"0.0.0-16b07eb3":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-16b07eb3","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-16b07eb3","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"f376e566297b7181d7994f0699db65465af155d9","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-16b07eb3.tgz","fileCount":243,"integrity":"sha512-9A+wCv5v3oePv4jRRiEufYfkXffv2RmSSUc0MPBSeUeHWTu2grA7j3RM16lXjflz0f6t2IWAopED6/ouC+Djog==","signatures":[{"sig":"MEUCIFMciTaAeB2NS0zqJ2KlZDwCYdA50aAKSaLISO7SUJ4fAiEA0kG3m3U9W7r1zvXNgJqPlWWzC06x2IFT5KCQt9ix2rc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1158903},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"16b07eb3e0311649821ae2c113c560f02ee74608","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":"eslint ./src/**/*.ts","package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-f5236cfc","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@typescript-eslint/eslint-plugin":"5.59.6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-16b07eb3_1696420215295_0.38756228513651925","host":"s3://npm-registry-packages"}},"0.0.0-04f67f9c":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-04f67f9c","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-04f67f9c","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"f3fd80b7296ab31f174c6a1ce378413bafd603b7","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-04f67f9c.tgz","fileCount":243,"integrity":"sha512-NkX6BQrPvWZD6TKhe5Fr0DiAgoK0CmKoQQOxDb0dLLnGJZfWikt6wp/nHYweBcfqJbn5+LwctmPOTdfoSNyf/A==","signatures":[{"sig":"MEQCIHkI44KuDs6ETl2qxooj/0354BC+jRaV6zS3zsKTt+BpAiBYLt2W7uXfnptlDHpfvoAVnX/9XqIxnBiAlRc4B6TW9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1159414},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"04f67f9ce142fc6832c10d9759f8056b9d1bdf52","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":"eslint ./src/**/*.ts","package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-f5236cfc","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@typescript-eslint/eslint-plugin":"5.59.6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-04f67f9c_1696433732058_0.9802435110953778","host":"s3://npm-registry-packages"}},"0.0.0-b3cd9660":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-b3cd9660","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-b3cd9660","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"bea974a6a8ce1e97738f10d376c8b90d18d9cfd5","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-b3cd9660.tgz","fileCount":141,"integrity":"sha512-usMQLWq3d65La01SsnbUuwzr9kcgronBSnrQTfHAB5ip4lLn1sgeXLqwY9PxDb9sIZ/jjjg3/0TGeFnJyDnKeQ==","signatures":[{"sig":"MEQCIBymyUvLpgqB1vI6y+jZui8zV4yOZOFttwbWkabmOo02AiAhj2nRxg/SechGWx27+lxK7M3qAY043vA9Z3WPAGE2/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":568693},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"b3cd96605e8be064504a0302dc34df1ad09c67ff","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-contracts/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","postinstall":"husky install","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-b3cd9660_1697218194523_0.8167769021225706","host":"s3://npm-registry-packages"}},"0.0.0-730bafc8":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-730bafc8","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-730bafc8","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"9f1c414c9f06cd311b99bbefbc7a7855431b4d38","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-730bafc8.tgz","fileCount":141,"integrity":"sha512-sL8A9B8RW2577nkx5pmvcyuE0YjGtA5g4rn5cwh6w1BEbWJbiGFphzixSGVd9saM0UhplwTHzhovZsOWgfErMQ==","signatures":[{"sig":"MEUCID+8QWKqvQj02Nz9/KguJ6N16S9s8ebc5YJm5gybJGffAiEAkAOG86lT8G2wlMW5A9If7HS9kk1vmauNHePdkAr/q0c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":568746},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"730bafc84c5f0a8bd44c0f4ad1a5b8be12b71da1","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-contracts/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","postinstall":"husky install","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-730bafc8_1697225154338_0.6367202231011468","host":"s3://npm-registry-packages"}},"0.0.0-6f384c05":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-6f384c05","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-6f384c05","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"eb5779249aae73e2bcaf60595e67f9f3caf18a50","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-6f384c05.tgz","fileCount":141,"integrity":"sha512-G2iPW8O2+he8bvaVY13sMSCm1F6mlh3E+LVC5f276xW1ewPOhDe97wHbmROWjUvBCpUrWc+MY0uRlwQl5L06kA==","signatures":[{"sig":"MEUCIQC48GDnIPIz8rAdPl/D1yepERduJgzefzKKYN6Tjd48fgIgVawzRVzj28m6f1Y9586FlVCV7FnBukazXkucF88gKq8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":568710},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"6f384c05ab70e0349f8cd017a2bf1965a4298225","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-contracts/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-6f384c05_1697227410422_0.27409468634632606","host":"s3://npm-registry-packages"}},"0.0.0-1dcbc7cc":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-1dcbc7cc","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-1dcbc7cc","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"ba2f83d4f6f4d837cdae91cf4069a0f77289d8c1","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-1dcbc7cc.tgz","fileCount":129,"integrity":"sha512-VoHx2kqPhL8TIefXaqv1iWTmh4vKV2tUD1H5NziQ8BuSR3ZyiVHWfjXP/BRMwbdNLMS0B68rq+Za8SCuiGaFzw==","signatures":[{"sig":"MEUCIQDakn/SWKnSr/nShOiYoJXNJK5C6A4R/Hh5H62koZ3ZPQIgX91H9lHK65fJAxqlV5LEZTFJEYpKsZ/kda+JUzHYR8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":360597},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"1dcbc7cc03f176c6a121e337c2b514ef9ca48843","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.0","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-1dcbc7cc_1697229524383_0.1957523296027699","host":"s3://npm-registry-packages"}},"0.0.0-0e1c1fb3":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-0e1c1fb3","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-0e1c1fb3","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"66abd394af208343edd899617cf4ae6f172a54b1","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-0e1c1fb3.tgz","fileCount":129,"integrity":"sha512-ffgqZvqxcLPzlvCkZTHDG9UjycOxHDUVCkNbodjcs71UCn18SpEbdIHBHp7U6TeHH7RPizzADpRHrUB6eggLGg==","signatures":[{"sig":"MEUCIDWXHx5xsrers5maSRLqgSmtDFysf/FpLBqPfRTsTGoPAiEA7HxPnCgZT2D+5UXZhQm5l5dxkwc/KaqAoMZ1Kyuvp1Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":360597},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"0e1c1fb32bfa7c17c37684dde935d2ccc331519f","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-0e1c1fb3_1697647670956_0.7258481598124851","host":"s3://npm-registry-packages"}},"0.0.0-ac6685e2":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-ac6685e2","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-ac6685e2","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"2f90899b8ff6d9fc91ed2f7b92266793cc8d680a","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-ac6685e2.tgz","fileCount":129,"integrity":"sha512-P9drD8UdGuDxIg8OITq8WeB+iY4tExT0njXN411OacbG5KXpjktTxaOXXz7cr2+94ly5yLLIg6OqyJgBmXdt0Q==","signatures":[{"sig":"MEQCIEundCEKQwMFp3NtDI67OaMaEP4qslZR22UexVG3vJlPAiANfT4D5TtoCzPCXV8MbduoQdbE/IjbnHhKUCAV38yL9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":360597},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"ac6685e2df12c5364ba84e8f2a5d902c246bc3d3","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-ac6685e2_1697650467317_0.7069101749169855","host":"s3://npm-registry-packages"}},"0.0.0-6043063f":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-6043063f","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-6043063f","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"3e3537113e1bd53be5ce2d4d6142006bc20a8dc9","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-6043063f.tgz","fileCount":129,"integrity":"sha512-6NMzD9YinfYwxP4wcKzkCWfCEIBrngEqxr9suiG3abNDX5j01fbyb/rab6FU0s3Wk99B1pRZ2WLAPBXj7ESIsg==","signatures":[{"sig":"MEQCID4c+MnCytJbuU5SKYCeLtUX9e3QpM8sWY45XmyMI7BmAiAFjVoytAQFJYLKanyNVvG4JDFJz7eiZn3chdDC32UeiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":360597},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"6043063fccc18ef1daaf074a3d3a1fbb4df68fe4","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-6043063f_1697653464376_0.9415248354778505","host":"s3://npm-registry-packages"}},"0.0.0-ac1e8410":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-ac1e8410","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-ac1e8410","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"fad548e79d5d1575904372967880e7f8b6a55f35","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-ac1e8410.tgz","fileCount":129,"integrity":"sha512-ZbMv1ZTsX6rUGInjyaj79W4Zphm+zsxyK7SVgqnF/7oHk8v/HQ5Jb7KWWOLJO3imRv4ryAj/8hPkFReqRIdrMQ==","signatures":[{"sig":"MEQCIHG6PohO06Ge1wf7f7yv6g9QAhwfObmPpSC5kLu+3KheAiBi7bybMGejJUyDpHqosQF56U9/69IHRJyWfzXU6tvT8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":360597},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"ac1e8410f2b35381e83c105fbff95739d7cf9b75","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-ac1e8410_1697656018710_0.7823166726594704","host":"s3://npm-registry-packages"}},"0.0.0-5a2fe278":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-5a2fe278","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-5a2fe278","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"2ef8faf50ae01c6abff148e48e758e724b894698","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-5a2fe278.tgz","fileCount":129,"integrity":"sha512-r2MIHvR0IpYRJ8WrFerChtLvMvaO5xE499xUZclUCm1fYMsvHOpYOmgokimrBVluqCcO6WeZwsRKyEhuzCzsgw==","signatures":[{"sig":"MEUCIFAxiWU4gbo5ccClBm3OqcuDqjK6oWyuqA3FhqBz4cL3AiEA1OVy+NQEnqnXfpWlilCAbcVewiFlgpDKD0mx0X6194M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":365839},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"5a2fe2781dad77ff41757fa40f29b20e3a52cd19","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-5a2fe278_1698341612106_0.6740685139702762","host":"s3://npm-registry-packages"}},"0.0.0-b50ca7ba":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-b50ca7ba","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-b50ca7ba","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"1ffebd947cc17288ce52ade8d56b09c2cc45ada6","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-b50ca7ba.tgz","fileCount":129,"integrity":"sha512-PcrQqwOx2+JJcYMdUCDTaFXGOROy2IN4nBVVEGncJ6F4IS+TG5bDyf/fcqJ+Vf4kZbMEUaX1oShyaG1Ln0+zJQ==","signatures":[{"sig":"MEUCICAF6nddN39zAOi7MZPU6PX0tyETqm6mU5VJLK5cAgeSAiEAlkezfb7IzDB3nELummc7lI7qVjIrECXwV3tNYJGUyzU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":366492},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"b50ca7bace61aa6fbb6f62763c8d018cca88906f","scripts":{"test":"cross-env mocha 'test/**/*.spec.ts' --timeout 10000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-bb56cdd7","@defi-wonderland/prophet-batching-abi":"0.0.0-421b4b24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-172c4052"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-b50ca7ba_1698349905421_0.7387492513682858","host":"s3://npm-registry-packages"}},"0.0.0-bf021930":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-bf021930","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-bf021930","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"589cd676076fff353927b5c24e69b1990789e76b","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-bf021930.tgz","fileCount":135,"integrity":"sha512-u6XdN2lg36p2C+vrT9Ssc0dlS3env90ZtePRvl2EDBBLuh/jql3nT01QARR3DRg6QyRrOEDkAUn8mUQ4/OlWzg==","signatures":[{"sig":"MEQCICE0VUkO0Wdr7q06OxMI1Iw6arbwvgCnX5mQ5I2Ae4+HAiBi7zV3jVLFEqAL7480Ez4LcZ+RQPrxyC0eqorujsBZuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":465951},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"bf02193023e71d9ed1e365cb9021b886acf30d7a","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-68d6c330"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-bf021930_1700748680822_0.8738599194167831","host":"s3://npm-registry-packages"}},"0.0.0-decc8112":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-decc8112","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-decc8112","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"ca5b919c9544f6cce17b1bfd1f6f71aeee246067","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-decc8112.tgz","fileCount":135,"integrity":"sha512-P4AM7bc1maCDss70OH7AF8H+t9kp501MOxLexVdChfobtPXPva5qXU3NOi/2nKd9wijHFAFPdmgPv9cl3K5MEQ==","signatures":[{"sig":"MEUCIFJ8C03pAgxzzPJASvW/bDPE2IftO5q7gNBcUmxdLMNGAiEA/FzG6l7uhJ4i/Fg3JHkm/EaJGSiRAMavsSitXLeVDQc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":465929},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"decc81124299f5ea52fc614e6b769dc041ab3ab0","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-68d6c330"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-decc8112_1700750858587_0.4403119864993865","host":"s3://npm-registry-packages"}},"0.0.0-e9df4503":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-e9df4503","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-e9df4503","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"6bb7e01395bb77f709f5d84acf97bb227d1a8468","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-e9df4503.tgz","fileCount":135,"integrity":"sha512-6WzhRR5XpW30WqpGZNBMHJ8tXez7qy0ORb6H93l7KzEdj3dMfL6A2hq8Cd1ML1YrURzrP6UEoMsrr++G6aC3aA==","signatures":[{"sig":"MEUCICj1w02i1DqIZiuIT9eMhnxu/fiEWggFfo+mOC4fNey4AiEAxq03/EmwiVA+pcOymFtONRDsAr8bOZUccJUaJLZXbXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466812},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"e9df4503c94ee0250fd88061e30eb1b106a9615a","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-68d6c330"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-e9df4503_1700759372998_0.7684561504284797","host":"s3://npm-registry-packages"}},"0.0.0-05c08985":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-05c08985","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-05c08985","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"91e8e2e0409818dfc11c780d9debde2c3e5476af","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-05c08985.tgz","fileCount":135,"integrity":"sha512-q6l+H0DtkwBRK3ZOENR4uq8vKx8xW1TDsSyap+XYOJKTIBJ1mAv2GM2xes58e4hmg+u0BH432lPGZARu6T9fzg==","signatures":[{"sig":"MEQCIAppifzXMjwVoBaVcdGXmAk4KIAoR1UiCtnVm/xoL01cAiBVbztO8dGOQ9Nqdaxk4fB8HmNwS3jNxirImmI9OaM9Kg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466816},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"05c08985e32fb06508c7a723bff3af70df57b07c","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-68d6c330"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-05c08985_1700764178077_0.2578669009086687","host":"s3://npm-registry-packages"}},"0.0.0-fd8968d8":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-fd8968d8","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-fd8968d8","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"b238c7802763cbc7ded4d1c98131d1363382bf69","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-fd8968d8.tgz","fileCount":135,"integrity":"sha512-uMWtzB78NCWL3gCeAnGjgZF3LAbKFV3SPV47XswdjiFDyXklL/5DYXs2dfUiGR7L8v5kDl74ZMahEVUdhNnmOw==","signatures":[{"sig":"MEUCIQDmsnBXykoIwFaO4h/JFKDVc1ZGQxXR3m7F/j4P1b3kxQIgTinXk41ks2aldhwcJl2K756CyBwvXfvvVrq0vuL2yOw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466897},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"fd8968d8430efc254c1e803ac9cec2d3b1d4878e","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-68d6c330"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-fd8968d8_1700764277596_0.5392513021887826","host":"s3://npm-registry-packages"}},"0.0.0-2fff8a11":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-2fff8a11","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-2fff8a11","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"ffd93e9d4cacc06ef10b32457a7e3db23846316b","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-2fff8a11.tgz","fileCount":135,"integrity":"sha512-VKJdVFj4wdHD+lyOvd+fGThcUlmEcaGcYviP1KQEgNtrbGDWBmdnzE8FlmPvrD1l9rc0KX5/tINpdaBnBbd9dw==","signatures":[{"sig":"MEQCIAhma1UFwh+uQasQws5tuMfdmj4kkPiEjTNvU3eNjVjJAiB15TjBKDq4xmthr0ngyVC947LsQF6/UQy8nKa+bayGdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466706},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"2fff8a11f463f954978722f5395f1684907d4d98","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-68d6c330"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-2fff8a11_1701082581215_0.684754233656232","host":"s3://npm-registry-packages"}},"0.0.0-3ab51291":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-3ab51291","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-3ab51291","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"957c00adb3c53843ce238374363a70345d57013e","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-3ab51291.tgz","fileCount":135,"integrity":"sha512-CP321QI3MNd3xIsDUcZuQ4Ibxx0FYsvo/8dk1djNoO1j3jCAx01PEFgSmigyAAdH3fiA9F/rfKuncj5vtpOMYw==","signatures":[{"sig":"MEQCIGlX+Umj3SZfeM6t3moXyNoOJ5kLRaZUhiBpgevAnX81AiAHFiMeAG27F+PV1rJ/lP31AHPmuqShGtBGFH0VLD8VVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":467573},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"3ab51291d751d5fa71216e3b6745712fdb8e3a1c","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-ee57f860"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-3ab51291_1701159010452_0.8430446228254933","host":"s3://npm-registry-packages"}},"0.0.0-ab5e3bdd":{"name":"@defi-wonderland/prophet-sdk","version":"0.0.0-ab5e3bdd","author":{"name":"Wonderland"},"license":"MIT","_id":"@defi-wonderland/prophet-sdk@0.0.0-ab5e3bdd","maintainers":[{"name":"wonderland-bot","email":"wonderland@defi.sucks"},{"name":"gas1cent","email":"gas1cent@defi.sucks"},{"name":"0xng","email":"ng@defi.sucks"},{"name":"0xgorilla","email":"0xGorilla@defi.sucks"},{"name":"kelvinfichter","email":"kelvinfichter@gmail.com"},{"name":"wei3erhase","email":"wei3erhase@defi.sucks"},{"name":"enderman0x","email":"enderman0x@defi.sucks"}],"homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"dist":{"shasum":"6c0ec8779bc351fbb82d98d51d3fb5b06342033d","tarball":"https://registry.npmjs.org/@defi-wonderland/prophet-sdk/-/prophet-sdk-0.0.0-ab5e3bdd.tgz","fileCount":135,"integrity":"sha512-CFzuxagGAwr6DDKMWVAsHTGl5w9fFaXsJM2rwPOFAWS+emqi0GPPLdlDHD7JRXqE88uHu/5TRgNtVgHHiveghw==","signatures":[{"sig":"MEUCIDb7bNrilUedanLVt+2RlX33jOxUE1/LKiW3NabGH2IoAiEAtqjtfI+LzFZyNE2X+eaZ+jRy4g+vrfbljAEkVooxJec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":469423},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","readme":"# Prophet SDK\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)\n[![Tests](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/prophet-sdk/actions/workflows/tests.yml)\n\n⚠️ The code is under development, tread with caution.\n\n## Overview\n\nLightweight and user-friendly wrapper around Prophet contracts. The SDK will be a wrapper for blockchain calls, and will support all of the shared interfaces mirroring all of the oracle’s and the modules’ functions in the **[Smart Contracts](https://github.com/defi-wonderland/prophet-core/blob/main/solidity/contracts)**.\n\nThe SDK will also support adding custom modules so that any developer can create and use modules specific to their use case.\n\n## Development\n\nTo set up the development environment:\n\nClone the repository:\n\n```bash\ngit clone git@github.com:defi-wonderland/prophet-sdk.git && cd prophet-sdk\n```\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nBuild sdk:\n\n```bash\nyarn build\n```\n\nRun tests:\n\n```bash\nyarn test\n```\n\nCheck coverage:\n\n```bash\nyarn test:coverage\n```\n\n> **Fill the .env file with your API keys as needed**\n\n## Installation\n\nYou can install the SDK package via yarn or npm. Make sure you have Node.js and yarn installed.\n\n```sh\nyarn add prophet-sdk\n```\n\n```sh\nnpm i prophet-sdk\n```\n\n## File Structure\n\n```\n~~ Structure ~~\n├── .github/workflows/: Github actions\n│   ├─── canary.yml: Release a canary build manually [dispatch]\n│   ├─── lint.yml: Check code linting on commit push\n│   ├─── release.yml: Release to npm on merge to main\n│   ├─── tests.yml: Run tests on commit push\n├── .husky/: Git hook scripts\n├── src/: The core SDK scripts and logic\n│   ├─── batching/: General batching functions for efficient RPC calls\n│   │    ├─── abi/: Batching contracts ABIs\n│   │    ├─── contracts/: Batching contracts\n│   │    ├─── batching.ts: Batching helpers for multiple RPC calls\n│   │    └─── ...: Helpers for handling batching dispute, request, and response data\n│   ├─── config/: Configuration and environment setup across the library\n│   ├─── helpers/: General helper functions used throughout the library\n│   ├─── ipfs/: General IPFS management\n│   ├─── modules/: General module management\n│   ├─── types/: All definitions of contract types and general types\n│   │    ├─── Module.ts: Module-related types\n│   │    └─── types.ts: General data types\n│   ├─── utils/: Utility functions\n│   │    ├─── cid.ts: Utility for IPFS Content Identifier (CID) handling\n│   │    └─── constants.ts: Storage of library-wide constants\n│   ├─── ipfsApi.ts: Wrapper logic for the Pinata SDK\n│   ├─── module.ts: Wrapper logic for the Module contract\n│   ├─── oracle.ts: Main logic for the Oracle SDK\n│   └─── ...\n├── test/unit: Unit tests for the SDK components\n│   └─── ...: Test files\n├── README.md: This README file providing project information and usage guidelines\n└── ...: Other repository-related files and directories\n```\n\n## Live example\n\nYou can find the live code example [here](https://codesandbox.io/p/github/defi-wonderland/prophet-sdk-example)\n\nAnd the example repository [here](https://github.com/defi-wonderland/prophet-sdk-example)\n\n## Contributors\n\nProphet SDK was built with ❤️ by [Wonderland](https://defi.sucks).\n\nWonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.\n\n[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.\n","gitHead":"ab5e3bdd0ec1acaaf6ae19c4d1628156c79c6d7d","scripts":{"test":"cross-env mocha 'test/unit/**/*.spec.ts' --timeout 30000","build":"yarn typechain && rm -rf dist && tsc -p tsconfig.json","prepare":"husky install && wonderland-crypto-husky-checks install","lint:fix":"sort-package-json && prettier --write './**' && eslint ./src --fix","typechain":"typechain --target ethers-v6 --out-dir src/types/typechain './node_modules/@defi-wonderland/prophet-core-abi/abi/*.json'","lint:check":"prettier --check './**' && eslint ./src","test:coverage":"nyc --reporter=lcov --reporter=text mocha 'test/**/*.spec.ts'"},"_npmUser":{"name":"wonderland-bot","email":"wonderland@defi.sucks"},"repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"_npmVersion":"9.8.1","description":"Lightweight and user-friendly wrapper around Prophet contracts","directories":{},"lint-staged":{"*.ts":["prettier --write './**/*.ts'","eslint ./src --fix"],"package.json":"sort-package-json"},"resolutions":{"@nomiclabs/hardhat-ethers/ethers":"5.7.2","@defi-wonderland/prophet-sdk/ethers":"6.7.0"},"_nodeVersion":"18.18.2","dependencies":{"cids":"1.1.9","axios":"1.4.0","dotenv":"16.3.1","ethers":"6.7.0","ipfs-core":"0.18.1","@pinata/sdk":"2.1.0","pinata-upload-cli":"1.1.0","@defi-wonderland/prophet-core-abi":"0.0.0-5fbc6720","@defi-wonderland/prophet-batching-abi":"0.0.0-ee57f860"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"15.1.0","chai":"4.3.7","husky":"8.0.3","mocha":"10.2.0","sinon":"15.2.0","eslint":"8.40.0","hardhat":"2.16.0","ts-node":"10.9.1","prettier":"2.8.8","cross-env":"7.0.3","typechain":"8.2.0","typescript":"5.0.4","@types/chai":"4.3.5","@types/node":"20.2.3","lint-staged":"10","@types/mocha":"10.0.1","tsconfig-paths":"4.2.0","@commitlint/cli":"17.6.5","chai-as-promised":"7.1.1","sort-package-json":"2.4.1","@typechain/ethers-v6":"0.4.3","@types/chai-as-promised":"7.1.5","@nomiclabs/hardhat-ethers":"2.2.1","@typescript-eslint/parser":"5.59.6","@commitlint/config-conventional":"17.6.5","@typescript-eslint/eslint-plugin":"5.59.6","@defi-wonderland/crypto-husky-checks":"0.0.0-29a10090","@defi-wonderland/prophet-modules-abi":"0.0.0-bc50a2b6"},"_npmOperationalInternal":{"tmp":"tmp/prophet-sdk_0.0.0-ab5e3bdd_1701166513732_0.05095242177581194","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-09-29T13:57:50.122Z","modified":"2025-07-25T08:28:29.122Z","0.0.0-bfcf3bba":"2023-09-29T13:57:50.439Z","0.0.0-29ee7e16":"2023-10-02T09:58:14.765Z","0.0.0-5202587f":"2023-10-03T14:01:37.106Z","0.0.0-b053745b":"2023-10-04T11:24:34.125Z","0.0.0-16b07eb3":"2023-10-04T11:50:15.475Z","0.0.0-04f67f9c":"2023-10-04T15:35:32.435Z","0.0.0-b3cd9660":"2023-10-13T17:29:54.840Z","0.0.0-730bafc8":"2023-10-13T19:25:54.638Z","0.0.0-6f384c05":"2023-10-13T20:03:30.780Z","0.0.0-1dcbc7cc":"2023-10-13T20:38:44.627Z","0.0.0-0e1c1fb3":"2023-10-18T16:47:51.246Z","0.0.0-ac6685e2":"2023-10-18T17:34:27.596Z","0.0.0-6043063f":"2023-10-18T18:24:24.645Z","0.0.0-ac1e8410":"2023-10-18T19:06:59.131Z","0.0.0-5a2fe278":"2023-10-26T17:33:32.474Z","0.0.0-b50ca7ba":"2023-10-26T19:51:45.689Z","0.0.0-bf021930":"2023-11-23T14:11:21.233Z","0.0.0-decc8112":"2023-11-23T14:47:38.813Z","0.0.0-e9df4503":"2023-11-23T17:09:33.252Z","0.0.0-05c08985":"2023-11-23T18:29:38.282Z","0.0.0-fd8968d8":"2023-11-23T18:31:17.820Z","0.0.0-2fff8a11":"2023-11-27T10:56:21.495Z","0.0.0-3ab51291":"2023-11-28T08:10:10.649Z","0.0.0-ab5e3bdd":"2023-11-28T10:15:13.925Z"},"bugs":{"url":"https://github.com/defi-wonderland/prophet-sdk-private/issues"},"author":{"name":"Wonderland"},"license":"MIT","homepage":"https://github.com/defi-wonderland/prophet-sdk-private#readme","repository":{"url":"git+ssh://git@github.com/defi-wonderland/prophet-sdk-private.git","type":"git"},"description":"Lightweight and user-friendly wrapper around Prophet contracts","maintainers":[{"email":"gori@wonderland.xyz","name":"0xgorilla"},{"email":"alice@wonderland.xyz","name":"wonderland-bot"},{"email":"turtlemoji@protonmail.com","name":"turtlemoji"}],"readme":"","readmeFilename":""}