capitalisk-dex 18.3.0 → 18.3.2

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 (3) hide show
  1. package/README.md +8 -6
  2. package/index.js +0 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -13,7 +13,7 @@ To send an order to the DEX, a user needs to send a regular transfer transaction
13
13
  - **Credit**: `credit`
14
14
 
15
15
  ### Parameters
16
- - **targetChain** is the name of trading pair for a given market (e.g. LSH)
16
+ - **targetChain** is the symbol of the opposite blockchain within a given market (e.g. LSH)
17
17
  - **bidOrAskPrice** is a limit order price.
18
18
  - **targetWalletAddress** is the wallet address on the opposite blockchain where tokens should be sent to.
19
19
  - **orderId** is the order ID (which matches the blockchain transaction ID).
@@ -85,18 +85,20 @@ Special thanks to Carolina delegate for being an early sponsor of this project.
85
85
 
86
86
  ## License
87
87
 
88
- This product is issued under a dual license:
88
+ This product is issued under the AGPL v3 license with a potential copyleft exemption.
89
89
 
90
90
  ### AGPL by default
91
91
 
92
92
  By default, this product is issued under `AGPL-3.0`.
93
93
 
94
- ### MIT license for CLSK token holders
94
+ ### Copyleft exemption for CLSK token holders
95
95
 
96
- If you own `100K CLSK` tokens (https://capitalisk.com/), then you are subject to the less restrictive `MIT` license and are therefore exempt from the AGPL requirement of making the code of your derived projects public. This alternative license applies automatically from the moment that you acquire 100K or more CLSK tokens and it is valid so long as you continue to hold that amount of tokens.
96
+ If you own `100K CLSK` tokens (https://capitalisk.com/), then you are exempt from the AGPL copyleft requirement of making the code of your derived projects public. This exemption applies automatically from the moment that you acquire 100K or more CLSK tokens and it is valid so long as you continue to hold that amount of tokens.
97
97
 
98
- If your CLSK balance falls below 100K, then you will be once again bound to the conditions of AGPL-3.0 after a grace period of 90 days; after this grace period, your derived project's code should be made public. Timestamps which can be used to prove ownership of CLSK tokens over time are recorded on the Capitalisk blockchain in a decentralized, immutable way so it is important that you hold 100K CLSK throughout your derived project's entire commercial life if you intend to keep the code private.
98
+ If your CLSK balance falls below 100K, then you will be once again bound to the copyleft conditions of AGPL-3.0 after a grace period of 90 days; after this grace period, your derived project's code must be made public. Timestamps which can be used to prove ownership of CLSK tokens over time are recorded on the Capitalisk blockchain in a decentralized, immutable way so it is important that you hold 100K CLSK throughout your derived project's entire commercial life if you intend to keep the code private.
99
99
 
100
100
  This exemption also applies to companies; in this case, the total CLSK holdings of the company plus those of its directors and board members must be greater than 100K multiplied by the maximum number of contributors which have worked on the project concurrently since the start of the project (e.g. according to records in the project's code repository). If a company falls out of compliance, the standard 90-day grace period applies before reverting back to the AGPL-3.0 license.
101
101
 
102
- The amount of CLSK tokens which need to be held to qualify for the MIT license (and exemption from AGPL-3.0) may be revised downwards in the future but never upwards.
102
+ Derived code may optionally be distributed with the same copyleft exemption clause as this project; in this case, the CLSK token ownership requirement must be at least as high as this project.
103
+
104
+ The amount of CLSK tokens which need to be held to qualify for the copyleft exemption may be revised downwards in the future but never upwards.
package/index.js CHANGED
@@ -2527,8 +2527,6 @@ module.exports = class CapitaliskDEXModule {
2527
2527
  a.id
2528
2528
  } and ${
2529
2529
  b.id
2530
- } from block ID ${
2531
- blockId
2532
2530
  } because they had the same sortKey - This may lead to nondeterministic output`
2533
2531
  );
2534
2532
  return 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capitalisk-dex",
3
- "version": "18.3.0",
3
+ "version": "18.3.2",
4
4
  "description": "Decentralized exchange module.",
5
5
  "main": "index.js",
6
6
  "scripts": {