@shapeshiftoss/types 2.4.0 → 2.5.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.
@@ -2,8 +2,15 @@ export declare type BuildTxInput = {
2
2
  gas: string;
3
3
  fee: string;
4
4
  };
5
+ export declare type Info = {
6
+ totalSupply: string;
7
+ bondedTokens: string;
8
+ };
5
9
  export declare type Validator = {
6
10
  address: string;
11
+ moniker: string;
12
+ apr: string;
13
+ commission: string;
7
14
  };
8
15
  export declare type Delegation = {
9
16
  assetId: string;
@@ -33,13 +40,17 @@ export declare type Reward = {
33
40
  assetId: string;
34
41
  amount: string;
35
42
  };
43
+ export declare type ValidatorReward = {
44
+ validator: Validator;
45
+ rewards: Reward[];
46
+ };
36
47
  export declare type Account = {
37
48
  sequence: string;
38
49
  accountNumber: string;
39
50
  delegations: Delegation[];
40
51
  redelegations: Redelegation[];
41
52
  undelegations: Undelegation[];
42
- rewards: Reward[];
53
+ rewards: ValidatorReward[];
43
54
  };
44
55
  export declare type FeeData = {
45
56
  gasLimit: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",