@meshtrade/api-web 1.53.0 → 1.55.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.
@@ -13,200 +13,193 @@ export declare const file_meshtrade_studio_instrument_v1_instrument_type: GenFil
13
13
  */
14
14
  export declare enum InstrumentType {
15
15
  /**
16
- * The instrument type is not specified. This is the default value and
17
- * should be treated as an error or an uninitialized state.
16
+ *
17
+ * Unknown or not specified.
18
+ * This is a default value to prevent accidental assignment and should not be used.
18
19
  *
19
20
  * @generated from enum value: INSTRUMENT_TYPE_UNSPECIFIED = 0;
20
21
  */
21
22
  UNSPECIFIED = 0,
22
23
  /**
23
- * A catch-all for any instrument type not explicitly listed in this enum.
24
- * Use this for miscellaneous or newly introduced asset types.
24
+ * Other or unlisted instrument type.
25
25
  *
26
26
  * @generated from enum value: INSTRUMENT_TYPE_OTHER = 1;
27
27
  */
28
28
  OTHER = 1,
29
29
  /**
30
- * Common equity in a corporation, also known as ordinary shares.
31
- * Holders have ownership rights, including voting rights, and are entitled
32
- * to a portion of profits through dividends and capital gains.
30
+ * Equity share.
33
31
  *
34
32
  * @generated from enum value: INSTRUMENT_TYPE_SHARE = 2;
35
33
  */
36
34
  SHARE = 2,
37
35
  /**
38
- * A class of share ownership with a higher claim on assets and earnings
39
- * than common shares. Preference shares generally have a fixed dividend that
40
- * must be paid out before dividends to common shareholders.
36
+ * Preference share.
41
37
  *
42
38
  * @generated from enum value: INSTRUMENT_TYPE_PREFERENCE_SHARE = 3;
43
39
  */
44
40
  PREFERENCE_SHARE = 3,
45
41
  /**
46
- * A fixed-income instrument representing a loan made by an investor to a
47
- * borrower (typically corporate or governmental). The borrower pays interest
48
- * (coupon) and repays the principal amount at a later date (maturity).
42
+ * Bond.
49
43
  *
50
44
  * @generated from enum value: INSTRUMENT_TYPE_BOND = 4;
51
45
  */
52
46
  BOND = 4,
53
47
  /**
54
- * Exchange-Traded Fund. A type of pooled investment security that operates
55
- * much like a mutual fund but trades like a stock on an exchange. ETFs
56
- * hold assets such as stocks, commodities, or bonds and are typically
57
- * designed to track an underlying index.
48
+ * Exchange-traded fund.
58
49
  *
59
50
  * @generated from enum value: INSTRUMENT_TYPE_ETF = 5;
60
51
  */
61
52
  ETF = 5,
62
53
  /**
63
- * Exchange-Traded Note. A type of senior, unsecured debt security that
64
- * tracks an underlying index of securities. ETNs do not own the underlying
65
- * assets and are subject to the credit risk of the issuing institution.
54
+ * Exchange-traded note.
66
55
  *
67
56
  * @generated from enum value: INSTRUMENT_TYPE_ETN = 6;
68
57
  */
69
58
  ETN = 6,
70
59
  /**
71
- * Actively Managed Certificate. A structured product linked to an
72
- * underlying portfolio or strategy. Unlike a typical index-tracking ETF,
73
- * its portfolio is actively managed by an investment advisor.
60
+ * Actively managed certificate.
74
61
  *
75
62
  * @generated from enum value: INSTRUMENT_TYPE_AMC = 7;
76
63
  */
77
64
  AMC = 7,
78
65
  /**
79
- * An open-ended investment vehicle where funds from multiple investors are
80
- * pooled to invest in a diversified portfolio of securities. Common in
81
- * collective investment schemes.
66
+ * Unit trust.
82
67
  *
83
68
  * @generated from enum value: INSTRUMENT_TYPE_UNIT_TRUST = 8;
84
69
  */
85
70
  UNIT_TRUST = 8,
86
71
  /**
87
- * A digital or virtual currency secured by cryptography.
88
- * Examples include Bitcoin (BTC) and Ethereum (ETH).
72
+ * Cryptocurrency.
89
73
  *
90
74
  * @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY = 9;
91
75
  */
92
76
  CRYPTO_CURRENCY = 9,
93
77
  /**
94
- * Government-issued currency that is not backed by a physical commodity
95
- * but by the government that issued it. Examples include the US Dollar
96
- * (USD) and the Euro (EUR).
78
+ * Fiat currency.
97
79
  *
98
80
  * @generated from enum value: INSTRUMENT_TYPE_FIAT_CURRENCY = 10;
99
81
  */
100
82
  FIAT_CURRENCY = 10,
101
83
  /**
102
- * Rights to the financial value of a linked underlying.
103
- *
104
- * @generated from enum value: INSTRUMENT_TYPE_RIGHTS = 11;
105
- */
106
- RIGHTS = 11,
107
- /**
108
- * Gold as a commodity. Can be invested in via physical bullion, futures,
109
- * or other financial products tracking its price.
84
+ * Gold.
110
85
  *
111
86
  * @generated from enum value: INSTRUMENT_TYPE_GOLD = 12;
112
87
  */
113
88
  GOLD = 12,
114
89
  /**
115
- * Silver as a commodity.
90
+ * Silver.
116
91
  *
117
92
  * @generated from enum value: INSTRUMENT_TYPE_SILVER = 13;
118
93
  */
119
94
  SILVER = 13,
120
95
  /**
121
- * Platinum as a commodity.
96
+ * Platinum.
122
97
  *
123
98
  * @generated from enum value: INSTRUMENT_TYPE_PLATINUM = 14;
124
99
  */
125
100
  PLATINUM = 14,
126
101
  /**
127
- * Palladium as a commodity.
102
+ * Palladium.
128
103
  *
129
104
  * @generated from enum value: INSTRUMENT_TYPE_PALLADIUM = 15;
130
105
  */
131
106
  PALLADIUM = 15,
132
107
  /**
133
- * Crude oil, a key global energy commodity.
108
+ * Crude oil.
134
109
  *
135
110
  * @generated from enum value: INSTRUMENT_TYPE_CRUDE_OIL = 16;
136
111
  */
137
112
  CRUDE_OIL = 16,
138
113
  /**
139
- * Natural gas, a major energy commodity.
114
+ * Natural gas.
140
115
  *
141
116
  * @generated from enum value: INSTRUMENT_TYPE_NATURAL_GAS = 17;
142
117
  */
143
118
  NATURAL_GAS = 17,
144
119
  /**
145
- * Copper, an important industrial metal.
120
+ * Copper.
146
121
  *
147
122
  * @generated from enum value: INSTRUMENT_TYPE_COPPER = 18;
148
123
  */
149
124
  COPPER = 18,
150
125
  /**
151
- * Corn, a major agricultural commodity.
126
+ * Corn.
152
127
  *
153
128
  * @generated from enum value: INSTRUMENT_TYPE_CORN = 19;
154
129
  */
155
130
  CORN = 19,
156
131
  /**
157
- * Wheat, a staple agricultural commodity.
132
+ * Wheat.
158
133
  *
159
134
  * @generated from enum value: INSTRUMENT_TYPE_WHEAT = 20;
160
135
  */
161
136
  WHEAT = 20,
162
137
  /**
163
- * Soybeans, a key agricultural commodity used for food and animal feed.
138
+ * Soybeans.
164
139
  *
165
140
  * @generated from enum value: INSTRUMENT_TYPE_SOYBEANS = 21;
166
141
  */
167
142
  SOYBEANS = 21,
168
143
  /**
169
- * A type of cryptocurrency designed to maintain a stable value by being
170
- * pegged to a reference asset, such as a fiat currency (e.g., USD).
144
+ * Fiat-backed stablecoin.
171
145
  *
172
146
  * @generated from enum value: INSTRUMENT_TYPE_FIAT_STABLECOIN = 22;
173
147
  */
174
148
  FIAT_STABLECOIN = 22,
175
149
  /**
176
- * A mutual fund investing in highly liquid, short-term debt securities,
177
- * cash, and cash equivalents.
150
+ * Money market fund.
178
151
  *
179
152
  * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND = 23;
180
153
  */
181
154
  MONEY_MARKET_FUND = 23,
182
155
  /**
183
- * A stablecoin collateralized by shares in a money market fund,
184
- * representing a claim on the fund's underlying assets.
156
+ * Tokenised money market fund.
185
157
  *
186
158
  * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND_STABLECOIN = 24;
187
159
  */
188
160
  MONEY_MARKET_FUND_STABLECOIN = 24,
189
161
  /**
190
- * A tax-efficient investment vehicle, structured as a life insurance policy,
191
- * that combines investment components with a nominal life insurance benefit.
162
+ * Endowment wrapper.
192
163
  *
193
164
  * @generated from enum value: INSTRUMENT_TYPE_ENDOWMENT_WRAPPER = 25;
194
165
  */
195
166
  ENDOWMENT_WRAPPER = 25,
196
167
  /**
197
- * A collective investment scheme that pools capital from multiple investors
198
- * to purchase a diversified portfolio of securities.
168
+ * Fund.
199
169
  *
200
170
  * @generated from enum value: INSTRUMENT_TYPE_FUND = 26;
201
171
  */
202
172
  FUND = 26,
203
173
  /**
204
- * A stablecoin collateralized by a portfolio of assets held within a fund,
205
- * representing a claim on those assets.
174
+ * Tokenised fund.
206
175
  *
207
176
  * @generated from enum value: INSTRUMENT_TYPE_FUND_STABLECOIN = 27;
208
177
  */
209
- FUND_STABLECOIN = 27
178
+ FUND_STABLECOIN = 27,
179
+ /**
180
+ * Tokenised actively managed certificate.
181
+ *
182
+ * @generated from enum value: INSTRUMENT_TYPE_AMC_STABLECOIN = 28;
183
+ */
184
+ AMC_STABLECOIN = 28,
185
+ /**
186
+ * Tokenised exchange-traded fund.
187
+ *
188
+ * @generated from enum value: INSTRUMENT_TYPE_ETF_STABLECOIN = 29;
189
+ */
190
+ ETF_STABLECOIN = 29,
191
+ /**
192
+ * Tokenised exchange-traded note.
193
+ *
194
+ * @generated from enum value: INSTRUMENT_TYPE_ETN_STABLECOIN = 30;
195
+ */
196
+ ETN_STABLECOIN = 30,
197
+ /**
198
+ * Tokenised cryptocurrency.
199
+ *
200
+ * @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY_STABLECOIN = 31;
201
+ */
202
+ CRYPTO_CURRENCY_STABLECOIN = 31
210
203
  }
