everyblock-mcp 0.5.0 → 0.6.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Samuel Aleonomoh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -30,7 +30,7 @@ With neither `RPC_URL` nor `EVERYBLOCK` set it talks to the live Monad testnet d
30
30
  | `cancel_quote` | yes | Takes a quote off (not during the window it sits in) and credits what it holds. |
31
31
  | `withdraw_quote_cash` | yes | Collects the cash a market's quotes earned. |
32
32
  | `register_agent` | signs | Signs "I am an agent called X" with the wallet and registers it with the app, so the leaderboard shows the name with an Agent badge. No transaction. |
33
- | `settle` | yes | Proves a market's price to beat and/or its result with signed Pyth prices from the app's `/api/proof` (no Pyth key needed), paying Pyth's update fee. |
33
+ | `settle` | yes | Proves a market's price to beat and/or its result with signed oracle prices from the app's `/api/proof` (RedStone on testnet, Pyth on mainnet; no key needed), paying the oracle's update fee if it has one. |
34
34
 
35
35
  Every write returns the transaction hash and the decoded result (events and amounts). Writes run one at a time.
36
36
 
@@ -93,4 +93,4 @@ tests). `npm run abi` regenerates `src/abi.ts` from the Foundry build (run `forg
93
93
 
94
94
  ## License
95
95
 
96
- [PolyForm Noncommercial 1.0.0](LICENSE.md): free to use, copy and modify for any noncommercial purpose (personal use, research, education, hobby projects, nonprofits). Selling it or using it commercially needs written permission from the author. Copyright (c) 2026 Samuel Aleonomoh.
96
+ [MIT](LICENSE). Copyright (c) 2026 Samuel Aleonomoh.
package/dist/abi.js CHANGED
@@ -553,6 +553,11 @@ export const everyblockAbi = [
553
553
  "type": "int32",
554
554
  "internalType": "int32"
555
555
  },
556
+ {
557
+ "name": "feeBps",
558
+ "type": "uint16",
559
+ "internalType": "uint16"
560
+ },
556
561
  {
557
562
  "name": "strikeSum",
558
563
  "type": "int128",
@@ -750,7 +755,7 @@ export const everyblockAbi = [
750
755
  "name": "marketFeeBps",
751
756
  "inputs": [
752
757
  {
753
- "name": "",
758
+ "name": "marketId",
754
759
  "type": "uint256",
755
760
  "internalType": "uint256"
756
761
  }
@@ -788,6 +793,19 @@ export const everyblockAbi = [
788
793
  ],
789
794
  "stateMutability": "view"
790
795
  },
796
+ {
797
+ "type": "function",
798
+ "name": "maxOrderSize",
799
+ "inputs": [],
800
+ "outputs": [
801
+ {
802
+ "name": "",
803
+ "type": "uint64",
804
+ "internalType": "uint64"
805
+ }
806
+ ],
807
+ "stateMutability": "view"
808
+ },
791
809
  {
792
810
  "type": "function",
793
811
  "name": "merge",
@@ -1119,6 +1137,19 @@ export const everyblockAbi = [
1119
1137
  "outputs": [],
1120
1138
  "stateMutability": "nonpayable"
1121
1139
  },
1140
+ {
1141
+ "type": "function",
1142
+ "name": "setMaxOrderSize",
1143
+ "inputs": [
1144
+ {
1145
+ "name": "size",
1146
+ "type": "uint64",
1147
+ "internalType": "uint64"
1148
+ }
1149
+ ],
1150
+ "outputs": [],
1151
+ "stateMutability": "nonpayable"
1152
+ },
1122
1153
  {
1123
1154
  "type": "function",
1124
1155
  "name": "setStrike",
@@ -1415,6 +1446,19 @@ export const everyblockAbi = [
1415
1446
  ],
1416
1447
  "anonymous": false
1417
1448
  },
1449
+ {
1450
+ "type": "event",
1451
+ "name": "MaxOrderSizeUpdated",
1452
+ "inputs": [
1453
+ {
1454
+ "name": "maxOrderSize",
1455
+ "type": "uint64",
1456
+ "indexed": false,
1457
+ "internalType": "uint64"
1458
+ }
1459
+ ],
1460
+ "anonymous": false
1461
+ },
1418
1462
  {
1419
1463
  "type": "event",
1420
1464
  "name": "Merged",
@@ -1942,6 +1986,11 @@ export const everyblockAbi = [
1942
1986
  "name": "SettlementClosed",
1943
1987
  "inputs": []
1944
1988
  },
1989
+ {
1990
+ "type": "error",
1991
+ "name": "SizeAboveCap",
1992
+ "inputs": []
1993
+ },
1945
1994
  {
1946
1995
  "type": "error",
1947
1996
  "name": "StrikeAlreadySet",
package/dist/chain.js CHANGED
@@ -3,26 +3,27 @@
3
3
  import { BaseError, ContractFunctionRevertedError, createPublicClient, createWalletClient, defineChain, http, parseAbi, parseEventLogs, parseUnits, } from "viem";
4
4
  import { privateKeyToAccount } from "viem/accounts";
5
5
  import { everyblockAbi, testUsdAbi } from "./abi.js";
6
+ import { readMarket } from "./market.js";
6
7
  export const FEED_NAMES = {
7
8
  "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43": "BTC/USD",
8
9
  "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace": "ETH/USD",
9
10
  "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d": "SOL/USD",
10
11
  "0x31491744e2dbf6df7fcf4ac0820d18a609b49076d45066d3568424e62f686cd1": "MON/USD",
11
12
  };
12
- export const DEFAULT_FEEDS = Object.keys(FEED_NAMES);
13
+ const DEFAULT_FEEDS = Object.keys(FEED_NAMES);
13
14
  export const MONAD_MAINNET = 143;
14
- export const MONAD_TESTNET = 10143;
15
+ const MONAD_TESTNET = 10143;
15
16
  /** The live Monad testnet deployment (docs/SUBMISSION.md, "Deployed contracts"). */
16
- export const TESTNET_RPC = "https://testnet-rpc.monad.xyz";
17
- export const TESTNET_EVERYBLOCK = "0x885F6CD4E75F432E8DE60A0fbA97fC0D24c415ad";
17
+ const TESTNET_RPC = "https://testnet-rpc.monad.xyz";
18
+ const TESTNET_EVERYBLOCK = "0x7580F8f3094D3e9067942D08997096AA23A1bD22";
18
19
  /** The hosted web app's proof endpoint for the testnet deployment. */
19
- export const TESTNET_PROOF_URL = "https://everyblock-gray.vercel.app/api/proof";
20
- export const ANVIL = 31337;
20
+ const TESTNET_PROOF_URL = "https://everyblock-gray.vercel.app/api/proof";
21
+ const ANVIL = 31337;
21
22
  /** Monad charges the gas limit, not gas used: estimate, then add 15% (as the keeper does). */
22
23
  const GAS_MARGIN_PCT = 115n;
23
24
  /** The fee function another stream adds; absent on older deployments, which then charge no fee. */
24
25
  const feeAbi = parseAbi(["function marketFeeBps(uint256 marketId) view returns (uint256)"]);
25
- export const isLocalRpc = (url) => /^https?:\/\/(127\.0\.0\.1|localhost)(:|\/|$)/.test(url);
26
+ const isLocalRpc = (url) => /^https?:\/\/(127\.0\.0\.1|localhost)(:|\/|$)/.test(url);
26
27
  /**
27
28
  * Environment:
28
29
  * RPC_URL, EVERYBLOCK the chain and contract (default: both unset = the Monad testnet deployment)
@@ -33,8 +34,8 @@ export const isLocalRpc = (url) => /^https?:\/\/(127\.0\.0\.1|localhost)(:|\/|$)
33
34
  * MCP_MAX_SPEND_USD collateral one write call may commit, in dollars (default 50)
34
35
  * FEEDS comma-separated Pyth feed ids (default BTC, ETH, SOL, MON)
35
36
  * MCP_LOG_RANGE, MCP_LOG_LOOKBACK blocks per eth_getLogs call (100) and how far back to look (2000)
36
- * EVERYBLOCK_PROOF_URL the web app's /api/proof, where `settle` gets signed Pyth prices without a Pyth
37
- * key of its own (default on Monad testnet: the hosted app; set "" to disable)
37
+ * EVERYBLOCK_PROOF_URL the web app's /api/proof, where `settle` gets signed oracle prices without an
38
+ * oracle key of its own (default on Monad testnet: the hosted app; set "" to disable)
38
39
  */
39
40
  export function configFromEnv(env = process.env) {
40
41
  const need = (name) => {
@@ -175,6 +176,10 @@ export async function send(ctx, target, functionName, args, value) {
175
176
  let gas;
176
177
  try {
177
178
  gas = ((await ctx.pub.estimateContractGas(call)) * GAS_MARGIN_PCT) / 100n;
179
+ // An order or quote sent in a window's last seconds may land in the next window and clear this batch first.
180
+ if (target === "everyblock" && (functionName === "placeOrder" || functionName === "postQuote")) {
181
+ gas += await lazyClearGas(ctx, args[0]);
182
+ }
178
183
  }
179
184
  catch (e) {
180
185
  throw new Error(`${functionName} would revert: ${reason(e)}`);
@@ -205,3 +210,29 @@ export function reason(e) {
205
210
  }
206
211
  /** The batch an order sent now joins: the time window, or the block on per-block deployments. */
207
212
  export const batchAt = (ctx, t) => ctx.batchSeconds ? t.timestamp / BigInt(ctx.batchSeconds) : t.number;
213
+ /** Seconds before a window ends in which a transaction may land in the next window (and so clear this batch). */
214
+ const CLEAR_MARGIN_S = 2n;
215
+ /**
216
+ * Extra gas for a write that may have to clear the market's pending batch first: only when that batch's window
217
+ * ends within CLEAR_MARGIN_S (the estimate, taken inside the window, can't include the clearing), sized from its
218
+ * occupied ticks and resting quotes (a full 99x2 book clears for ~400k; each quote adds up to ~60k). Mirrors
219
+ * web/lib/batch.ts. Monad charges the limit, so it is 0 whenever no clearing can fall on this transaction.
220
+ */
221
+ async function lazyClearGas(ctx, marketId) {
222
+ if (!ctx.batchSeconds)
223
+ return 0n;
224
+ const [m, block] = await Promise.all([readMarket(ctx.pub, ctx.everyblock, marketId), ctx.pub.getBlock({ blockTag: "latest" })]);
225
+ const pending = BigInt(m.pendingBatch);
226
+ const end = (pending + 1n) * BigInt(ctx.batchSeconds);
227
+ if (pending === 0n || block.timestamp >= end || end - block.timestamp > CLEAR_MARGIN_S)
228
+ return 0n;
229
+ const [b, quotes] = await Promise.all([read(ctx, "getBatch", [marketId, pending]), read(ctx, "getQuotes", [marketId]).catch(() => [])]);
230
+ const bits = (x) => {
231
+ let n = 0n;
232
+ for (let v = x; v > 0n; v &= v - 1n)
233
+ n++;
234
+ return n;
235
+ };
236
+ const live = BigInt(quotes.filter((q) => /[1-9a-f]/i.test(q.maker.slice(2)) && q.size > 0n).length);
237
+ return 60000n + 2200n * (bits(b[0]) + bits(b[1])) + 60000n * live;
238
+ }
package/dist/market.js ADDED
@@ -0,0 +1,31 @@
1
+ // getMarket on any deployment. The market fee moved into the market header (`feeBps`) on 3 Oct, after the 30 Sep
2
+ // testnet deployment, which still returns the struct without it; decoding that with the current ABI runs off the end
3
+ // of the data. So the first read of a contract tries the current layout, falls back to the old one only on that
4
+ // overrun, and remembers which it has. The same fallback is in web/lib/market.ts.
5
+ import { BaseError, parseAbi } from "viem";
6
+ import { everyblockAbi } from "./abi.js";
7
+ const legacyAbi = parseAbi([
8
+ "struct Market { bytes32 feedId; uint64 openTime; uint64 closeTime; uint64 pendingBatch; uint8 outcome; bool strikeSet; int32 expo; int128 strikeSum; int128 closeSum; }",
9
+ "function getMarket(uint256 marketId) view returns (Market)",
10
+ ]);
11
+ /** Per contract: true once it is known to return the pre-3-Oct struct, false once it is known not to. */
12
+ const legacy = new Map();
13
+ const overran = (e) => e instanceof BaseError && !!e.walk((x) => x.name === "PositionOutOfBoundsError");
14
+ /** The market struct, without `feeBps` on old deployments; typed loosely like the other reads. */
15
+ export async function readMarket(pub, address, marketId) {
16
+ const key = address.toLowerCase();
17
+ if (legacy.get(key) !== true) {
18
+ try {
19
+ const m = await pub.readContract({ address, abi: everyblockAbi, functionName: "getMarket", args: [marketId] });
20
+ legacy.set(key, false);
21
+ return m;
22
+ }
23
+ catch (e) {
24
+ if (legacy.get(key) === false || !overran(e))
25
+ throw e;
26
+ }
27
+ }
28
+ const m = await pub.readContract({ address, abi: legacyAbi, functionName: "getMarket", args: [marketId] });
29
+ legacy.set(key, true);
30
+ return m;
31
+ }
package/dist/server.js CHANGED
@@ -4,11 +4,12 @@ import { isAddress } from "viem";
4
4
  import { z } from "zod";
5
5
  import { everyblockAbi } from "./abi.js";
6
6
  import { FEED_NAMES, feeBps, MONAD_MAINNET, now, read, readToken, reason, send, serialize, writeBlocker, batchAt, } from "./chain.js";
7
+ import { readMarket } from "./market.js";
7
8
  import { centsToUsd, clearBatch, describeKind, escrowOf, feeOn, GRACE, isBid, kindOf, KINDS, marketStatus, meanPrice, OUTCOMES, ownPriceAt, priceOf, scenarios, tickOf, usd, WINDOW, } from "./orders.js";
8
- export const INSTRUCTIONS = `Everyblock runs short crypto UP/DOWN markets (e.g. "is BTC/USD higher at the close than at the open?") on Monad.
9
+ const INSTRUCTIONS = `Everyblock runs short crypto UP/DOWN markets (e.g. "is BTC/USD higher at the close than at the open?") on Monad.
9
10
 
10
11
  How it works:
11
- - Each market has an open and a close time (5 minutes on the live schedule). The strike is the mean of 12 Pyth prices over the 60 s before the open; the closing price is the mean of 12 Pyth prices over the 60 s from the close. UP wins if the closing mean is above the strike, DOWN if below; a tie, or no proof within an hour, voids the market and every share redeems for $0.50.
12
+ - Each market has an open and a close time (5 minutes on the live schedule). The strike is the mean of 12 signed oracle prices over the 60 s before the open (RedStone on testnet, Pyth on mainnet); the closing price is the mean of 12 over the 60 s from the close. UP wins if the closing mean is above the strike, DOWN if below; a tie, or no proof within an hour, voids the market and every share redeems for $0.50.
12
13
  - A winning share pays $1.00. Prices are in cents (1-99): buying UP at 60 means paying at most $0.60 per share.
13
14
  - There is no continuous order book. All orders sent in the same batch window (a few seconds: the contract's BATCH_SECONDS; one block on older deployments) form one batch that clears at ONE uniform price after the window ends, so being first or fast inside it gives no advantage. Orders better than the clearing price fill fully, orders at it may fill pro rata, worse ones do not fill. Buyers never pay more than their limit and get back any price improvement.
14
15
  - Orders live for one batch. After its window ends, call claim with the order's nonce to collect the fill, the refund of anything unfilled and the price improvement. Claiming is required even if the order did not fill (that returns the escrow).
@@ -64,7 +65,7 @@ async function lastClearing(ctx, marketId, latest) {
64
65
  }
65
66
  async function marketView(ctx, marketId, t, latestBlock) {
66
67
  const [m, outcome, fee] = await Promise.all([
67
- read(ctx, "getMarket", [marketId]),
68
+ readMarket(ctx.pub, ctx.everyblock, marketId),
68
69
  read(ctx, "outcome", [marketId]),
69
70
  feeBps(ctx, marketId),
70
71
  ]);
@@ -173,7 +174,7 @@ async function quote(ctx, a) {
173
174
  const kind = kindOf(a.side, a.outcome);
174
175
  const { timestamp } = await now(ctx);
175
176
  const [m, outcome, fee] = await Promise.all([
176
- read(ctx, "getMarket", [marketId]),
177
+ readMarket(ctx.pub, ctx.everyblock, marketId),
177
178
  read(ctx, "outcome", [marketId]),
178
179
  feeBps(ctx, marketId),
179
180
  ]);
@@ -587,7 +588,7 @@ export function createServer(ctx) {
587
588
  }));
588
589
  server.registerTool("settle", {
589
590
  title: "Prove the price to beat or the result",
590
- description: "Submits the signed Pyth prices that set a market's strike (after its open) or resolve it (about 70 s after its close), when no keeper has. Anyone may do this; it costs gas plus Pyth's tiny update fee. The prices come from the Everyblock app's proof endpoint, so no Pyth key is needed. Proves the strike first if it is missing.",
591
+ description: "Submits the signed oracle prices (RedStone on testnet, Pyth on mainnet) that set a market's strike (after its open) or resolve it (about 75 s after its close), when no keeper has. Anyone may do this; it costs gas plus the oracle's update fee, if any (Pyth's is tiny, RedStone's is 0). The prices come from the Everyblock app's proof endpoint, so no oracle key is needed. Proves the strike first if it is missing.",
591
592
  inputSchema: {
592
593
  marketId: id.describe("Market id."),
593
594
  what: z.enum(["strike", "result"]).optional().describe("strike: only the price to beat. result (default): the result, and the strike first if missing."),
@@ -599,7 +600,7 @@ export function createServer(ctx) {
599
600
  return fail(blocked);
600
601
  if (!ctx.proofUrl)
601
602
  return fail("no proof endpoint configured (set EVERYBLOCK_PROOF_URL to the app's /api/proof)");
602
- const m = (await read(ctx, "getMarket", [BigInt(marketId)]));
603
+ const m = (await readMarket(ctx.pub, ctx.everyblock, BigInt(marketId)));
603
604
  if (m.outcome !== 0)
604
605
  return ok({ settled: false, alreadyResolved: true, marketId });
605
606
  const steps = what === "strike" ? (m.strikeSet ? [] : ["strike"]) : m.strikeSet ? ["close"] : ["strike", "close"];
@@ -619,7 +620,7 @@ export function createServer(ctx) {
619
620
  const sent = await send(ctx, "everyblock", w === "strike" ? "setStrike" : "resolve", [BigInt(marketId), body.updates], fee);
620
621
  done.push({ step: w === "strike" ? "strike" : "result", ...tx(sent) });
621
622
  }
622
- const after = (await read(ctx, "getMarket", [BigInt(marketId)]));
623
+ const after = (await readMarket(ctx.pub, ctx.everyblock, BigInt(marketId)));
623
624
  return ok({
624
625
  settled: true,
625
626
  marketId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "everyblock-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "description": "MCP server that lets any AI agent read, quote and trade Everyblock's per-block UP/DOWN markets.",
6
6
  "engines": {
@@ -30,7 +30,7 @@
30
30
  "files": [
31
31
  "dist",
32
32
  "README.md",
33
- "LICENSE.md"
33
+ "LICENSE"
34
34
  ],
35
35
  "keywords": [
36
36
  "mcp",
@@ -40,10 +40,5 @@
40
40
  "agent",
41
41
  "trading"
42
42
  ],
43
- "repository": {
44
- "type": "git",
45
- "url": "git+https://github.com/Osiyomeoh/everyblock.git",
46
- "directory": "mcp"
47
- },
48
- "license": "PolyForm-Noncommercial-1.0.0"
43
+ "license": "MIT"
49
44
  }
package/LICENSE.md DELETED
@@ -1,75 +0,0 @@
1
- Required Notice: Copyright (c) 2026 Samuel Aleonomoh (https://github.com/Osiyomeoh)
2
-
3
- # PolyForm Noncommercial License 1.0.0
4
-
5
- <https://polyformproject.org/licenses/noncommercial/1.0.0>
6
-
7
- ## Acceptance
8
-
9
- In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
10
-
11
- ## Copyright License
12
-
13
- The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
14
-
15
- ## Distribution License
16
-
17
- The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
18
-
19
- ## Notices
20
-
21
- You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
22
-
23
- > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
24
-
25
- ## Changes and New Works License
26
-
27
- The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
28
-
29
- ## Patent License
30
-
31
- The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
32
-
33
- ## Noncommercial Purposes
34
-
35
- Any noncommercial purpose is a permitted purpose.
36
-
37
- ## Personal Uses
38
-
39
- Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
40
-
41
- ## Noncommercial Organizations
42
-
43
- Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
44
-
45
- ## Fair Use
46
-
47
- You may have "fair use" rights for the software under the law. These terms do not limit them.
48
-
49
- ## No Other Rights
50
-
51
- These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
52
-
53
- ## Patent Defense
54
-
55
- If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
56
-
57
- ## Violations
58
-
59
- The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
60
-
61
- ## No Liability
62
-
63
- ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
64
-
65
- ## Definitions
66
-
67
- The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
68
-
69
- **You** refers to the individual or entity agreeing to these terms.
70
-
71
- **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
72
-
73
- **Your licenses** are all the licenses granted to you for the software under these terms.
74
-
75
- **Use** means anything you do with the software requiring one of your licenses.