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.
- package/README.md +8 -6
- package/index.js +0 -2
- 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
|
|
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
|
|
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
|
-
###
|
|
94
|
+
### Copyleft exemption for CLSK token holders
|
|
95
95
|
|
|
96
|
-
If you own `100K CLSK` tokens (https://capitalisk.com/), then you are
|
|
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
|
|
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
|
-
|
|
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