@bitgo-beta/sdk-coin-islm 1.0.1-beta.182 → 1.0.1-beta.1821

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 (55) hide show
  1. package/dist/resources/types/ethSecp256k1.d.ts +8 -24
  2. package/dist/resources/types/ethSecp256k1.d.ts.map +1 -1
  3. package/dist/resources/types/ethSecp256k1.js +22 -14
  4. package/dist/src/islm.d.ts +0 -1
  5. package/dist/src/islm.d.ts.map +1 -1
  6. package/dist/src/islm.js +1 -1
  7. package/dist/src/lib/constants.d.ts +2 -1
  8. package/dist/src/lib/constants.d.ts.map +1 -1
  9. package/dist/src/lib/constants.js +8 -5
  10. package/dist/src/lib/index.js +18 -8
  11. package/dist/src/lib/keyPair.js +3 -3
  12. package/dist/src/lib/transactionBuilderFactory.js +1 -1
  13. package/dist/src/lib/utils.d.ts +0 -1
  14. package/dist/src/lib/utils.d.ts.map +1 -1
  15. package/dist/src/lib/utils.js +20 -11
  16. package/dist/src/tislm.js +1 -1
  17. package/dist/test/resources/islm.d.ts +216 -0
  18. package/dist/test/resources/islm.d.ts.map +1 -0
  19. package/dist/test/resources/islm.js +219 -0
  20. package/dist/test/unit/islm.d.ts +2 -0
  21. package/dist/test/unit/islm.d.ts.map +1 -0
  22. package/dist/test/unit/islm.js +309 -0
  23. package/dist/test/unit/keyPair.d.ts +2 -0
  24. package/dist/test/unit/keyPair.d.ts.map +1 -0
  25. package/dist/test/unit/keyPair.js +92 -0
  26. package/dist/test/unit/transaction.d.ts +2 -0
  27. package/dist/test/unit/transaction.d.ts.map +1 -0
  28. package/dist/test/unit/transaction.js +219 -0
  29. package/dist/test/unit/transactionBuilder/StakingActivateBuilder.d.ts +2 -0
  30. package/dist/test/unit/transactionBuilder/StakingActivateBuilder.d.ts.map +1 -0
  31. package/dist/test/unit/transactionBuilder/StakingActivateBuilder.js +154 -0
  32. package/dist/test/unit/transactionBuilder/StakingDeactivateBuilder.d.ts +2 -0
  33. package/dist/test/unit/transactionBuilder/StakingDeactivateBuilder.d.ts.map +1 -0
  34. package/dist/test/unit/transactionBuilder/StakingDeactivateBuilder.js +153 -0
  35. package/dist/test/unit/transactionBuilder/StakingWithdrawRewardsBuilder.d.ts +2 -0
  36. package/dist/test/unit/transactionBuilder/StakingWithdrawRewardsBuilder.d.ts.map +1 -0
  37. package/dist/test/unit/transactionBuilder/StakingWithdrawRewardsBuilder.js +154 -0
  38. package/dist/test/unit/transactionBuilder/transactionBuilder.d.ts +2 -0
  39. package/dist/test/unit/transactionBuilder/transactionBuilder.d.ts.map +1 -0
  40. package/dist/test/unit/transactionBuilder/transactionBuilder.js +112 -0
  41. package/dist/test/unit/transactionBuilder/transferBuilder.d.ts +2 -0
  42. package/dist/test/unit/transactionBuilder/transferBuilder.d.ts.map +1 -0
  43. package/dist/test/unit/transactionBuilder/transferBuilder.js +189 -0
  44. package/dist/test/unit/utils.d.ts +2 -0
  45. package/dist/test/unit/utils.d.ts.map +1 -0
  46. package/dist/test/unit/utils.js +76 -0
  47. package/dist/tsconfig.tsbuildinfo +1 -0
  48. package/package.json +14 -10
  49. package/.eslintignore +0 -5
  50. package/.mocharc.yml +0 -8
  51. package/CHANGELOG.md +0 -258
  52. package/resources/README.md +0 -15
  53. package/resources/proto/ethermint/crypto/v1/ethsecp256k1/ethSecp256k1.proto +0 -23
  54. package/resources/proto/gogoproto/gogo.proto +0 -145
  55. package/resources/types/ethSecp256k1.ts +0 -183
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-islm",
3
- "version": "1.0.1-beta.182",
3
+ "version": "1.0.1-beta.1821",
4
4
  "description": "BitGo SDK coin library for Islm",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "yarn tsc --build --incremental --verbose .",
