@dydxprotocol/v4-localization 0.0.22 → 0.0.23

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.
package/LICENSE CHANGED
@@ -1,11 +1,838 @@
1
- Proprietary License © 2023 dYdX Trading Inc.
1
+ Business Source License 1.1
2
+ License text copyright © 2023 MariaDB plc, All Rights Reserved. “Business Source License” is a trademark of MariaDB plc.
3
+ Copyright (C) 2023 dYdX Trading Inc.
2
4
 
3
- dYdX Trading Inc. ("dYdX") hereby grants you the right to access, copy and use the code in this repository (the "Licensed Code") solely for purposes of evaluating the Licensed Code and evaluating interoperability of the Licensed Code with your products and services.
5
+ Use of this software before the Change Date specified in the LICENSE file is governed by the Business Source License included in the LICENSE file and at https://spdx.org/licenses/BUSL-1.1.html.
4
6
 
5
- You agree not to (a) access, copy or use the Licensed Code for any purpose other than as expressly licensed above, (b) provide, disclose or distribute the Licensed Code to any third party, or (c) modify or creative derivative works of the Licensed Code. Any violation of these terms will automatically terminate your rights under these terms.
7
+ On and after the Change Date specified in the LICENSE file, use of this software will be governed by the Change License (GNU Affero GPL v3) as specified in the LICENSE file.
6
8
 
7
- All copies of the Licensed Code are subject to these terms. You must conspicuously display these terms on each copy of the Licensed Code.
9
+ Parameters
10
+ Licensor: dYdX Trading Inc.
11
+ Licensed Work: dydxprotocol/cosmos-sdk, dydxprotocol/cometbft, dydxprotocol/v4-chain, dydxprotocol/v4-clients, dydxprotocol/v4-web, dydxprotocol/v4-abacus, dydxprotocol/v4-localization, dydxprotocol/v4-documentation, and any dYdX or dYdX Trading Inc. github repository reflecting a copy of this license, or link to this license.
12
+ Additional Use Grant: None
13
+ Change Date: On the later to occur of (i) the release of the Licensed Work labeled “dYdX Version 1.0 GPL”, and which includes a document uploaded to the relevant github repository stating “The software in this repository is Version 1.0, subject to GPL license”, and (ii) September 30, 2023 (approximate projected release of “Version 1.0” of this software).
14
+ Change License: GNU Affero GPL License v3
8
15
 
9
- dYdX intends to make the Licensed Code available under an open source license in the near term. The terms of this license apply unless and until the Licensed Code is made available by dYdX under an open source license.
16
+ License text copyright © 2023 MariaDB plc, All Rights Reserved. “Business Source License” is a trademark of MariaDB plc.
17
+ Terms
18
+ The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use.
19
+ Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.
20
+ If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.
21
+ All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.
22
+ You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.
23
+ Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.
24
+ This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License).TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to use this License’s text to license your works, and to refer to it using the trademark “Business Source License”, as long as you comply with the Covenants of Licensor below.
25
+ Covenants of Licensor
26
+ In consideration of the right to use this License’s text and the “Business Source License” name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor:
27
+ To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where “compatible” means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation.
28
+ To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text “None” to specify a Change Date. Not to modify this License in any other way.
29
+ Notice
30
+ The Business Source License (this document, or the “License”) is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License.
10
31
 