211
204
  /**
212
205
  * Describes the enum meshtrade.studio.instrument.v1.InstrumentType.
@@ -8,7 +8,7 @@ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
8
  /**
9
9
  * Describes the file meshtrade/studio/instrument/v1/instrument_type.proto.
10
10
  */
11
- exports.file_meshtrade_studio_instrument_v1_instrument_type = (0, codegenv2_1.fileDesc)("CjRtZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvaW5zdHJ1bWVudF90eXBlLnByb3RvEh5tZXNodHJhZGUuc3R1ZGlvLmluc3RydW1lbnQudjEq/AYKDkluc3RydW1lbnRUeXBlEh8KG0lOU1RSVU1FTlRfVFlQRV9VTlNQRUNJRklFRBAAEhkKFUlOU1RSVU1FTlRfVFlQRV9PVEhFUhABEhkKFUlOU1RSVU1FTlRfVFlQRV9TSEFSRRACEiQKIElOU1RSVU1FTlRfVFlQRV9QUkVGRVJFTkNFX1NIQVJFEAMSGAoUSU5TVFJVTUVOVF9UWVBFX0JPTkQQBBIXChNJTlNUUlVNRU5UX1RZUEVfRVRGEAUSFwoTSU5TVFJVTUVOVF9UWVBFX0VUThAGEhcKE0lOU1RSVU1FTlRfVFlQRV9BTUMQBxIeChpJTlNUUlVNRU5UX1RZUEVfVU5JVF9UUlVTVBAIEiMKH0lOU1RSVU1FTlRfVFlQRV9DUllQVE9fQ1VSUkVOQ1kQCRIhCh1JTlNUUlVNRU5UX1RZUEVfRklBVF9DVVJSRU5DWRAKEhoKFklOU1RSVU1FTlRfVFlQRV9SSUdIVFMQCxIYChRJTlNUUlVNRU5UX1RZUEVfR09MRBAMEhoKFklOU1RSVU1FTlRfVFlQRV9TSUxWRVIQDRIcChhJTlNUUlVNRU5UX1RZUEVfUExBVElOVU0QDhIdChlJTlNUUlVNRU5UX1RZUEVfUEFMTEFESVVNEA8SHQoZSU5TVFJVTUVOVF9UWVBFX0NSVURFX09JTBAQEh8KG0lOU1RSVU1FTlRfVFlQRV9OQVRVUkFMX0dBUxAREhoKFklOU1RSVU1FTlRfVFlQRV9DT1BQRVIQEhIYChRJTlNUUlVNRU5UX1RZUEVfQ09SThATEhkKFUlOU1RSVU1FTlRfVFlQRV9XSEVBVBAUEhwKGElOU1RSVU1FTlRfVFlQRV9TT1lCRUFOUxAVEiMKH0lOU1RSVU1FTlRfVFlQRV9GSUFUX1NUQUJMRUNPSU4QFhIlCiFJTlNUUlVNRU5UX1RZUEVfTU9ORVlfTUFSS0VUX0ZVTkQQFxIwCixJTlNUUlVNRU5UX1RZUEVfTU9ORVlfTUFSS0VUX0ZVTkRfU1RBQkxFQ09JThAYEiUKIUlOU1RSVU1FTlRfVFlQRV9FTkRPV01FTlRfV1JBUFBFUhAZEhgKFElOU1RSVU1FTlRfVFlQRV9GVU5EEBoSIwofSU5TVFJVTUVOVF9UWVBFX0ZVTkRfU1RBQkxFQ09JThAbQmcKJWNvLm1lc2h0cmFkZS5hcGkuc3R1ZGlvLmluc3RydW1lbnQudjFaPmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9zdHVkaW8vaW5zdHJ1bWVudC92MTtpbnN0cnVtZW50X3YxYgZwcm90bzM");
11
+ exports.file_meshtrade_studio_instrument_v1_instrument_type = (0, codegenv2_1.fileDesc)("CjRtZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvaW5zdHJ1bWVudF90eXBlLnByb3RvEh5tZXNodHJhZGUuc3R1ZGlvLmluc3RydW1lbnQudjEq/AcKDkluc3RydW1lbnRUeXBlEh8KG0lOU1RSVU1FTlRfVFlQRV9VTlNQRUNJRklFRBAAEhkKFUlOU1RSVU1FTlRfVFlQRV9PVEhFUhABEhkKFUlOU1RSVU1FTlRfVFlQRV9TSEFSRRACEiQKIElOU1RSVU1FTlRfVFlQRV9QUkVGRVJFTkNFX1NIQVJFEAMSGAoUSU5TVFJVTUVOVF9UWVBFX0JPTkQQBBIXChNJTlNUUlVNRU5UX1RZUEVfRVRGEAUSFwoTSU5TVFJVTUVOVF9UWVBFX0VUThAGEhcKE0lOU1RSVU1FTlRfVFlQRV9BTUMQBxIeChpJTlNUUlVNRU5UX1RZUEVfVU5JVF9UUlVTVBAIEiMKH0lOU1RSVU1FTlRfVFlQRV9DUllQVE9fQ1VSUkVOQ1kQCRIhCh1JTlNUUlVNRU5UX1RZUEVfRklBVF9DVVJSRU5DWRAKEhgKFElOU1RSVU1FTlRfVFlQRV9HT0xEEAwSGgoWSU5TVFJVTUVOVF9UWVBFX1NJTFZFUhANEhwKGElOU1RSVU1FTlRfVFlQRV9QTEFUSU5VTRAOEh0KGUlOU1RSVU1FTlRfVFlQRV9QQUxMQURJVU0QDxIdChlJTlNUUlVNRU5UX1RZUEVfQ1JVREVfT0lMEBASHwobSU5TVFJVTUVOVF9UWVBFX05BVFVSQUxfR0FTEBESGgoWSU5TVFJVTUVOVF9UWVBFX0NPUFBFUhASEhgKFElOU1RSVU1FTlRfVFlQRV9DT1JOEBMSGQoVSU5TVFJVTUVOVF9UWVBFX1dIRUFUEBQSHAoYSU5TVFJVTUVOVF9UWVBFX1NPWUJFQU5TEBUSIwofSU5TVFJVTUVOVF9UWVBFX0ZJQVRfU1RBQkxFQ09JThAWEiUKIUlOU1RSVU1FTlRfVFlQRV9NT05FWV9NQVJLRVRfRlVORBAXEjAKLElOU1RSVU1FTlRfVFlQRV9NT05FWV9NQVJLRVRfRlVORF9TVEFCTEVDT0lOEBgSJQohSU5TVFJVTUVOVF9UWVBFX0VORE9XTUVOVF9XUkFQUEVSEBkSGAoUSU5TVFJVTUVOVF9UWVBFX0ZVTkQQGhIjCh9JTlNUUlVNRU5UX1RZUEVfRlVORF9TVEFCTEVDT0lOEBsSIgoeSU5TVFJVTUVOVF9UWVBFX0FNQ19TVEFCTEVDT0lOEBwSIgoeSU5TVFJVTUVOVF9UWVBFX0VURl9TVEFCTEVDT0lOEB0SIgoeSU5TVFJVTUVOVF9UWVBFX0VUTl9TVEFCTEVDT0lOEB4SLgoqSU5TVFJVTUVOVF9UWVBFX0NSWVBUT19DVVJSRU5DWV9TVEFCTEVDT0lOEB9CZwolY28ubWVzaHRyYWRlLmFwaS5zdHVkaW8uaW5zdHJ1bWVudC52MVo+Z2l0aHViLmNvbS9tZXNodHJhZGUvYXBpL2dvL3N0dWRpby9pbnN0cnVtZW50L3YxO2luc3RydW1lbnRfdjFiBnByb3RvMw");
12
12
  /**
13
13
  *
14
14
  * The type of an instrument structured in Mesh Studio. This enum categorizes
@@ -20,200 +20,193 @@ exports.file_meshtrade_studio_instrument_v1_instrument_type = (0, codegenv2_1.fi
20
20
  var InstrumentType;
21
21
  (function (InstrumentType) {
22
22
  /**
23
- * The instrument type is not specified. This is the default value and
24
- * should be treated as an error or an uninitialized state.
23
+ *
24
+ * Unknown or not specified.
25
+ * This is a default value to prevent accidental assignment and should not be used.
25
26
  *
26
27
  * @generated from enum value: INSTRUMENT_TYPE_UNSPECIFIED = 0;
27
28
  */
