@bitgo-beta/abstract-cosmos 1.0.1-beta.9 → 1.0.1-beta.91

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/dist/src/cosmosCoin.d.ts +87 -6
  3. package/dist/src/cosmosCoin.d.ts.map +1 -1
  4. package/dist/src/cosmosCoin.js +373 -105
  5. package/dist/src/lib/ContractCallBuilder.d.ts +13 -0
  6. package/dist/src/lib/ContractCallBuilder.d.ts.map +1 -0
  7. package/dist/src/lib/ContractCallBuilder.js +28 -0
  8. package/dist/src/lib/StakingActivateBuilder.d.ts +13 -0
  9. package/dist/src/lib/StakingActivateBuilder.d.ts.map +1 -0
  10. package/dist/src/lib/StakingActivateBuilder.js +28 -0
  11. package/dist/src/lib/StakingDeactivateBuilder.d.ts +13 -0
  12. package/dist/src/lib/StakingDeactivateBuilder.d.ts.map +1 -0
  13. package/dist/src/lib/StakingDeactivateBuilder.js +28 -0
  14. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts +13 -0
  15. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts.map +1 -0
  16. package/dist/src/lib/StakingWithdrawRewardsBuilder.js +28 -0
  17. package/dist/src/lib/constants.d.ts +2 -0
  18. package/dist/src/lib/constants.d.ts.map +1 -1
  19. package/dist/src/lib/constants.js +4 -2
  20. package/dist/src/lib/iface.d.ts +26 -4
  21. package/dist/src/lib/iface.d.ts.map +1 -1
  22. package/dist/src/lib/iface.js +1 -1
  23. package/dist/src/lib/index.d.ts +6 -1
  24. package/dist/src/lib/index.d.ts.map +1 -1
  25. package/dist/src/lib/index.js +13 -3
  26. package/dist/src/lib/transaction.d.ts +13 -1
  27. package/dist/src/lib/transaction.d.ts.map +1 -1
  28. package/dist/src/lib/transaction.js +60 -6
  29. package/dist/src/lib/transactionBuilder.d.ts +31 -5
  30. package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
  31. package/dist/src/lib/transactionBuilder.js +100 -4
  32. package/dist/src/lib/transferBuilder.d.ts +13 -0
  33. package/dist/src/lib/transferBuilder.d.ts.map +1 -0
  34. package/dist/src/lib/transferBuilder.js +28 -0
  35. package/dist/src/lib/utils.d.ts +137 -11
  36. package/dist/src/lib/utils.d.ts.map +1 -1
  37. package/dist/src/lib/utils.js +314 -18
  38. package/dist/tsconfig.tsbuildinfo +1 -10814
  39. package/package.json +10 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,114 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.6.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.7) (2023-09-05)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
