@shapeshiftoss/types 2.3.0 → 2.4.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,9 +2,44 @@ export declare type BuildTxInput = {
2
2
  gas: string;
3
3
  fee: string;
4
4
  };
5
+ export declare type Validator = {
6
+ address: string;
7
+ };
8
+ export declare type Delegation = {
9
+ assetId: string;
10
+ amount: string;
11
+ validator: Validator;
12
+ };
13
+ export declare type RedelegationEntry = {
14
+ assetId: string;
15
+ completionTime: number;
16
+ amount: string;
17
+ };
18
+ export declare type Redelegation = {
19
+ destinationValidator: Validator;
20
+ sourceValidator: Validator;
21
+ entries: RedelegationEntry[];
22
+ };
23
+ export declare type UndelegationEntry = {
24
+ assetId: string;
25
+ completionTime: number;
26
+ amount: string;
27
+ };
28
+ export declare type Undelegation = {
29
+ validator: Validator;
30
+ entries: UndelegationEntry[];
31
+ };
32
+ export declare type Reward = {
33
+ assetId: string;
34
+ amount: string;
35
+ };
5
36
  export declare type Account = {
6
37
  sequence: string;
7
38
  accountNumber: string;
39
+ delegations: Delegation[];
40
+ redelegations: Redelegation[];
41
+ undelegations: Undelegation[];
42
+ rewards: Reward[];
8
43
  };
9
44
  export declare type FeeData = {
10
45
  gasLimit: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",