@reality.eth/contracts 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,6 +13,9 @@ Contracts for Reality.eth, including source code, ABI and addresses of contracts
|
|
|
13
13
|
const contract = realityeth_contracts.realityETHInstance(config);
|
|
14
14
|
const ethers_instance = new ethers.Contract(contract.address, contract.abi, provider);
|
|
15
15
|
|
|
16
|
+
const template_id = realityeth_contracts.defaultTemplateIDForType('hash', '3.2')
|
|
17
|
+
|
|
18
|
+
|
|
16
19
|
This module also contains support for checking which tokens are available on the given chain, checking which features it has etc.
|
|
17
20
|
|
|
18
21
|
See [example.js](example.js) for more examples.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Collection of smart contracts for the Realitio fact verification platform",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate-chains": "node scripts/generate_chains_json.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"url": "https://github.com/RealityETH/monorepo/issues"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://reality.eth.link",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "3657381c3ba9f62bb6d3f07e59e38f7cebf8ffdd",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"ethers": "^5.8.0"
|
|
40
40
|
}
|