9
9
  "fmt": "prettier --write .",
10
- "check-fmt": "prettier --check .",
10
+ "check-fmt": "prettier --check '**/*.{ts,js,json}'",
11
11
  "clean": "rm -r ./dist",
12
12
  "lint": "eslint --quiet .",
13
13
  "prepare": "npm run build",
@@ -18,7 +18,7 @@
18
18
  "author": "BitGo SDK Team <sdkteam@bitgo.com>",
19
19
  "license": "MIT",
20
20
  "engines": {
21
- "node": ">=18 <21"
21
+ "node": ">=20"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -40,9 +40,9 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/abstract-cosmos": "1.0.1-beta.307",
44
- "@bitgo-beta/sdk-core": "8.2.1-beta.326",
45
- "@bitgo-beta/statics": "15.1.1-beta.329",
43
+ "@bitgo-beta/abstract-cosmos": "1.0.1-beta.1955",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.1976",
45
+ "@bitgo-beta/statics": "15.1.1-beta.1995",
46
46
  "@cosmjs/amino": "^0.29.5",
47
47
  "@cosmjs/encoding": "^0.29.5",
48
48
  "@cosmjs/proto-signing": "^0.29.5",
@@ -51,11 +51,15 @@
51
51
  "cosmjs-types": "^0.6.1",
52
52
  "ethers": "^5.7.2",
53
53
  "keccak": "3.0.3",
54
- "protobufjs": "7.2.5"
54
+ "protobufjs": "^7.5.8"
55
55
  },
56
56
  "devDependencies": {
57
- "@bitgo-beta/sdk-api": "1.10.1-beta.325",
58
- "@bitgo-beta/sdk-test": "^8.0.13"
57
+ "@bitgo-beta/sdk-api": "1.10.1-beta.1969",
58
+ "@bitgo-beta/sdk-test": "^9.1.68",
59
+ "@types/keccak": "^3.0.5"
59
60
  },
60
- "gitHead": "22d1d46bdbb1b10edd3a384df9c63f8f45530ca5"
61
+ "gitHead": "0eef048e784b46db80c39bb5b5159602cafb25dd",
62
+ "files": [
63
+ "dist"
64
+ ]
61
65
  }