28
29
  InstrumentType[InstrumentType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
29
30
  /**
30
- * A catch-all for any instrument type not explicitly listed in this enum.
31
- * Use this for miscellaneous or newly introduced asset types.
31
+ * Other or unlisted instrument type.
32
32
  *
33
33
  * @generated from enum value: INSTRUMENT_TYPE_OTHER = 1;
34
34
  */
35
35
  InstrumentType[InstrumentType["OTHER"] = 1] = "OTHER";
36
36
  /**
37
- * Common equity in a corporation, also known as ordinary shares.
38
- * Holders have ownership rights, including voting rights, and are entitled
39
- * to a portion of profits through dividends and capital gains.
37
+ * Equity share.
40
38
  *
41
39
  * @generated from enum value: INSTRUMENT_TYPE_SHARE = 2;
42
40
  */
43
41
  InstrumentType[InstrumentType["SHARE"] = 2] = "SHARE";
44
42
  /**
45
- * A class of share ownership with a higher claim on assets and earnings
46
- * than common shares. Preference shares generally have a fixed dividend that
47
- * must be paid out before dividends to common shareholders.
43
+ * Preference share.
48
44
  *
49
45
  * @generated from enum value: INSTRUMENT_TYPE_PREFERENCE_SHARE = 3;
50
46
  */
51
47
  InstrumentType[InstrumentType["PREFERENCE_SHARE"] = 3] = "PREFERENCE_SHARE";
52
48
  /**
53
- * A fixed-income instrument representing a loan made by an investor to a
54
- * borrower (typically corporate or governmental). The borrower pays interest
55
- * (coupon) and repays the principal amount at a later date (maturity).
49
+ * Bond.
56
50
  *
57
51
  * @generated from enum value: INSTRUMENT_TYPE_BOND = 4;
58
52
  */
59
53
  InstrumentType[InstrumentType["BOND"] = 4] = "BOND";
60
54
  /**
61
- * Exchange-Traded Fund. A type of pooled investment security that operates
62
- * much like a mutual fund but trades like a stock on an exchange. ETFs
63
- * hold assets such as stocks, commodities, or bonds and are typically
64
- * designed to track an underlying index.
55
+ * Exchange-traded fund.
65
56
  *
66
57
  * @generated from enum value: INSTRUMENT_TYPE_ETF = 5;
67
58
  */
68
59
  InstrumentType[InstrumentType["ETF"] = 5] = "ETF";
69
60
  /**
70
- * Exchange-Traded Note. A type of senior, unsecured debt security that
71
- * tracks an underlying index of securities. ETNs do not own the underlying
72
- * assets and are subject to the credit risk of the issuing institution.
61
+ * Exchange-traded note.
73
62
  *
74
63
  * @generated from enum value: INSTRUMENT_TYPE_ETN = 6;
75
64
  */
76
65
  InstrumentType[InstrumentType["ETN"] = 6] = "ETN";
77
66
  /**
78
- * Actively Managed Certificate. A structured product linked to an
79
- * underlying portfolio or strategy. Unlike a typical index-tracking ETF,
80
- * its portfolio is actively managed by an investment advisor.
67
+ * Actively managed certificate.
81
68
  *
82
69
  * @generated from enum value: INSTRUMENT_TYPE_AMC = 7;
83
70
  */
84
71
  InstrumentType[InstrumentType["AMC"] = 7] = "AMC";
85
72
  /**
86
- * An open-ended investment vehicle where funds from multiple investors are
87
- * pooled to invest in a diversified portfolio of securities. Common in
88
- * collective investment schemes.
73
+ * Unit trust.
89
74
  *
90
75
  * @generated from enum value: INSTRUMENT_TYPE_UNIT_TRUST = 8;
91
76
  */
92
77
  InstrumentType[InstrumentType["UNIT_TRUST"] = 8] = "UNIT_TRUST";
93
78
  /**
94
- * A digital or virtual currency secured by cryptography.
95
- * Examples include Bitcoin (BTC) and Ethereum (ETH).
79
+ * Cryptocurrency.
96
80
  *
97
81
  * @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY = 9;
98
82
  */
99
83
  InstrumentType[InstrumentType["CRYPTO_CURRENCY"] = 9] = "CRYPTO_CURRENCY";
100
84
  /**
101
- * Government-issued currency that is not backed by a physical commodity
102
- * but by the government that issued it. Examples include the US Dollar
103
- * (USD) and the Euro (EUR).
85
+ * Fiat currency.
104
86
  *
105
87
  * @generated from enum value: INSTRUMENT_TYPE_FIAT_CURRENCY = 10;
106
88
  */
107
89
  InstrumentType[InstrumentType["FIAT_CURRENCY"] = 10] = "FIAT_CURRENCY";
108
90
  /**
109
- * Rights to the financial value of a linked underlying.
110
- *
111
- * @generated from enum value: INSTRUMENT_TYPE_RIGHTS = 11;
112
- */
113
- InstrumentType[InstrumentType["RIGHTS"] = 11] = "RIGHTS";
114
- /**
115
- * Gold as a commodity. Can be invested in via physical bullion, futures,
116
- * or other financial products tracking its price.
91
+ * Gold.
117
92
  *
118
93
  * @generated from enum value: INSTRUMENT_TYPE_GOLD = 12;
119
94
  */
120
95
  InstrumentType[InstrumentType["GOLD"] = 12] = "GOLD";
121
96
  /**
122
- * Silver as a commodity.
97
+ * Silver.
123
98
  *
124
99
  * @generated from enum value: INSTRUMENT_TYPE_SILVER = 13;
125
100
  */
126
101
  InstrumentType[InstrumentType["SILVER"] = 13] = "SILVER";
127
102
  /**
128
- * Platinum as a commodity.
103
+ * Platinum.
129
104
  *
130
105
  * @generated from enum value: INSTRUMENT_TYPE_PLATINUM = 14;
131
106
  */
132
107
  InstrumentType[InstrumentType["PLATINUM"] = 14] = "PLATINUM";
133
108
  /**
134
- * Palladium as a commodity.
109
+ * Palladium.
135
110
  *
136
111
  * @generated from enum value: INSTRUMENT_TYPE_PALLADIUM = 15;
137
112
  */
138
113
  InstrumentType[InstrumentType["PALLADIUM"] = 15] = "PALLADIUM";
139
114
  /**
140
- * Crude oil, a key global energy commodity.
115
+ * Crude oil.
141
116
  *
142
117
  * @generated from enum value: INSTRUMENT_TYPE_CRUDE_OIL = 16;
143
118
  */
144
119
  InstrumentType[InstrumentType["CRUDE_OIL"] = 16] = "CRUDE_OIL";
145
120
  /**
146
- * Natural gas, a major energy commodity.
121
+ * Natural gas.
147
122
  *
148
123
  * @generated from enum value: INSTRUMENT_TYPE_NATURAL_GAS = 17;
149
124
  */
150
125
  InstrumentType[InstrumentType["NATURAL_GAS"] = 17] = "NATURAL_GAS";
151
126
  /**
152
- * Copper, an important industrial metal.
127
+ * Copper.
153
128
  *
154
129
  * @generated from enum value: INSTRUMENT_TYPE_COPPER = 18;
155
130
  */
156
131
  InstrumentType[InstrumentType["COPPER"] = 18] = "COPPER";
157
132
  /**
158
- * Corn, a major agricultural commodity.
133
+ * Corn.
159
134
  *
160
135
  * @generated from enum value: INSTRUMENT_TYPE_CORN = 19;
161
136
  */
162
137
  InstrumentType[InstrumentType["CORN"] = 19] = "CORN";
163
138
  /**
164
- * Wheat, a staple agricultural commodity.
139
+ * Wheat.
165
140
  *
166
141
  * @generated from enum value: INSTRUMENT_TYPE_WHEAT = 20;
167
142
  */
168
143
  InstrumentType[InstrumentType["WHEAT"] = 20] = "WHEAT";
169
144
  /**
170
- * Soybeans, a key agricultural commodity used for food and animal feed.
145
+ * Soybeans.
171
146
  *
172
147
  * @generated from enum value: INSTRUMENT_TYPE_SOYBEANS = 21;
173
148
  */
174
149
  InstrumentType[InstrumentType["SOYBEANS"] = 21] = "SOYBEANS";
175
150
  /**
176
- * A type of cryptocurrency designed to maintain a stable value by being
177
- * pegged to a reference asset, such as a fiat currency (e.g., USD).
151
+ * Fiat-backed stablecoin.
178
152
  *
179
153
  * @generated from enum value: INSTRUMENT_TYPE_FIAT_STABLECOIN = 22;
180
154
  */
181
155
  InstrumentType[InstrumentType["FIAT_STABLECOIN"] = 22] = "FIAT_STABLECOIN";
182
156
  /**
183
- * A mutual fund investing in highly liquid, short-term debt securities,
184
- * cash, and cash equivalents.
157
+ * Money market fund.
185
158
  *
186
159
  * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND = 23;
187
160
  */
188
161
  InstrumentType[InstrumentType["MONEY_MARKET_FUND"] = 23] = "MONEY_MARKET_FUND";
189
162
  /**
190
- * A stablecoin collateralized by shares in a money market fund,
191
- * representing a claim on the fund's underlying assets.
163
+ * Tokenised money market fund.
192
164
  *
193
165
  * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND_STABLECOIN = 24;
194
166
  */
195
167
  InstrumentType[InstrumentType["MONEY_MARKET_FUND_STABLECOIN"] = 24] = "MONEY_MARKET_FUND_STABLECOIN";
196
168
  /**
197
- * A tax-efficient investment vehicle, structured as a life insurance policy,
198
- * that combines investment components with a nominal life insurance benefit.
169
+ * Endowment wrapper.
199
170
  *
200
171
  * @generated from enum value: INSTRUMENT_TYPE_ENDOWMENT_WRAPPER = 25;
201
172
  */
202
173
  InstrumentType[InstrumentType["ENDOWMENT_WRAPPER"] = 25] = "ENDOWMENT_WRAPPER";
203
174
  /**
204
- * A collective investment scheme that pools capital from multiple investors
205
- * to purchase a diversified portfolio of securities.
175
+ * Fund.
206
176
  *
207
177
  * @generated from enum value: INSTRUMENT_TYPE_FUND = 26;
208
178
  */
209
179
  InstrumentType[InstrumentType["FUND"] = 26] = "FUND";
210
180
  /**
211
- * A stablecoin collateralized by a portfolio of assets held within a fund,
212
- * representing a claim on those assets.
181
+ * Tokenised fund.
213
182
  *
214
183
  * @generated from enum value: INSTRUMENT_TYPE_FUND_STABLECOIN = 27;
215
184
  */
216
185
  InstrumentType[InstrumentType["FUND_STABLECOIN"] = 27] = "FUND_STABLECOIN";
186
+ /**
187
+ * Tokenised actively managed certificate.
188
+ *
189
+ * @generated from enum value: INSTRUMENT_TYPE_AMC_STABLECOIN = 28;
190
+ */
191
+ InstrumentType[InstrumentType["AMC_STABLECOIN"] = 28] = "AMC_STABLECOIN";
192
+ /**
193
+ * Tokenised exchange-traded fund.
194
+ *
195
+ * @generated from enum value: INSTRUMENT_TYPE_ETF_STABLECOIN = 29;
196
+ */
197
+ InstrumentType[InstrumentType["ETF_STABLECOIN"] = 29] = "ETF_STABLECOIN";
198
+ /**
199
+ * Tokenised exchange-traded note.
200
+ *
201
+ * @generated from enum value: INSTRUMENT_TYPE_ETN_STABLECOIN = 30;
202
+ */
203
+ InstrumentType[InstrumentType["ETN_STABLECOIN"] = 30] = "ETN_STABLECOIN";
204
+ /**
205
+ * Tokenised cryptocurrency.
206
+ *
207
+ * @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY_STABLECOIN = 31;
208
+ */
209
+ InstrumentType[InstrumentType["CRYPTO_CURRENCY_STABLECOIN"] = 31] = "CRYPTO_CURRENCY_STABLECOIN";
217
210
  })(InstrumentType || (exports.InstrumentType = InstrumentType = {}));