11
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
12
+
13
+ ## [1.6.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.6) (2023-09-01)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
18
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
19
+
20
+ ## [1.6.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.5) (2023-08-29)
21
+
22
+ ### Bug Fixes
23
+
24
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
25
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
26
+
27
+ ## [1.6.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.4) (2023-08-25)
28
+
29
+ ### Bug Fixes
30
+
31
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
32
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
33
+
34
+ ## [1.6.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.3) (2023-08-24)
35
+
36
+ ### Bug Fixes
37
+
38
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
39
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
40
+
41
+ ## [1.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.2) (2023-08-16)
42
+
43
+ ### Bug Fixes
44
+
45
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
46
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
47
+
48
+ ## [1.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.6.0...@bitgo/abstract-cosmos@1.6.1) (2023-08-16)
49
+
50
+ ### Bug Fixes
51
+
52
+ - **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
53
+ - **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
54
+
55
+ # [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.4.0...@bitgo/abstract-cosmos@1.6.0) (2023-08-04)
56
+
57
+ ### Bug Fixes
58
+
59
+ - **abstract-cosmos:** getAccountBalance fix ([94b7dbc](https://github.com/BitGo/BitGoJS/commit/94b7dbc52e962b5e3e4819acbee39dc420d1d7ea))
60
+ - **abstract-cosmos:** getAccountDetails fix ([3f2e940](https://github.com/BitGo/BitGoJS/commit/3f2e940a6d7e63761e0f81a889f1fb3b480f878d))
61
+ - **abstract-cosmos:** skip amount validation for contractcall txn ([9acb564](https://github.com/BitGo/BitGoJS/commit/9acb56479c1db488e95cfcabe8e0396172006d9d))
62
+ - **sdk-coin-osmo:** allow zero amount on contract call ([2245ba7](https://github.com/BitGo/BitGoJS/commit/2245ba7acde8ae669ed53ffeb0e58178054f3da3))
63
+
64
+ ### Features
65
+
66
+ - **abstract-cosmos:** add wallet recovery for abstract cosmos ([1c62e4b](https://github.com/BitGo/BitGoJS/commit/1c62e4b42a6e58d2e3e14dbfa7e312ce062c5db3))
67
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
68
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
69
+ - **sdk-coin-osmo:** allow amount in execute contract transaction ([44be383](https://github.com/BitGo/BitGoJS/commit/44be383f38830aeb2d5825ee83c77aab444cfe25))
70
+
71
+ # [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.4.0...@bitgo/abstract-cosmos@1.5.0) (2023-07-28)
72
+
73
+ ### Bug Fixes
74
+
75
+ - **abstract-cosmos:** skip amount validation for contractcall txn ([9acb564](https://github.com/BitGo/BitGoJS/commit/9acb56479c1db488e95cfcabe8e0396172006d9d))
76
+ - **sdk-coin-osmo:** allow zero amount on contract call ([2245ba7](https://github.com/BitGo/BitGoJS/commit/2245ba7acde8ae669ed53ffeb0e58178054f3da3))
77
+
78
+ ### Features
79
+
80
+ - **abstract-cosmos:** add wallet recovery for abstract cosmos ([1c62e4b](https://github.com/BitGo/BitGoJS/commit/1c62e4b42a6e58d2e3e14dbfa7e312ce062c5db3))
81
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
82
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
83
+ - **sdk-coin-osmo:** allow amount in execute contract transaction ([44be383](https://github.com/BitGo/BitGoJS/commit/44be383f38830aeb2d5825ee83c77aab444cfe25))
84
+
85
+ # [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.3.0...@bitgo/abstract-cosmos@1.4.0) (2023-07-18)
86
+
87
+ ### Features
88
+
89
+ - **abstract-cosmos:** add support for contract call transaction ([9b7dd54](https://github.com/BitGo/BitGoJS/commit/9b7dd54c6a3a9e5cf2b47b4a94ef225f111a8baf))
90
+ - add base factor for individual cosmos side chains ([e661b36](https://github.com/BitGo/BitGoJS/commit/e661b3631445e7ff1ddcdb51385d1f993b4f35c9))
91
+
92
+ # [1.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.2.1...@bitgo/abstract-cosmos@1.3.0) (2023-06-21)
93
+
94
+ ### Features
95
+
96
+ - **bitgo:** update dockerfile ([987140b](https://github.com/BitGo/BitGoJS/commit/987140b2b40e9f2f2c2911eb750a33f2185d43b7))
97
+
98
+ ## [1.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.2.0...@bitgo/abstract-cosmos@1.2.1) (2023-06-14)
99
+
100
+ **Note:** Version bump only for package @bitgo/abstract-cosmos
101
+
102
+ # [1.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.1.1...@bitgo/abstract-cosmos@1.2.0) (2023-06-13)
103
+
104
+ ### Features
105
+
106
+ - **abstract-cosmos:** sdk abstract-cosmos and sdk osmo refactored ([d1bb5f6](https://github.com/BitGo/BitGoJS/commit/d1bb5f614533b1cc119b434510539673061d2c2a))
107
+ - **sdk-coin-tia:** celestia sdk along with testcases ([eb1431a](https://github.com/BitGo/BitGoJS/commit/eb1431a02de539b05f1fc2660c650563f3d7085a))
108
+ - **sdk-coin-tia:** celestia sdk along with testcases ([1d104e0](https://github.com/BitGo/BitGoJS/commit/1d104e0d0ac0c813d16cd6da759b1a904bab4641))
109
+
110
+ ## [1.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@1.1.0...@bitgo/abstract-cosmos@1.1.1) (2023-06-07)
111
+
112
+ **Note:** Version bump only for package @bitgo/abstract-cosmos
113
+
6
114
  # 1.1.0 (2023-06-05)
7
115
 
8
116
  ### Bug Fixes
@@ -1,7 +1,10 @@
1
1
  /// <reference types="node" />
2
- import { BaseCoin, BitGoBase, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
3
- import { BaseCoin as StaticsBaseCoin, CoinFamily } from '@bitgo-beta/statics';
2
+ import { BaseCoin, BitGoBase, ExplanationResult, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
3
+ import { CoinFamily, BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
4
+ import { Buffer } from 'buffer';
4
5
  import { Hash } from 'crypto';
6
+ import * as request from 'superagent';
7
+ import { CosmosKeyPair, CosmosLikeCoinRecoveryOutput, GasAmountDetails, RecoveryOptions } from './lib';
5
8
  /**
6
9
  * Cosmos accounts support memo Id based addresses
7
10
  */
@@ -13,6 +16,10 @@ export declare class CosmosCoin extends BaseCoin {
13
16
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
14
17
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
15
18
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
19
+ /**
20
+ * Creates an instance of TransactionBuilderFactory for the coin specific sdk
21
+ */
22
+ getBuilder(): any;
16
23
  /** @inheritDoc **/
17
24
  getBaseFactor(): string | number;
18
25
  /** @inheritDoc **/
@@ -29,18 +36,81 @@ export declare class CosmosCoin extends BaseCoin {
29
36
  isValidPub(pub: string): boolean;
30
37
  /** @inheritDoc **/
31
38
  isValidPrv(prv: string): boolean;
32
- verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
33
39
  isValidAddress(address: string): boolean;
34
- signTransaction(params: SignTransactionOptions): Promise<SignedTransaction>;
40
+ /**
41
+ * Builds a funds recovery transaction without BitGo
42
+ * @param {RecoveryOptions} params parameters needed to construct and
43
+ * (maybe) sign the transaction
44
+ *
45
+ * @returns {CosmosLikeCoinRecoveryOutput} the serialized transaction hex string and index
46
+ * of the address being swept
47
+ */
48
+ recover(params: RecoveryOptions): Promise<CosmosLikeCoinRecoveryOutput>;
49
+ private getKeyCombinedFromTssKeyShares;
50
+ private signRecoveryTSS;
51
+ /** @inheritDoc **/
52
+ verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
53
+ /** @inheritDoc **/
54
+ explainTransaction(options: {
55
+ txHex: string;
56
+ }): Promise<ExplanationResult>;
57
+ /**
58
+ * Sign a transaction with a single private key
59
+ * @param params parameters in the form of { txPrebuild: {txHex}, prv }
60
+ * @returns signed transaction in the form of { txHex }
61
+ */
62
+ signTransaction(params: SignTransactionOptions & {
63
+ txPrebuild: {
64
+ txHex: string;
65
+ };
66
+ prv: string;
67
+ }): Promise<SignedTransaction>;
35
68
  /** @inheritDoc **/
36
69
  parseTransaction(params: ParseTransactionOptions & {
37
70
  txHex: string;
38
71
  }): Promise<ParsedTransaction>;
72
+ /**
73
+ * Get the public node url from the Environments constant we have defined
74
+ */
75
+ protected getPublicNodeUrl(): string;
76
+ /**
77
+ * Get account number from public node
78
+ */
79
+ protected getAccountFromNode(senderAddress: string): Promise<request.Response>;
80
+ /**
81
+ * Get balance from public node
82
+ */
83
+ protected getBalanceFromNode(senderAddress: string): Promise<request.Response>;
84
+ /**
85
+ * Get chain id from public node
86
+ */
87
+ protected getChainIdFromNode(): Promise<request.Response>;
88
+ /**
89
+ * Helper to fetch account balance
90
+ */
91
+ protected getAccountBalance(senderAddress: string): Promise<string>;
92
+ /**
93
+ * Helper to fetch chainId
94
+ */
95
+ protected getChainId(): Promise<string>;
96
+ /**
97
+ * Helper to fetch account number
98
+ */
99
+ protected getAccountDetails(senderAddress: string): Promise<string[]>;
39
100
  /** @inheritDoc **/
40
101
  generateKeyPair(seed?: Buffer): KeyPair;
102
+ /**
103
+ * Retrieves the address from a public key.
104
+ * @param {string} pubKey - The public key.
105
+ * @returns {string} The corresponding address.
106
+ */
41
107
  getAddressFromPublicKey(pubKey: string): string;
42
108
  /** @inheritDoc **/
43
109
  isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
110
+ /**
111
+ * Retrieves the SHA256 hash function.
112
+ * @returns {Hash} The SHA256 hash function.
113
+ */
44
114
  getHashFunction(): Hash;
45
115
  /**
46
116
  * Process address into address and memo id
@@ -56,8 +126,19 @@ export declare class CosmosCoin extends BaseCoin {
56
126
  * @returns true if memo id is valid
57
127
  */
58
128
  isValidMemoId(memoId: string): boolean;
59
- private getKeyCombinedFromTssKeyShares;
60
- private signRecoveryTSS;
129
+ /**
130
+ * Helper method to return the respective coin's base unit
131
+ */
132
+ getDenomination(): string;
133
+ /**
134
+ * Helper method to fetch gas amount details for respective coin
135
+ */
136
+ getGasAmountDetails(): GasAmountDetails;
137
+ /**
138
+ * Helper method to get key pair for individual coin
139
+ * @param publicKey
140
+ */
141
+ getKeyPair(publicKey: string): CosmosKeyPair;
61
142
  }
62
143
  export {};
63
144
  //# sourceMappingURL=cosmosCoin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cosmosCoin.d.ts","sourceRoot":"","sources":["../../src/cosmosCoin.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EAOT,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EAEtB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG9E,OAAO,EAAc,IAAI,EAAe,MAAM,QAAQ,CAAC;AAQvD;;GAEG;AACH,UAAU,cAAc;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AASD,qBAAa,UAAW,SAAQ,QAAQ;IACtC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC3D,SAAS,aAAa,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;IAU/E,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ;IAI1F,mBAAmB;IACnB,aAAa,IAAI,MAAM,GAAG,MAAM;IAIhC,mBAAmB;IACnB,QAAQ,IAA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