package/.eslintignore DELETED
@@ -1,5 +0,0 @@
1
- node_modules
2
- .idea
3
- public
4
- dist
5
-
package/.mocharc.yml DELETED
@@ -1,8 +0,0 @@
1
- require: 'ts-node/register'
2
- timeout: '60000'
3
- reporter: 'min'
4
- reporter-option:
5
- - 'cdn=true'
6
- - 'json=false'
7
- exit: true
8
- spec: ['test/unit/**/*.ts']
package/CHANGELOG.md DELETED
@@ -1,258 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.0.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.7...@bitgo/sdk-coin-islm@2.0.8) (2024-04-24)
7
-
8
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
9
-
10
- ## [2.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.6...@bitgo/sdk-coin-islm@2.0.7) (2024-04-22)
11
-
12
- ### Bug Fixes
13
-
14
- - **sdk-core:** update protobufjs to fix critical vulnerability ([7066ada](https://github.com/BitGo/BitGoJS/commit/7066ada07272968a1325f84c36d5146b9e9d9abf))
15
-
16
- ## [2.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.5...@bitgo/sdk-coin-islm@2.0.6) (2024-04-17)
17
-
18
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
19
-
20
- ## [2.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.4...@bitgo/sdk-coin-islm@2.0.5) (2024-04-12)
21
-
22
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
23
-
24
- ## [2.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.3...@bitgo/sdk-coin-islm@2.0.4) (2024-04-10)
25
-
26
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
27
-
28
- ## [2.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.2...@bitgo/sdk-coin-islm@2.0.3) (2024-04-09)
29
-
30
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
31
-
32
- ## [2.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.1...@bitgo/sdk-coin-islm@2.0.2) (2024-04-08)
33
-
34
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
35
-
36
- ## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@2.0.0...@bitgo/sdk-coin-islm@2.0.1) (2024-04-05)
37
-
38
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
39
-
40
- # [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@1.21.4...@bitgo/sdk-coin-islm@2.0.0) (2024-03-28)
41
-
42
- ### Features
43
-
44
- - **abstract-cosmos:** added redelegation for cosmos coins ([8ea18ab](https://github.com/BitGo/BitGoJS/commit/8ea18ab0ca115ba9b61335e69d34790f0c046e7b))
45
- - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
46
-
47
- ### BREAKING CHANGES
48
-
49
- - **root:** Node 16 is no longer supported in bitgojs.
50
- TICKET: WP-1100
51
-
52
- ## [1.21.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@1.21.3...@bitgo/sdk-coin-islm@1.21.4) (2024-03-19)
53
-
54
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
55
-
56
- ## [1.21.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@1.21.2...@bitgo/sdk-coin-islm@1.21.3) (2024-03-11)
57
-
58
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
59
-
60
- ## [1.21.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@1.21.1...@bitgo/sdk-coin-islm@1.21.2) (2024-02-28)
61
-
62
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
63
-
64
- ## [1.21.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-islm@1.21.0...@bitgo/sdk-coin-islm@1.21.1) (2024-02-22)
65
-
66
- **Note:** Version bump only for package @bitgo/sdk-coin-islm
67
-
68
- # 1.21.0 (2024-02-19)
69
-
70
- ### Bug Fixes
71
-
72
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
73
-
74
- ### Features
75
-
76
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
77
-
78
- # 1.19.0 (2024-01-30)
79
-
80
- ### Bug Fixes
81
-
82
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
83
-
84
- ### Features
85
-
86
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
87
-
88
- # 1.18.0 (2024-01-26)
89
-
90
- ### Bug Fixes
91
-
92
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
93
-
94
- ### Features
95
-
96
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
97
-
98
- # 1.17.0 (2024-01-26)
99
-
100
- ### Bug Fixes
101
-
102
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
103
-
104
- ### Features
105
-
106
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
107
-
108
- # 1.16.0 (2024-01-25)
109
-
110
- ### Bug Fixes
111
-
112
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
113
-
114
- ### Features
115
-
116
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
117
-
118
- # 1.15.0 (2024-01-22)
119
-
120
- ### Bug Fixes
121
-
122
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
123
-
124
- ### Features
125
-
126
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
127
-
128
- # 1.14.0 (2024-01-09)
129
-
130
- ### Bug Fixes
131
-
132
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
133
-
134
- ### Features
135
-
136
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
137
-
138
- # 1.13.0 (2024-01-03)
139
-
140
- ### Bug Fixes
141
-
142
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
143
-
144
- ### Features
145
-
146
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
147
-
148
- # 1.12.0 (2023-12-18)
149
-
150
- ### Bug Fixes
151
-
152
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
153
-
154
- ### Features
155
-
156
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
157
-
158
- # 1.11.0 (2023-12-12)
159
-
160
- ### Bug Fixes
161
-
162
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
163
-
164
- ### Features
165
-
166
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
167
-
168
- # 1.10.0 (2023-12-09)
169
-
170
- ### Bug Fixes
171
-
172
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
173
-
174
- ### Features
175
-
176
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
177
-
178
- # 1.9.0 (2023-12-05)
179
-
180
- ### Bug Fixes
181
-
182
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
183
-
184
- ### Features
185
-
186
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
187
-
188
- # 1.8.0 (2023-11-28)
189
-
190
- ### Bug Fixes
191
-
192
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
193
-
194
- ### Features
195
-
196
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
197
-
198
- # 1.7.0 (2023-11-24)
199
-
200
- ### Bug Fixes
201
-
202
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
203
-
204
- ### Features
205
-
206
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
207
-
208
- # 1.6.0 (2023-11-17)
209
-
210
- ### Bug Fixes
211
-
212
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
213
-
214
- ### Features
215
-
216
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
217
-
218
- # 1.5.0 (2023-11-13)
219
-
220
- ### Bug Fixes
221
-
222
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
223
-
224
- ### Features
225
-
226
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
227
-
228
- # 1.4.0 (2023-11-13)
229
-
230
- ### Bug Fixes
231
-
232
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
233
-
234
- ### Features
235
-
236
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
237
-
238
- # 1.3.0 (2023-11-13)
239
-
240
- ### Bug Fixes
241
-
242
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
243
-
244
- ### Features
245
-
246
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
247
-
248
- # 1.2.0 (2023-10-20)
249
-
250
- ### Features
251
-
252
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
253
-
254
- # 1.1.0 (2023-10-18)
255
-
256
- ### Features
257
-
258
- - **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
@@ -1,15 +0,0 @@
1
- # Resources
2
-
3
- This directory contains external logic required to handle signing/validation/address derivation for
4
- a specific coin.
5
-
6
- Typically, this manifests as a smaller snippet of code from a larger codebase, of which, this
7
- library only requires a small portion of.
8
-
9
- ---
10
-
11
- ## ISLM Resources
12
-
13
- Haqq Network (Islamic Coin) doesn't utilize the cosmos default `secp256k1` PubKey type & utilizes as different PubKey type `ethSecp256k1` exposed by ethermint. The protobuf files for `ethSecp256k1` are defined here : https://github.com/evmos/ethermint/blob/main/proto/ethermint/crypto/v1/ethsecp256k1/keys.proto
14
-
15
- This directory contains the generated TypeScript types required, and also contains the `.proto` files used to generate them.
@@ -1,23 +0,0 @@
1
- syntax = "proto3";
2
- package ethermint.crypto.v1.ethsecp256k1;
3
-
4
- import "gogoproto/gogo.proto";
5
-
6
- option go_package = "github.com/evmos/ethermint/crypto/ethsecp256k1";
7
-
8
- // PubKey defines a type alias for an ecdsa.PublicKey that implements
9
- // Tendermint's PubKey interface. It represents the 33-byte compressed public
10
- // key format.
11
- message PubKey {
12
- option (gogoproto.goproto_stringer) = false;
13
-
14
- // key is the public key in byte form
15
- bytes key = 1;
16
- }
17
-
18
- // PrivKey defines a type alias for an ecdsa.PrivateKey that implements
19
- // Tendermint's PrivateKey interface.
20
- message PrivKey {
21
- // key is the private key in byte form
22
- bytes key = 1;
23
- }
@@ -1,145 +0,0 @@
1
- // Protocol Buffers for Go with Gadgets
2
- //
3
- // Copyright (c) 2013, The GoGo Authors. All rights reserved.
4
- // http://github.com/cosmos/gogoproto
5
- //
6
- // Redistribution and use in source and binary forms, with or without
7
- // modification, are permitted provided that the following conditions are
8
- // met:
9
- //
10
- // * Redistributions of source code must retain the above copyright
11
- // notice, this list of conditions and the following disclaimer.
12
- // * Redistributions in binary form must reproduce the above
13
- // copyright notice, this list of conditions and the following disclaimer
14
- // in the documentation and/or other materials provided with the
15
- // distribution.
16
- //
17
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
-
29
- syntax = "proto2";
30
- package gogoproto;
31
-
32
- import "google/protobuf/descriptor.proto";
33
-
34
- option java_package = "com.google.protobuf";
35
- option java_outer_classname = "GoGoProtos";
36
- option go_package = "github.com/cosmos/gogoproto/gogoproto";
37
-
38
- extend google.protobuf.EnumOptions {
39
- optional bool goproto_enum_prefix = 62001;
40
- optional bool goproto_enum_stringer = 62021;
41
- optional bool enum_stringer = 62022;
42
- optional string enum_customname = 62023;
43
- optional bool enumdecl = 62024;
44
- }
45
-
46
- extend google.protobuf.EnumValueOptions {
47
- optional string enumvalue_customname = 66001;
48
- }
49
-
50
- extend google.protobuf.FileOptions {
51
- optional bool goproto_getters_all = 63001;
52
- optional bool goproto_enum_prefix_all = 63002;
53
- optional bool goproto_stringer_all = 63003;
54
- optional bool verbose_equal_all = 63004;
55
- optional bool face_all = 63005;
56
- optional bool gostring_all = 63006;
57
- optional bool populate_all = 63007;
58
- optional bool stringer_all = 63008;
59
- optional bool onlyone_all = 63009;
60
-
61
- optional bool equal_all = 63013;
62
- optional bool description_all = 63014;
63
- optional bool testgen_all = 63015;
64
- optional bool benchgen_all = 63016;
65
- optional bool marshaler_all = 63017;
66
- optional bool unmarshaler_all = 63018;
67
- optional bool stable_marshaler_all = 63019;
68
-
69
- optional bool sizer_all = 63020;
70
-
71
- optional bool goproto_enum_stringer_all = 63021;
72
- optional bool enum_stringer_all = 63022;
73
-
74
- optional bool unsafe_marshaler_all = 63023;
75
- optional bool unsafe_unmarshaler_all = 63024;
76
-
77
- optional bool goproto_extensions_map_all = 63025;
78
- optional bool goproto_unrecognized_all = 63026;
79
- optional bool gogoproto_import = 63027;
80
- optional bool protosizer_all = 63028;
81
- optional bool compare_all = 63029;
82
- optional bool typedecl_all = 63030;
83
- optional bool enumdecl_all = 63031;
84
-
85
- optional bool goproto_registration = 63032;
86
- optional bool messagename_all = 63033;
87
-
88
- optional bool goproto_sizecache_all = 63034;
89
- optional bool goproto_unkeyed_all = 63035;
90
- }
91
-
92
- extend google.protobuf.MessageOptions {
93
- optional bool goproto_getters = 64001;
94
- optional bool goproto_stringer = 64003;
95
- optional bool verbose_equal = 64004;
96
- optional bool face = 64005;
97
- optional bool gostring = 64006;
98
- optional bool populate = 64007;
99
- optional bool stringer = 67008;
100
- optional bool onlyone = 64009;
101
-
102
- optional bool equal = 64013;
103
- optional bool description = 64014;
104
- optional bool testgen = 64015;
105
- optional bool benchgen = 64016;
106
- optional bool marshaler = 64017;
107
- optional bool unmarshaler = 64018;
108
- optional bool stable_marshaler = 64019;
109
-
110
- optional bool sizer = 64020;
111
-
112
- optional bool unsafe_marshaler = 64023;
113
- optional bool unsafe_unmarshaler = 64024;
114
-
115
- optional bool goproto_extensions_map = 64025;
116
- optional bool goproto_unrecognized = 64026;
117
-
118
- optional bool protosizer = 64028;
119
- optional bool compare = 64029;
120
-
121
- optional bool typedecl = 64030;
122
-
123
- optional bool messagename = 64033;
124
-
125
- optional bool goproto_sizecache = 64034;
126
- optional bool goproto_unkeyed = 64035;
127
- }
128
-
129
- extend google.protobuf.FieldOptions {
130
- optional bool nullable = 65001;
131
- optional bool embed = 65002;
132
- optional string customtype = 65003;
133
- optional string customname = 65004;
134
- optional string jsontag = 65005;
135
- optional string moretags = 65006;
136
- optional string casttype = 65007;
137
- optional string castkey = 65008;
138
- optional string castvalue = 65009;
139
-
140
- optional bool stdtime = 65010;
141
- optional bool stdduration = 65011;
142
- optional bool wktpointer = 65012;
143
-
144
- optional string castrepeated = 65013;
145
- }