218
211
  /**
219
212
  * Describes the enum meshtrade.studio.instrument.v1.InstrumentType.
@@ -13,134 +13,127 @@ export declare const file_meshtrade_studio_instrument_v1_unit: GenFile;
13
13
  */
14
14
  export declare enum Unit {
15
15
  /**
16
- * The unit is not specified. This is the default value and should be
17
- * treated as an error or an uninitialized state.
16
+ *
17
+ * Unknown or not specified.
18
+ * This is a default value to prevent accidental assignment and should not be used.
18
19
  *
19
20
  * @generated from enum value: UNIT_UNSPECIFIED = 0;
20
21
  */
21
22
  UNSPECIFIED = 0,
22
23
  /**
23
- * Indicates that the instrument's name or code itself represents a single
24
- * unit. This is used for assets where a separate unit qualifier is redundant,
25
- * such as "1 US Dollar" or "1 Bitcoin".
24
+ * No unit.
26
25
  *
27
26
  * @generated from enum value: UNIT_NULL = 1;
28
27
  */
29
28
  NULL = 1,
30
29
  /**
31
- * A single unit of a debt instrument, such as a promissory note, commercial
32
- * paper, or an Exchange-Traded Note (ETN).
30
+ * Promissory note.
33
31
  *
34
32
  * @generated from enum value: UNIT_NOTE = 2;
35
33
  */
36
34
  NOTE = 2,
37
35
  /**
38
- * A single unit of equity ownership in a corporation.
36
+ * Equity share.
39
37
  *
40
38
  * @generated from enum value: UNIT_SHARE = 3;
41
39
  */
42
40
  SHARE = 3,
43
41
  /**
44
- * A single unit of a special class of equity that has preferential rights
45
- * over common shares.
42
+ * Preference share.
46
43
  *
47
44
  * @generated from enum value: UNIT_PREFERENCE_SHARE = 4;
48
45
  */
49
46
  PREFERENCE_SHARE = 4,
50
47
  /**
51
- * A single unit of a bond issuance, typically with a defined face value
52
- * (e.g., $1,000).
48
+ * Bond.
53
49
  *
54
50
  * @generated from enum value: UNIT_BOND = 5;
55
51
  */
56
52
  BOND = 5,
57
53
  /**
58
- * A single unit of a short-term debt obligation, such as a Treasury Bill
59
- * (T-Bill).
54
+ * Treasury bill or similar short-term debt.
60
55
  *
61
56
  * @generated from enum value: UNIT_BILL = 6;
62
57
  */
63
58
  BILL = 6,
64
59
  /**
65
- * The standard unit for a derivative, such as a futures or forward
66
- * agreement, representing a standardized quantity of the underlying asset.
60
+ * Derivative contract.
67
61
  *
68
62
  * @generated from enum value: UNIT_CONTRACT = 7;
69
63
  */
70
64
  CONTRACT = 7,
71
65
  /**
72
- * The standard unit for an options derivative, giving the right to buy or
73
- * sell a specific amount of an underlying asset. One contract often
74
- * represents 100 shares of stock.
66
+ * Option contract.
75
67
  *
76
68
  * @generated from enum value: UNIT_OPTION = 8;
77
69
  */
78
70
  OPTION = 8,
79
71
  /**
80
- * The smallest individual unit of a digital asset or cryptocurrency recorded
81
- * on a blockchain.
72
+ * Digital token.
82
73
  *
83
74
  * @generated from enum value: UNIT_TOKEN = 9;
84
75
  */
85
76
  TOKEN = 9,
86
77
  /**
87
- * A standard volumetric unit for crude oil and petroleum products,
88
- * equivalent to 42 US gallons.
78
+ * Barrel.
89
79
  *
90
80
  * @generated from enum value: UNIT_BARREL = 10;
91
81
  */
92
82
  BARREL = 10,
93
83
  /**
94
- * A metric unit of mass, commonly used for quoting prices of precious
95
- * metals.
84
+ * Gram.
96
85
  *
97
86
  * @generated from enum value: UNIT_GRAM = 11;
98
87
  */
99
88
  GRAM = 11,
100
89
  /**
101
- * A metric unit of mass equal to 1,000 grams.
90
+ * Kilogram.
102
91
  *
103
92
  * @generated from enum value: UNIT_KILOGRAM = 12;
104
93
  */
105
94
  KILOGRAM = 12,
106
95
  /**
107
- * A metric unit of mass equal to 1,000 kilograms, often used for industrial
108
- * metals and bulk agricultural products.
96
+ * Metric ton (1 000 kg).
109
97
  *
110
98
  * @generated from enum value: UNIT_METRIC_TON = 13;
111
99
  */
112
100
  METRIC_TON = 13,
113
101
  /**
114
- * A troy ounce, the standard unit of mass for precious metals, equivalent to
115
- * approximately 31.103 grams.
102
+ * Troy ounce.
116
103
  *
117
104
  * @generated from enum value: UNIT_OUNCE = 14;
118
105
  */
119
106
  OUNCE = 14,
120
107
  /**
121
- * A fractional unit representing one-half of a troy ounce.
108
+ * Half troy ounce.
122
109
  *
123
110
  * @generated from enum value: UNIT_HALF_OUNCE = 15;
124
111
  */
125
112
  HALF_OUNCE = 15,
126
113
  /**
127
- * A fractional unit representing one-quarter of a troy ounce.
114
+ * Quarter troy ounce.
128
115
  *
129
116
  * @generated from enum value: UNIT_QUARTER_OUNCE = 16;
130
117
  */
131
118
  QUARTER_OUNCE = 16,
132
119
  /**
133
- * A fractional unit representing one-tenth of a troy ounce.
120
+ * One-tenth troy ounce.
134
121
  *
135
122
  * @generated from enum value: UNIT_ONE_TENTH_OUNCE = 17;
136
123
  */
137
124
  ONE_TENTH_OUNCE = 17,
138
125
  /**
139
- * A fractional unit representing one-hundredth of a troy ounce.
126
+ * One-hundredth troy ounce.
140
127
  *
141
128
  * @generated from enum value: UNIT_ONE_HUNDREDTH_OUNCE = 18;
142
129
  */
143
- ONE_HUNDREDTH_OUNCE = 18
130
+ ONE_HUNDREDTH_OUNCE = 18,
131
+ /**
132
+ * Tonne (1 000 kg).
133
+ *
134
+ * @generated from enum value: UNIT_TONNE = 19;
135
+ */
136
+ TONNE = 19
144
137
  }
