@mortiseagentvault/mcp 0.1.1 → 0.2.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.
Files changed (3) hide show
  1. package/README.md +12 -4
  2. package/dist/main.js +821 -240
  3. package/package.json +4 -2
package/README.md CHANGED
@@ -16,10 +16,18 @@ Gate would refuse.
16
16
  | `mortise_min_rate` | The owner's price floor for selling one token for another |
17
17
  | `mortise_simulate` | Runs actions without sending them; returns the markets used or the reason for a refusal |
18
18
  | `mortise_execute` | Sends actions to the Gate in one transaction, after simulating them |
19
- | `mortise_trigger` | Runs a due step of the DCA, automation or rebalance module, as its keeper |
20
-
21
- Actions cover WETH, Uniswap v3 and v4 swaps and positions, Morpho Blue, ERC-4626, Pons, Flap, Across,
22
- listed transfers and family transfers. Amounts are integer strings in the token's smallest unit.
19
+ | `mortise_trigger` | Runs a due step of the DCA, automation, rebalance or compound module, as its keeper |
20
+ | `mortise_pay_x402` | Pays an x402 resource from the vault in USDG through the Mortise escrow, to a seller the owner listed |
21
+ | `mortise_x402_reclaim` | Takes back an x402 payment the seller never collected, after its deadline |
22
+
23
+ Actions cover every Mortise adapter: swaps on Uniswap v2, v3 and v4, PancakeSwap v3 and Infinity, Aero
24
+ Slipstream, 1inch, Sushi, Pons and Flap; Uniswap v3 and v4 and Aero positions; Morpho Blue (supply, and
25
+ borrowing under a listed ceiling), Aave v3, Lista Lending, ERC-4626, Beefy, Pendle PT and the Priors pool;
26
+ Across, LayerZero and Chainlink CCIP; Lighter margin; the vault's ERC-8004 identity; WETH, listed transfers
27
+ and family transfers. Amounts are integer strings in the token's smallest unit.
28
+
29
+ `mortise_pay_x402` needs a seller whose x402 facilitator accepts a contract payer (ERC-1271), as the
30
+ official x402 facilitator does; the price is refused above the `maxValue` the agent gives.
23
31
 
24
32
  The server needs Node.js 20 or later. It is published as one bundled file with no runtime dependencies;
25
33
  the licenses of the bundled code are in `dist/THIRD_PARTY_NOTICES.txt`.