11
- These terms do not grant you any right in any trademarks, service marks or logos of dYdX or its affiliates. TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED CODE IS PROVIDED "AS IS". DYDX HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND TITLE.
32
+
33
+
34
+
35
+
36
+
37
+ OPEN SOURCE LICENSE BELOW - TO BE APPLIED AFTER THE CHANGE DATE.
38
+
39
+
40
+ Copyright (C) 2023 dYdX Trading Inc.
41
+
42
+ Use of this software is governed by the The GNU Affero General Public License as set forth below.
43
+
44
+
45
+ The GNU Affero General Public License
46
+ Version 3, 19 November 2007
47
+
48
+
49
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
50
+ Everyone is permitted to copy and distribute verbatim copies
51
+ of this license document, but changing it is not allowed.
52
+
53
+
54
+ Preamble
55
+
56
+
57
+
58
+ The GNU Affero General Public License is a free, copyleft license for
59
+ software and other kinds of works, specifically designed to ensure
60
+ cooperation with the community in the case of network server software.
61
+
62
+
63
+ The licenses for most software and other practical works are designed
64
+ to take away your freedom to share and change the works. By contrast,
65
+ our General Public Licenses are intended to guarantee your freedom to
66
+ share and change all versions of a program--to make sure it remains free
67
+ software for all its users.
68
+
69
+
70
+ When we speak of free software, we are referring to freedom, not
71
+ price. Our General Public Licenses are designed to make sure that you
72
+ have the freedom to distribute copies of free software (and charge for
73
+ them if you wish), that you receive source code or can get it if you
74
+ want it, that you can change the software or use pieces of it in new
75
+ free programs, and that you know you can do these things.
76
+
77
+
78
+ Developers that use our General Public Licenses protect your rights
79
+ with two steps: (1) assert copyright on the software, and (2) offer
80
+ you this License which gives you legal permission to copy, distribute
81
+ and/or modify the software.
82
+
83
+
84
+ A secondary benefit of defending all users' freedom is that
85
+ improvements made in alternate versions of the program, if they
86
+ receive widespread use, become available for other developers to
87
+ incorporate. Many developers of free software are heartened and
88
+ encouraged by the resulting cooperation. However, in the case of
89
+ software used on network servers, this result may fail to come about.
90
+ The GNU General Public License permits making a modified version and
91
+ letting the public access it on a server without ever releasing its
92
+ source code to the public.
93
+
94
+
95
+ The GNU Affero General Public License is designed specifically to
96
+ ensure that, in such cases, the modified source code becomes available
97
+ to the community. It requires the operator of a network server to
98
+ provide the source code of the modified version running there to the
99
+ users of that server. Therefore, public use of a modified version, on
100
+ a publicly accessible server, gives the public access to the source
101
+ code of the modified version.
102
+
103
+
104
+ An older license, called the Affero General Public License and
105
+ published by Affero, was designed to accomplish similar goals. This is
106
+ a different license, not a version of the Affero GPL, but Affero has
107
+ released a new version of the Affero GPL which permits relicensing under
108
+ this license.
109
+
110
+
111
+ The precise terms and conditions for copying, distribution and
112
+ modification follow.
113
+
114
+
115
+
116
+ TERMS AND CONDITIONS
117
+
118
+
119
+ 0. Definitions.
120
+
121
+
122
+ "This License" refers to version 3 of the GNU Affero General Public License.
123
+
124
+
125
+ "Copyright" also means copyright-like laws that apply to other kinds of
126
+ works, such as semiconductor masks.
127
+
128
+
129
+ "The Program" refers to any copyrightable work licensed under this
130
+ License. Each licensee is addressed as "you". "Licensees" and
131
+ "recipients" may be individuals or organizations.
132
+
133
+
134
+ To "modify" a work means to copy from or adapt all or part of the work
135
+ in a fashion requiring copyright permission, other than the making of an
136
+ exact copy. The resulting work is called a "modified version" of the
137
+ earlier work or a work "based on" the earlier work.
138
+
139
+
140
+ A "covered work" means either the unmodified Program or a work based
141
+ on the Program.
142
+
143
+
144
+ To "propagate" a work means to do anything with it that, without
145
+ permission, would make you directly or secondarily liable for
146
+ infringement under applicable copyright law, except executing it on a
147
+ computer or modifying a private copy. Propagation includes copying,
148
+ distribution (with or without modification), making available to the
149
+ public, and in some countries other activities as well.
150
+
151
+
152
+
153
+ To "convey" a work means any kind of propagation that enables other
154
+ parties to make or receive copies. Mere interaction with a user through
155
+ a computer network, with no transfer of a copy, is not conveying.
156
+
157
+
158
+
159
+ An interactive user interface displays "Appropriate Legal Notices"
160
+ to the extent that it includes a convenient and prominently visible
161
+ feature that (1) displays an appropriate copyright notice, and (2)
162
+ tells the user that there is no warranty for the work (except to the
163
+ extent that warranties are provided), that licensees may convey the
164
+ work under this License, and how to view a copy of this License. If
165
+ the interface presents a list of user commands or options, such as a
166
+ menu, a prominent item in the list meets this criterion.
167
+
168
+
169
+
170
+ 1. Source Code.
171
+
172
+
173
+
174
+ The "source code" for a work means the preferred form of the work
175
+ for making modifications to it. "Object code" means any non-source
176
+ form of a work.
177
+
178
+
179
+
180
+ A "Standard Interface" means an interface that either is an official
181
+ standard defined by a recognized standards body, or, in the case of
182
+ interfaces specified for a particular programming language, one that
183
+ is widely used among developers working in that language.
184
+
185
+
186
+
187
+ The "System Libraries" of an executable work include anything, other
188
+ than the work as a whole, that (a) is included in the normal form of
189
+ packaging a Major Component, but which is not part of that Major
190
+ Component, and (b) serves only to enable use of the work with that
191
+ Major Component, or to implement a Standard Interface for which an
192
+ implementation is available to the public in source code form. A
193
+ "Major Component", in this context, means a major essential component
194
+ (kernel, window system, and so on) of the specific operating system
195
+ (if any) on which the executable work runs, or a compiler used to
196
+ produce the work, or an object code interpreter used to run it.
197
+
198
+
199
+
200
+ The "Corresponding Source" for a work in object code form means all
201
+ the source code needed to generate, install, and (for an executable
202
+ work) run the object code and to modify the work, including scripts to
203
+ control those activities. However, it does not include the work's
204
+ System Libraries, or general-purpose tools or generally available free
205
+ programs which are used unmodified in performing those activities but
206
+ which are not part of the work. For example, Corresponding Source
207
+ includes interface definition files associated with source files for
208
+ the work, and the source code for shared libraries and dynamically
209
+ linked subprograms that the work is specifically designed to require,
210
+ such as by intimate data communication or control flow between those
211
+ subprograms and other parts of the work.
212
+
213
+
214
+
215
+ The Corresponding Source need not include anything that users
216
+ can regenerate automatically from other parts of the Corresponding
217
+ Source.
218
+
219
+
220
+
221
+ The Corresponding Source for a work in source code form is that
222
+ same work.
223
+
224
+
225
+ 2. Basic Permissions.
226
+
227
+
228
+
229
+ All rights granted under this License are granted for the term of
230
+ copyright on the Program, and are irrevocable provided the stated
231
+ conditions are met. This License explicitly affirms your unlimited
232
+ permission to run the unmodified Program. The output from running a
233
+ covered work is covered by this License only if the output, given its
234
+ content, constitutes a covered work. This License acknowledges your
235
+ rights of fair use or other equivalent, as provided by copyright law.
236
+
237
+
238
+
239
+ You may make, run and propagate covered works that you do not
240
+ convey, without conditions so long as your license otherwise remains
241
+ in force. You may convey covered works to others for the sole purpose
242
+ of having them make modifications exclusively for you, or provide you
243
+ with facilities for running those works, provided that you comply with
244
+ the terms of this License in conveying all material for which you do
245
+ not control copyright. Those thus making or running the covered works
246
+ for you must do so exclusively on your behalf, under your direction
247
+ and control, on terms that prohibit them from making any copies of
248
+ your copyrighted material outside their relationship with you.
249
+
250
+
251
+
252
+ Conveying under any other circumstances is permitted solely under
253
+ the conditions stated below. Sublicensing is not allowed; Section 10
254
+ makes it unnecessary.
255
+
256
+
257
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
258
+
259
+
260
+ No covered work shall be deemed part of an effective technological
261
+ measure under any applicable law fulfilling obligations under article
262
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
263
+ similar laws prohibiting or restricting circumvention of such
264
+ measures.
265
+
266
+
267
+ When you convey a covered work, you waive any legal power to forbid
268
+ circumvention of technological measures to the extent such circumvention
269
+ is effected by exercising rights under this License with respect to
270
+ the covered work, and you disclaim any intention to limit operation or
271
+ modification of the work as a means of enforcing, against the work's
272
+ users, your or third parties' legal rights to forbid circumvention of
273
+ technological measures.
274
+
275
+
276
+
277
+ 4. Conveying Verbatim Copies.
278
+
279
+
280
+ You may convey verbatim copies of the Program's source code as you
281
+ receive it, in any medium, provided that you conspicuously and
282
+ appropriately publish on each copy an appropriate copyright notice;
283
+ keep intact all notices stating that this License and any
284
+ non-permissive terms added in accord with Section 7 apply to the code;
285
+ keep intact all notices of the absence of any warranty; and give all
286
+ recipients a copy of this License along with the Program.
287
+
288
+
289
+ You may charge any price or no price for each copy that you convey,
290
+ and you may offer support or warranty protection for a fee.
291
+
292
+
293
+ 5. Conveying Modified Source Versions.
294
+
295
+
296
+ You may convey a work based on the Program, or the modifications to
297
+ produce it from the Program, in the form of source code under the
298
+ terms of Section 4, provided that you also meet all of these conditions:
299
+
300
+
301
+
302
+ a) The work must carry prominent notices stating that you modified
303
+ it, and giving a relevant date.
304
+
305
+
306
+ b) The work must carry prominent notices stating that it is
307
+ released under this License and any conditions added under Section
308
+ 7. This requirement modifies the requirement in Section 4 to
309
+ "keep intact all notices".
310
+
311
+
312
+ c) You must license the entire work, as a whole, under this
313
+ License to anyone who comes into possession of a copy. This
314
+ License will therefore apply, along with any applicable Section 7
315
+ additional terms, to the whole of the work, and all its parts,
316
+ regardless of how they are packaged. This License gives no
317
+ permission to license the work in any other way, but it does not
318
+ invalidate such permission if you have separately received it.
319
+
320
+
321
+ d) If the work has interactive user interfaces, each must display
322
+ Appropriate Legal Notices; however, if the Program has interactive
323
+ interfaces that do not display Appropriate Legal Notices, your
324
+ work need not make them do so.
325
+
326
+
327
+
328
+ A compilation of a covered work with other separate and independent
329
+ works, which are not by their nature extensions of the covered work,
330
+ and which are not combined with it such as to form a larger program,
331
+ in or on a volume of a storage or distribution medium, is called an
332
+ "aggregate" if the compilation and its resulting copyright are not
333
+ used to limit the access or legal rights of the compilation's users
334
+ beyond what the individual works permit. Inclusion of a covered work
335
+ in an aggregate does not cause this License to apply to the other
336
+ parts of the aggregate.
337
+
338
+
339
+
340
+ 6. Conveying Non-Source Forms.
341
+
342
+
343
+
344
+ You may convey a covered work in object code form under the terms
345
+ of Sections 4 and 5, provided that you also convey the
346
+ machine-readable Corresponding Source under the terms of this License,
347
+ in one of these ways:
348
+
349
+
350
+
351
+ a) Convey the object code in, or embodied in, a physical product
352
+ (including a physical distribution medium), accompanied by the
353
+ Corresponding Source fixed on a durable physical medium
354
+ customarily used for software interchange.
355
+
356
+
357
+
358
+ b) Convey the object code in, or embodied in, a physical product
359
+ (including a physical distribution medium), accompanied by a
360
+ written offer, valid for at least three years and valid for as
361
+ long as you offer spare parts or customer support for that product
362
+ model, to give anyone who possesses the object code either (1) a
363
+ copy of the Corresponding Source for all the software in the
364
+ product that is covered by this License, on a durable physical
365
+ medium customarily used for software interchange, for a price no
366
+ more than your reasonable cost of physically performing this
367
+ conveying of source, or (2) access to copy the
368
+ Corresponding Source from a network server at no charge.
369
+
370
+
371
+
372
+ c) Convey individual copies of the object code with a copy of the
373
+ written offer to provide the Corresponding Source. This
374
+ alternative is allowed only occasionally and noncommercially, and
375
+ only if you received the object code with such an offer, in accord
376
+ with Subsection 6b.
377
+
378
+
379
+
380
+ d) Convey the object code by offering access from a designated
381
+ place (gratis or for a charge), and offer equivalent access to the
382
+ Corresponding Source in the same way through the same place at no
383
+ further charge. You need not require recipients to copy the
384
+ Corresponding Source along with the object code. If the place to
385
+ copy the object code is a network server, the Corresponding Source
386
+ may be on a different server (operated by you or a third party)
387
+ that supports equivalent copying facilities, provided you maintain
388
+ clear directions next to the object code saying where to find the
389
+ Corresponding Source. Regardless of what server hosts the
390
+ Corresponding Source, you remain obligated to ensure that it is
391
+ available for as long as needed to satisfy these requirements.
392
+
393
+
394
+
395
+ e) Convey the object code using peer-to-peer transmission, provided
396
+ you inform other peers where the object code and Corresponding
397
+ Source of the work are being offered to the general public at no
398
+ charge under Subsection 6d.
399
+
400
+
401
+
402
+ A separable portion of the object code, whose source code is excluded
403
+ from the Corresponding Source as a System Library, need not be
404
+ included in conveying the object code work.
405
+
406
+
407
+
408
+ A "User Product" is either (1) a "consumer product", which means any
409
+ tangible personal property which is normally used for personal, family,
410
+ or household purposes, or (2) anything designed or sold for incorporation
411
+ into a dwelling. In determining whether a product is a consumer product,
412
+ doubtful cases shall be resolved in favor of coverage. For a particular
413
+ product received by a particular user, "normally used" refers to a
414
+ typical or common use of that class of product, regardless of the status
415
+ of the particular user or of the way in which the particular user
416
+ actually uses, or expects or is expected to use, the product. A product
417
+ is a consumer product regardless of whether the product has substantial
418
+ commercial, industrial or non-consumer uses, unless such uses represent
419
+ the only significant mode of use of the product.
420
+
421
+
422
+
423
+ "Installation Information" for a User Product means any methods,
424
+ procedures, authorization keys, or other information required to install
425
+ and execute modified versions of a covered work in that User Product from
426
+ a modified version of its Corresponding Source. The information must
427
+ suffice to ensure that the continued functioning of the modified object
428
+ code is in no case prevented or interfered with solely because
429
+ modification has been made.
430
+
431
+
432
+
433
+ If you convey an object code work under this section in, or with, or
434
+ specifically for use in, a User Product, and the conveying occurs as
435
+ part of a transaction in which the right of possession and use of the
436
+ User Product is transferred to the recipient in perpetuity or for a
437
+ fixed term (regardless of how the transaction is characterized), the
438
+ Corresponding Source conveyed under this section must be accompanied
439
+ by the Installation Information. But this requirement does not apply
440
+ if neither you nor any third party retains the ability to install
441
+ modified object code on the User Product (for example, the work has
442
+ been installed in ROM).
443
+
444
+
445
+
446
+ The requirement to provide Installation Information does not include a
447
+ requirement to continue to provide support service, warranty, or updates
448
+ for a work that has been modified or installed by the recipient, or for
449
+ the User Product in which it has been modified or installed. Access to a
450
+ network may be denied when the modification itself materially and
451
+ adversely affects the operation of the network or violates the rules and
452
+ protocols for communication across the network.
453
+
454
+
455
+
456
+ Corresponding Source conveyed, and Installation Information provided,
457
+ in accord with this section must be in a format that is publicly
458
+ documented (and with an implementation available to the public in
459
+ source code form), and must require no special password or key for
460
+ unpacking, reading or copying.
461
+
462
+
463
+
464
+ 7. Additional Terms.
465
+
466
+
467
+
468
+ "Additional permissions" are terms that supplement the terms of this
469
+ License by making exceptions from one or more of its conditions.
470
+ Additional permissions that are applicable to the entire Program shall
471
+ be treated as though they were included in this License, to the extent
472
+ that they are valid under applicable law. If additional permissions
473
+ apply only to part of the Program, that part may be used separately
474
+ under those permissions, but the entire Program remains governed by
475
+ this License without regard to the additional permissions.
476
+
477
+
478
+
479
+ When you convey a copy of a covered work, you may at your option
480
+ remove any additional permissions from that copy, or from any part of
481
+ it. (Additional permissions may be written to require their own
482
+ removal in certain cases when you modify the work.) You may place
483
+ additional permissions on material, added by you to a covered work,
484
+ for which you have or can give appropriate copyright permission.
485
+
486
+
487
+
488
+ Notwithstanding any other provision of this License, for material you
489
+ add to a covered work, you may (if authorized by the copyright holders of
490
+ that material) supplement the terms of this License with terms:
491
+
492
+
493
+
494
+ a) Disclaiming warranty or limiting liability differently from the
495
+ terms of Sections 15 and 16 of this License; or
496
+
497
+
498
+
499
+ b) Requiring preservation of specified reasonable legal notices or
500
+ author attributions in that material or in the Appropriate Legal
501
+ Notices displayed by works containing it; or
502
+
503
+
504
+
505
+ c) Prohibiting misrepresentation of the origin of that material, or
506
+ requiring that modified versions of such material be marked in
507
+ reasonable ways as different from the original version; or
508
+
509
+
510
+
511
+ d) Limiting the use for publicity purposes of names of licensors or
512
+ authors of the material; or
513
+
514
+
515
+
516
+ e) Declining to grant rights under trademark law for use of some
517
+ trade names, trademarks, or service marks; or
518
+
519
+
520
+
521
+ f) Requiring indemnification of licensors and authors of that
522
+ material by anyone who conveys the material (or modified versions of
523
+ it) with contractual assumptions of liability to the recipient, for
524
+ any liability that these contractual assumptions directly impose on
525
+ those licensors and authors.
526
+
527
+
528
+
529
+ All other non-permissive additional terms are considered "further
530
+ restrictions" within the meaning of Section 10. If the Program as you
531
+ received it, or any part of it, contains a notice stating that it is
532
+ governed by this License along with a term that is a further
533
+ restriction, you may remove that term. If a license document contains
534
+ a further restriction but permits relicensing or conveying under this
535
+ License, you may add to a covered work material governed by the terms
536
+ of that license document, provided that the further restriction does
537
+ not survive such relicensing or conveying.
538
+
539
+
540
+
541
+ If you add terms to a covered work in accord with this section, you
542
+ must place, in the relevant source files, a statement of the
543
+ additional terms that apply to those files, or a notice indicating
544
+ where to find the applicable terms.
545
+
546
+
547
+
548
+ Additional terms, permissive or non-permissive, may be stated in the
549
+ form of a separately written license, or stated as exceptions;
550
+ the above requirements apply either way.
551
+
552
+
553
+
554
+ 8. Termination.
555
+
556
+
557
+
558
+ You may not propagate or modify a covered work except as expressly
559
+ provided under this License. Any attempt otherwise to propagate or
560
+ modify it is void, and will automatically terminate your rights under
561
+ this License (including any patent licenses granted under the third
562
+ paragraph of Section 11).
563
+
564
+
565
+
566
+ However, if you cease all violation of this License, then your
567
+ license from a particular copyright holder is reinstated (a)
568
+ provisionally, unless and until the copyright holder explicitly and
569
+ finally terminates your license, and (b) permanently, if the copyright
570
+ holder fails to notify you of the violation by some reasonable means
571
+ prior to 60 days after the cessation.
572
+
573
+
574
+
575
+ Moreover, your license from a particular copyright holder is
576
+ reinstated permanently if the copyright holder notifies you of the
577
+ violation by some reasonable means, this is the first time you have
578
+ received notice of violation of this License (for any work) from that
579
+ copyright holder, and you cure the violation prior to 30 days after
580
+ your receipt of the notice.
581
+
582
+
583
+
584
+ Termination of your rights under this section does not terminate the
585
+ licenses of parties who have received copies or rights from you under
586
+ this License. If your rights have been terminated and not permanently
587
+ reinstated, you do not qualify to receive new licenses for the same
588
+ material under Section 10.
589
+
590
+
591
+
592
+ 9. Acceptance Not Required for Having Copies.
593
+
594
+
595
+
596
+ You are not required to accept this License in order to receive or
597
+ run a copy of the Program. Ancillary propagation of a covered work
598
+ occurring solely as a consequence of using peer-to-peer transmission
599
+ to receive a copy likewise does not require acceptance. However,
600
+ nothing other than this License grants you permission to propagate or
601
+ modify any covered work. These actions infringe copyright if you do
602
+ not accept this License. Therefore, by modifying or propagating a
603
+ covered work, you indicate your acceptance of this License to do so.
604
+
605
+
606
+
607
+ 10. Automatic Licensing of Downstream Recipients.
608
+
609
+
610
+
611
+ Each time you convey a covered work, the recipient automatically
612
+ receives a license from the original licensors, to run, modify and
613
+ propagate that work, subject to this License. You are not responsible
614
+ for enforcing compliance by third parties with this License.
615
+
616
+
617
+
618
+ An "entity transaction" is a transaction transferring control of an
619
+ organization, or substantially all assets of one, or subdividing an
620
+ organization, or merging organizations. If propagation of a covered
621
+ work results from an entity transaction, each party to that
622
+ transaction who receives a copy of the work also receives whatever
623
+ licenses to the work the party's predecessor in interest had or could
624
+ give under the previous paragraph, plus a right to possession of the
625
+ Corresponding Source of the work from the predecessor in interest, if
626
+ the predecessor has it or can get it with reasonable efforts.
627
+
628
+
629
+
630
+ You may not impose any further restrictions on the exercise of the
631
+ rights granted or affirmed under this License. For example, you may
632
+ not impose a license fee, royalty, or other charge for exercise of
633
+ rights granted under this License, and you may not initiate litigation
634
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
635
+ any patent claim is infringed by making, using, selling, offering for
636
+ sale, or importing the Program or any portion of it.
637
+
638
+
639
+
640
+ 11. Patents.
641
+
642
+
643
+
644
+ A "contributor" is a copyright holder who authorizes use under this
645
+ License of the Program or a work on which the Program is based. The
646
+ work thus licensed is called the contributor's "contributor version".
647
+
648
+
649
+
650
+ A contributor's "essential patent claims" are all patent claims
651
+ owned or controlled by the contributor, whether already acquired or
652
+ hereafter acquired, that would be infringed by some manner, permitted
653
+ by this License, of making, using, or selling its contributor version,
654
+ but do not include claims that would be infringed only as a
655
+ consequence of further modification of the contributor version. For
656
+ purposes of this definition, "control" includes the right to grant
657
+ patent sublicenses in a manner consistent with the requirements of
658
+ this License.
659
+
660
+
661
+
662
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
663
+ patent license under the contributor's essential patent claims, to
664
+ make, use, sell, offer for sale, import and otherwise run, modify and
665
+ propagate the contents of its contributor version.
666
+
667
+
668
+
669
+ In the following three paragraphs, a "patent license" is any express
670
+ agreement or commitment, however denominated, not to enforce a patent
671
+ (such as an express permission to practice a patent or covenant not to
672
+ sue for patent infringement). To "grant" such a patent license to a
673
+ party means to make such an agreement or commitment not to enforce a
674
+ patent against the party.
675
+
676
+
677
+
678
+ If you convey a covered work, knowingly relying on a patent license,
679
+ and the Corresponding Source of the work is not available for anyone
680
+ to copy, free of charge and under the terms of this License, through a
681
+ publicly available network server or other readily accessible means,
682
+ then you must either (1) cause the Corresponding Source to be so
683
+ available, or (2) arrange to deprive yourself of the benefit of the
684
+ patent license for this particular work, or (3) arrange, in a manner
685
+ consistent with the requirements of this License, to extend the patent
686
+ license to downstream recipients. "Knowingly relying" means you have
687
+ actual knowledge that, but for the patent license, your conveying the
688
+ covered work in a country, or your recipient's use of the covered work
689
+ in a country, would infringe one or more identifiable patents in that
690
+ country that you have reason to believe are valid.
691
+
692
+
693
+
694
+ If, pursuant to or in connection with a single transaction or
695
+ arrangement, you convey, or propagate by procuring conveyance of, a
696
+ covered work, and grant a patent license to some of the parties
697
+ receiving the covered work authorizing them to use, propagate, modify
698
+ or convey a specific copy of the covered work, then the patent license
699
+ you grant is automatically extended to all recipients of the covered
700
+ work and works based on it.
701
+
702
+
703
+
704
+ A patent license is "discriminatory" if it does not include within
705
+ the scope of its coverage, prohibits the exercise of, or is
706
+ conditioned on the non-exercise of one or more of the rights that are
707
+ specifically granted under this License. You may not convey a covered
708
+ work if you are a party to an arrangement with a third party that is
709
+ in the business of distributing software, under which you make payment
710
+ to the third party based on the extent of your activity of conveying
711
+ the work, and under which the third party grants, to any of the
712
+ parties who would receive the covered work from you, a discriminatory
713
+ patent license (a) in connection with copies of the covered work
714
+ conveyed by you (or copies made from those copies), or (b) primarily
715
+ for and in connection with specific products or compilations that
716
+ contain the covered work, unless you entered into that arrangement,
717
+ or that patent license was granted, prior to 28 March 2007.
718
+
719
+
720
+
721
+ Nothing in this License shall be construed as excluding or limiting
722
+ any implied license or other defenses to infringement that may
723
+ otherwise be available to you under applicable patent law.
724
+
725
+
726
+
727
+ 12. No Surrender of Others' Freedom.
728
+
729
+
730
+
731
+ If conditions are imposed on you (whether by court order, agreement or
732
+ otherwise) that contradict the conditions of this License, they do not
733
+ excuse you from the conditions of this License. If you cannot convey a
734
+ covered work so as to satisfy simultaneously your obligations under this
735
+ License and any other pertinent obligations, then as a consequence you may
736
+ not convey it at all. For example, if you agree to terms that obligate you
737
+ to collect a royalty for further conveying from those to whom you convey
738
+ the Program, the only way you could satisfy both those terms and this
739
+ License would be to refrain entirely from conveying the Program.
740
+
741
+
742
+
743
+ 13. Remote Network Interaction; Use with the GNU General Public License.
744
+
745
+
746
+
747
+ Notwithstanding any other provision of this License, if you modify the
748
+ Program, your modified version must prominently offer all users
749
+ interacting with it remotely through a computer network (if your version
750
+ supports such interaction) an opportunity to receive the Corresponding
751
+ Source of your version by providing access to the Corresponding Source
752
+ from a network server at no charge, through some standard or customary
753
+ means of facilitating copying of software. This Corresponding Source
754
+ shall include the Corresponding Source for any work covered by version 3
755
+ of the GNU General Public License that is incorporated pursuant to the
756
+ following paragraph.
757
+ Notwithstanding any other provision of this License, you have
758
+ permission to link or combine any covered work with a work licensed
759
+ under version 3 of the GNU General Public License into a single
760
+ combined work, and to convey the resulting work. The terms of this
761
+ License will continue to apply to the part which is the covered work,
762
+ but the work with which it is combined will remain governed by version
763
+ 3 of the GNU General Public License.
764
+
765
+
766
+
767
+ 14. Revised Versions of this License.
768
+
769
+
770
+
771
+ The Free Software Foundation may publish revised and/or new versions of
772
+ the GNU Affero General Public License from time to time. Such new versions
773
+ will be similar in spirit to the present version, but may differ in detail to
774
+ address new problems or concerns.
775
+
776
+
777
+
778
+ Each version is given a distinguishing version number. If the
779
+ Program specifies that a certain numbered version of the GNU Affero General
780
+ Public License "or any later version" applies to it, you have the
781
+ option of following the terms and conditions either of that numbered
782
+ version or of any later version published by the Free Software
783
+ Foundation. If the Program does not specify a version number of the
784
+ GNU Affero General Public License, you may choose any version ever published
785
+ by the Free Software Foundation.
786
+
787
+
788
+
789
+ If the Program specifies that a proxy can decide which future
790
+ versions of the GNU Affero General Public License can be used, that proxy's
791
+ public statement of acceptance of a version permanently authorizes you
792
+ to choose that version for the Program.
793
+
794
+
795
+
796
+ Later license versions may give you additional or different
797
+ permissions. However, no additional obligations are imposed on any
798
+ author or copyright holder as a result of your choosing to follow a
799
+ later version.
800
+
801
+
802
+
803
+ 15. Disclaimer of Warranty.
804
+
805
+
806
+
807
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
808
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
809
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
810
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
811
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
812
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
813
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
814
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
815
+
816
+
817
+
818
+ 16. Limitation of Liability.
819
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
820
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
821
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
822
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
823
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
824
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
825
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
826
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
827
+ SUCH DAMAGES.
828
+ 17. Interpretation of Sections 15 and 16.
829
+ If the disclaimer of warranty and limitation of liability provided
830
+ above cannot be given local legal effect according to their terms,
831
+ reviewing courts shall apply local law that most closely approximates
832
+ an absolute waiver of all civil liability in connection with the
833
+ Program, unless a warranty or assumption of liability accompanies a
834
+ copy of the Program in return for a fee.
835
+
836
+
837
+ For more information about this software, see https://dydx.exchange.
838
+ Copyright (C) 2023 dYdX Trading Inc.
@@ -766,7 +766,10 @@
766
766
  "MARKET_PROFIT": "Market Profit",