145
138
  /**
146
139
  * Describes the enum meshtrade.studio.instrument.v1.Unit.
@@ -8,7 +8,7 @@ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
8
  /**
9
9
  * Describes the file meshtrade/studio/instrument/v1/unit.proto.
10
10
  */
11
- exports.file_meshtrade_studio_instrument_v1_unit = (0, codegenv2_1.fileDesc)("CiltZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvdW5pdC5wcm90bxIebWVzaHRyYWRlLnN0dWRpby5pbnN0cnVtZW50LnYxKvQCCgRVbml0EhQKEFVOSVRfVU5TUEVDSUZJRUQQABINCglVTklUX05VTEwQARINCglVTklUX05PVEUQAhIOCgpVTklUX1NIQVJFEAMSGQoVVU5JVF9QUkVGRVJFTkNFX1NIQVJFEAQSDQoJVU5JVF9CT05EEAUSDQoJVU5JVF9CSUxMEAYSEQoNVU5JVF9DT05UUkFDVBAHEg8KC1VOSVRfT1BUSU9OEAgSDgoKVU5JVF9UT0tFThAJEg8KC1VOSVRfQkFSUkVMEAoSDQoJVU5JVF9HUkFNEAsSEQoNVU5JVF9LSUxPR1JBTRAMEhMKD1VOSVRfTUVUUklDX1RPThANEg4KClVOSVRfT1VOQ0UQDhITCg9VTklUX0hBTEZfT1VOQ0UQDxIWChJVTklUX1FVQVJURVJfT1VOQ0UQEBIYChRVTklUX09ORV9URU5USF9PVU5DRRAREhwKGFVOSVRfT05FX0hVTkRSRURUSF9PVU5DRRASQmcKJWNvLm1lc2h0cmFkZS5hcGkuc3R1ZGlvLmluc3RydW1lbnQudjFaPmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9zdHVkaW8vaW5zdHJ1bWVudC92MTtpbnN0cnVtZW50X3YxYgZwcm90bzM");
11
+ exports.file_meshtrade_studio_instrument_v1_unit = (0, codegenv2_1.fileDesc)("CiltZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvdW5pdC5wcm90bxIebWVzaHRyYWRlLnN0dWRpby5pbnN0cnVtZW50LnYxKoQDCgRVbml0EhQKEFVOSVRfVU5TUEVDSUZJRUQQABINCglVTklUX05VTEwQARINCglVTklUX05PVEUQAhIOCgpVTklUX1NIQVJFEAMSGQoVVU5JVF9QUkVGRVJFTkNFX1NIQVJFEAQSDQoJVU5JVF9CT05EEAUSDQoJVU5JVF9CSUxMEAYSEQoNVU5JVF9DT05UUkFDVBAHEg8KC1VOSVRfT1BUSU9OEAgSDgoKVU5JVF9UT0tFThAJEg8KC1VOSVRfQkFSUkVMEAoSDQoJVU5JVF9HUkFNEAsSEQoNVU5JVF9LSUxPR1JBTRAMEhMKD1VOSVRfTUVUUklDX1RPThANEg4KClVOSVRfT1VOQ0UQDhITCg9VTklUX0hBTEZfT1VOQ0UQDxIWChJVTklUX1FVQVJURVJfT1VOQ0UQEBIYChRVTklUX09ORV9URU5USF9PVU5DRRAREhwKGFVOSVRfT05FX0hVTkRSRURUSF9PVU5DRRASEg4KClVOSVRfVE9OTkUQE0JnCiVjby5tZXNodHJhZGUuYXBpLnN0dWRpby5pbnN0cnVtZW50LnYxWj5naXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vc3R1ZGlvL2luc3RydW1lbnQvdjE7aW5zdHJ1bWVudF92MWIGcHJvdG8z");
12
12
  /**
13
13
  *
14
14
  * Unit defines the standard of measurement for an instrument, specifying how
@@ -20,134 +20,127 @@ exports.file_meshtrade_studio_instrument_v1_unit = (0, codegenv2_1.fileDesc)("Ci
20
20
  var Unit;
21
21
  (function (Unit) {
22
22
  /**
23
- * The unit is not specified. This is the default value and should be
24
- * treated as an error or an uninitialized state.
23
+ *
24
+ * Unknown or not specified.
25
+ * This is a default value to prevent accidental assignment and should not be used.
25
26
  *
26
27
  * @generated from enum value: UNIT_UNSPECIFIED = 0;
27
28
  */
