@sentio/sdk 1.32.4 → 1.33.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentio/sdk",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.33.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"compile_target": "yarn tsc -b src/target-ethers-sentio/tsconfig.json",
|
|
7
7
|
"compile": "tsc -p . && cp src/cli/webpack.config.js lib/cli && cp src/utils/*.csv lib/utils",
|
|
@@ -7,7 +7,7 @@ const rewardPerBlock = Gauge.register('reward_per_block', {
|
|
|
7
7
|
description: 'rewards for each block grouped by phase',
|
|
8
8
|
unit: 'x2y2',
|
|
9
9
|
})
|
|
10
|
-
const tokenCounter =
|
|
10
|
+
const tokenCounter = Counter.register('token')
|
|
11
11
|
|
|
12
12
|
X2y2Processor.bind({ address: '0xB329e39Ebefd16f40d38f07643652cE17Ca5Bac1' }).onBlockInterval(async (_, ctx) => {
|
|
13
13
|
const phase = (await ctx.contract.currentPhase()).toString()
|