767
767
  "MARKET_SELL": "market sell",
768
768
  "MAXIMUM_POSITION_SIZE": "Maximum Position Size",
769
+ "MODIFY_GOOD_TIL": "Modify Good Til",
769
770
  "MODIFY_SIZE_FIELD": "Modify amount",
771
+ "MODIFY_TRAILING_PERCENT": "Modify trailing %",
772
+ "MODIFY_TRIGGER_PRICE": "Modify trigger price",
770
773
  "NET_FUNDING": "Net Funding",
771
774
  "NEXT_FUNDING": "Next Funding",
772
775
  "NEXT_IN": "Next in {TIME}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "url": "git+https://github.com/dydxprotocol/v4-localization.git"
12
12
  },
13
13
  "author": "",
14
- "license": "ISC",
14
+ "license": "BSL-1.1",
15
15
  "bugs": {
16
16
  "url": "https://github.com/dydxprotocol/v4-localization/issues"
17
17
  },
@@ -1178,7 +1178,10 @@ export const APP_STRING_KEYS = {
1178
1178
  MARKET_PROFIT: 'APP.TRADE.MARKET_PROFIT',
1179
1179
  MARKET_SELL: 'APP.TRADE.MARKET_SELL',
1180
1180
  MAXIMUM_POSITION_SIZE: 'APP.TRADE.MAXIMUM_POSITION_SIZE',
1181
+ MODIFY_GOOD_TIL: 'APP.TRADE.MODIFY_GOOD_TIL',
1181
1182
  MODIFY_SIZE_FIELD: 'APP.TRADE.MODIFY_SIZE_FIELD',
1183
+ MODIFY_TRAILING_PERCENT: 'APP.TRADE.MODIFY_TRAILING_PERCENT',
1184
+ MODIFY_TRIGGER_PRICE: 'APP.TRADE.MODIFY_TRIGGER_PRICE',
1182
1185
  NET_FUNDING: 'APP.TRADE.NET_FUNDING',
1183
1186
  NEXT_FUNDING: 'APP.TRADE.NEXT_FUNDING',
1184
1187
  NEXT_IN: 'APP.TRADE.NEXT_IN',