28
29
  Unit[Unit["UNSPECIFIED"] = 0] = "UNSPECIFIED";
29
30
  /**
30
- * Indicates that the instrument's name or code itself represents a single
31
- * unit. This is used for assets where a separate unit qualifier is redundant,
32
- * such as "1 US Dollar" or "1 Bitcoin".
31
+ * No unit.
33
32
  *
34
33
  * @generated from enum value: UNIT_NULL = 1;
35
34
  */
36
35
  Unit[Unit["NULL"] = 1] = "NULL";
37
36
  /**
38
- * A single unit of a debt instrument, such as a promissory note, commercial
39
- * paper, or an Exchange-Traded Note (ETN).
37
+ * Promissory note.
40
38
  *
41
39
  * @generated from enum value: UNIT_NOTE = 2;
42
40
  */
43
41
  Unit[Unit["NOTE"] = 2] = "NOTE";
44
42
  /**
45
- * A single unit of equity ownership in a corporation.
43
+ * Equity share.
46
44
  *
47
45
  * @generated from enum value: UNIT_SHARE = 3;
48
46
  */
49
47
  Unit[Unit["SHARE"] = 3] = "SHARE";
50
48
  /**
51
- * A single unit of a special class of equity that has preferential rights
52
- * over common shares.
49
+ * Preference share.
53
50
  *
54
51
  * @generated from enum value: UNIT_PREFERENCE_SHARE = 4;
55
52
  */
56
53
  Unit[Unit["PREFERENCE_SHARE"] = 4] = "PREFERENCE_SHARE";
57
54
  /**
58
- * A single unit of a bond issuance, typically with a defined face value
59
- * (e.g., $1,000).
55
+ * Bond.
60
56
  *
61
57
  * @generated from enum value: UNIT_BOND = 5;
62
58
  */
63
59
  Unit[Unit["BOND"] = 5] = "BOND";
64
60
  /**
65
- * A single unit of a short-term debt obligation, such as a Treasury Bill
66
- * (T-Bill).
61
+ * Treasury bill or similar short-term debt.
67
62
  *
68
63
  * @generated from enum value: UNIT_BILL = 6;
69
64
  */
70
65
  Unit[Unit["BILL"] = 6] = "BILL";
71
66
  /**
72
- * The standard unit for a derivative, such as a futures or forward
73
- * agreement, representing a standardized quantity of the underlying asset.
67
+ * Derivative contract.
74
68
  *
75
69
  * @generated from enum value: UNIT_CONTRACT = 7;
76
70
  */
77
71
  Unit[Unit["CONTRACT"] = 7] = "CONTRACT";
78
72
  /**
79
- * The standard unit for an options derivative, giving the right to buy or
80
- * sell a specific amount of an underlying asset. One contract often
81
- * represents 100 shares of stock.
73
+ * Option contract.
82
74
  *
83
75
  * @generated from enum value: UNIT_OPTION = 8;
84
76
  */
85
77
  Unit[Unit["OPTION"] = 8] = "OPTION";
86
78
  /**
87
- * The smallest individual unit of a digital asset or cryptocurrency recorded
88
- * on a blockchain.
79
+ * Digital token.
89
80
  *
90
81
  * @generated from enum value: UNIT_TOKEN = 9;
91
82
  */
92
83
  Unit[Unit["TOKEN"] = 9] = "TOKEN";
93
84
  /**
94
- * A standard volumetric unit for crude oil and petroleum products,
95
- * equivalent to 42 US gallons.
85
+ * Barrel.
96
86
  *
97
87
  * @generated from enum value: UNIT_BARREL = 10;
98
88
  */
99
89
  Unit[Unit["BARREL"] = 10] = "BARREL";
100
90
  /**
101
- * A metric unit of mass, commonly used for quoting prices of precious
102
- * metals.
91
+ * Gram.
103
92
  *
104
93
  * @generated from enum value: UNIT_GRAM = 11;
105
94
  */
106
95
  Unit[Unit["GRAM"] = 11] = "GRAM";
107
96
  /**
108
- * A metric unit of mass equal to 1,000 grams.
97
+ * Kilogram.
109
98
  *
110
99
  * @generated from enum value: UNIT_KILOGRAM = 12;
111
100
  */
112
101
  Unit[Unit["KILOGRAM"] = 12] = "KILOGRAM";
113
102
  /**
114
- * A metric unit of mass equal to 1,000 kilograms, often used for industrial
115
- * metals and bulk agricultural products.
103
+ * Metric ton (1 000 kg).
116
104
  *
117
105
  * @generated from enum value: UNIT_METRIC_TON = 13;
118
106
  */
119
107
  Unit[Unit["METRIC_TON"] = 13] = "METRIC_TON";
120
108
  /**
121
- * A troy ounce, the standard unit of mass for precious metals, equivalent to
122
- * approximately 31.103 grams.
109
+ * Troy ounce.
123
110
  *
124
111
  * @generated from enum value: UNIT_OUNCE = 14;
125
112
  */
126
113
  Unit[Unit["OUNCE"] = 14] = "OUNCE";
127
114
  /**
128
- * A fractional unit representing one-half of a troy ounce.
115
+ * Half troy ounce.
129
116
  *
130
117
  * @generated from enum value: UNIT_HALF_OUNCE = 15;
131
118
  */
132
119
  Unit[Unit["HALF_OUNCE"] = 15] = "HALF_OUNCE";
133
120
  /**
134
- * A fractional unit representing one-quarter of a troy ounce.
121
+ * Quarter troy ounce.
135
122
  *
136
123
  * @generated from enum value: UNIT_QUARTER_OUNCE = 16;
137
124
  */
138
125
  Unit[Unit["QUARTER_OUNCE"] = 16] = "QUARTER_OUNCE";
139
126
  /**
140
- * A fractional unit representing one-tenth of a troy ounce.
127
+ * One-tenth troy ounce.
141
128
  *
142
129
  * @generated from enum value: UNIT_ONE_TENTH_OUNCE = 17;
143
130
  */
144
131
  Unit[Unit["ONE_TENTH_OUNCE"] = 17] = "ONE_TENTH_OUNCE";
145
132
  /**
146
- * A fractional unit representing one-hundredth of a troy ounce.
133
+ * One-hundredth troy ounce.
147
134
  *
148
135
  * @generated from enum value: UNIT_ONE_HUNDREDTH_OUNCE = 18;
149
136
  */
150
137
  Unit[Unit["ONE_HUNDREDTH_OUNCE"] = 18] = "ONE_HUNDREDTH_OUNCE";
138
+ /**
139
+ * Tonne (1 000 kg).
140
+ *
141
+ * @generated from enum value: UNIT_TONNE = 19;
142
+ */
143
+ Unit[Unit["TONNE"] = 19] = "TONNE";
151
144
  })(Unit || (exports.Unit = Unit = {}));
152
145
  /**
153
146
  * Describes the enum meshtrade.studio.instrument.v1.Unit.
@@ -1,4 +1,13 @@
1
1
  import { Token } from "./token_pb";
2
+ /**
3
+ * The reserved issuer value for assets that are native to their ledger's protocol
4
+ * layer. Each ledger typically has one native asset (e.g., ETH on Ethereum, SOL on
5
+ * Solana, XLM on Stellar, SUI on Sui) — a base-layer token which has no issuing
6
+ * contract or account. For all other assets (e.g., ERC-20 tokens, Stellar credit
7
+ * assets), the issuer field should contain the unique identifier of the issuing
8
+ * entity, such as a smart contract address or issuance account public key.
9
+ */
10
+ export declare const NativeAssetIssuer = "__LEDGER__";
2
11
  export declare function tokensAreEqual(t?: Token, t2?: Token): boolean;
3
12
  export declare function tokenIsUndefined(t?: Token): boolean;
4
13
  export declare function tokenToString(t?: Token): string;
@@ -1,9 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NativeAssetIssuer = void 0;
3
4
  exports.tokensAreEqual = tokensAreEqual;
4
5
  exports.tokenIsUndefined = tokenIsUndefined;
5
6
  exports.tokenToString = tokenToString;
6
7
  const ledger_pb_1 = require("./ledger_pb");
8
+ /**
9
+ * The reserved issuer value for assets that are native to their ledger's protocol
10
+ * layer. Each ledger typically has one native asset (e.g., ETH on Ethereum, SOL on
11
+ * Solana, XLM on Stellar, SUI on Sui) — a base-layer token which has no issuing
12
+ * contract or account. For all other assets (e.g., ERC-20 tokens, Stellar credit
13
+ * assets), the issuer field should contain the unique identifier of the issuing
14
+ * entity, such as a smart contract address or issuance account public key.
15
+ */
16
+ exports.NativeAssetIssuer = "__LEDGER__";
7
17
  function tokensAreEqual(t, t2) {
8
18
  return ((t?.code ?? "") === (t2?.code ?? "") &&
9
19
  (t?.issuer ?? "") === (t2?.issuer ?? "") &&
@@ -28,11 +28,14 @@ export type Token = Message<"meshtrade.type.v1.Token"> & {
28
28
  code: string;
29
29
  /**
30
30
  *
31
- * Issuer is a reference to issuing entity of the token.
32
- * For NATIVE assets on a ledger (e.g., ETH on Ethereum), the issuer is the ledger itself,
33
- * represented by the reserved string __LEDGER__.
34
- * For ALL other issued assets (e.g., ERC-20 tokens), this is the unique identifier of the issuing entity,
35
- * such as a smart contract address on Ethereum or an issuance account public key on Stellar.
31
+ * Issuer is a reference to the issuing entity of the token.
32
+ * For NATIVE assets on a ledger (e.g., ETH on Ethereum, SOL on Solana, XLM on Stellar),
33
+ * the issuer is the ledger itself, represented by the reserved string __LEDGER__.
34
+ * All Mesh SDKs expose a constant for this value (e.g., NativeAssetIssuer in Go and
35
+ * TypeScript, NATIVE_ASSET_ISSUER in Python and Java).
36
+ * For ALL other issued assets (e.g., ERC-20 tokens), this is the unique identifier of
37
+ * the issuing entity, such as a smart contract address on Ethereum or an issuance
38
+ * account public key on Stellar.
36
39
  * Required field.
37
40
  *
38
41
  * @generated from field: string issuer = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshtrade/api-web",
3
- "version": "1.53.0",
3
+ "version": "1.55.0",
4
4
  "description": "Mesh Typescript SDK",
5
5
  "author": "Bernard Bussy <bernard@meshtrade.co>",
6
6
  "license": "UNLICENSED",