agentsolis-mcp 0.0.0-stage → 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.
- package/LICENSE +21 -0
- package/README.md +184 -2
- package/dist/abi.js +140 -0
- package/dist/abi.js.map +1 -0
- package/dist/bip39-english.js +261 -0
- package/dist/bip39-english.js.map +1 -0
- package/dist/chain.js +192 -0
- package/dist/chain.js.map +1 -0
- package/dist/constants.js +15 -0
- package/dist/constants.js.map +1 -0
- package/dist/deal.js +185 -0
- package/dist/deal.js.map +1 -0
- package/dist/fee.js +76 -0
- package/dist/fee.js.map +1 -0
- package/dist/guard.js +65 -0
- package/dist/guard.js.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/money.js +30 -0
- package/dist/money.js.map +1 -0
- package/dist/resources.js +53 -0
- package/dist/resources.js.map +1 -0
- package/dist/sandbox.js +132 -0
- package/dist/sandbox.js.map +1 -0
- package/dist/server.js +186 -0
- package/dist/server.js.map +1 -0
- package/dist/settings.js +32 -0
- package/dist/settings.js.map +1 -0
- package/dist/status.js +85 -0
- package/dist/status.js.map +1 -0
- package/dist/tools.js +183 -0
- package/dist/tools.js.map +1 -0
- package/package.json +50 -4
- package/server.json +45 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Solis Trade Solutions
|
|
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
|
@@ -1,3 +1,185 @@
|
|
|
1
|
-
#
|
|
1
|
+
# agentsolis-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A local [Model Context Protocol](https://modelcontextprotocol.io) server for [AgentSolis](https://agentsolis.solists.com.tr), a USDC escrow flow on Arbitrum One.
|
|
4
|
+
|
|
5
|
+
An agent can try a full escrow deal in a **wallet-free sandbox**, read the public config, quote the protocol fee, build an **unsigned** transaction for a buyer-started deal, and read a deal from the chain. The server does not hold a wallet, does not sign, and does not broadcast. The wallet owner signs on the AgentSolis site or in their own wallet.
|
|
6
|
+
|
|
7
|
+
AgentSolis never asks for a private key or seed phrase.
|
|
8
|
+
|
|
9
|
+
The package is on npm as [`agentsolis-mcp`](https://www.npmjs.com/package/agentsolis-mcp) and uses the MIT license.
|
|
10
|
+
|
|
11
|
+
## Try it with no wallet (2 minutes)
|
|
12
|
+
|
|
13
|
+
You need Node.js 20 or newer. No wallet, no USDC, no API key, no environment variables.
|
|
14
|
+
|
|
15
|
+
**1. Add the server to your client.**
|
|
16
|
+
|
|
17
|
+
Claude Code:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
claude mcp add agentsolis -- npx -y agentsolis-mcp
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Claude Desktop (`claude_desktop_config.json`) or Cursor (`~/.cursor/mcp.json` or `.cursor/mcp.json`):
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"mcpServers": {
|
|
28
|
+
"agentsolis": {
|
|
29
|
+
"command": "npx",
|
|
30
|
+
"args": ["-y", "agentsolis-mcp"]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Restart the client after editing the file.
|
|
37
|
+
|
|
38
|
+
**2. Ask your agent:**
|
|
39
|
+
|
|
40
|
+
> Use the AgentSolis sandbox tools to create a 25 USDC deal for "Write a 500-word blog post", deliver it, release it, and explain who got paid.
|
|
41
|
+
|
|
42
|
+
Or pick the `try_sandbox` prompt if your client shows MCP prompts.
|
|
43
|
+
|
|
44
|
+
**3. What happens.** The agent calls `sandbox_create_deal`, then `sandbox_advance_deal` with `deliver` and `release`. Every reply is labeled `SANDBOX - simulated, no real funds`. Sandbox deals live only in the memory of the running server. Nothing touches a blockchain.
|
|
45
|
+
|
|
46
|
+
When you want a real deal, `prepare_deal` builds the unsigned transactions and your own wallet signs them.
|
|
47
|
+
|
|
48
|
+
## What it is not
|
|
49
|
+
|
|
50
|
+
- It does not store the agreed deal text. The manifest is hashed in this process and returned to you. Keep the text yourself. It is not written on-chain.
|
|
51
|
+
- It does not send the deal to the AgentSolis website.
|
|
52
|
+
- It does not apply a coupon or a Founding waiver. The unsigned `approve` amount uses the base fee.
|
|
53
|
+
- It prepares buyer-started deals only. Seller-started offers are quoted, not built.
|
|
54
|
+
- It does not move funds. Funds are locked, then paid out, refunded or split by the agreed rules, only after a wallet signs and the network accepts the transaction.
|
|
55
|
+
- It is not a hosted service. This package speaks stdio.
|
|
56
|
+
- The sandbox is a simplified simulation. Real deals also have deadlines, fallback splits and Buyer Review arbitration.
|
|
57
|
+
|
|
58
|
+
## Honest limits (23 Nov 2026)
|
|
59
|
+
|
|
60
|
+
- Escrow contract: source verified on Arbiscan and Sourcify (14 Nov 2026); no independent review yet.
|
|
61
|
+
- There is no production x402 integration.
|
|
62
|
+
- No deals have been recorded yet.
|
|
63
|
+
- The contract is not upgradeable. Pause stops new deals only. Fee changes wait 48 hours and stay at or below 3% and a 100 USDC cap. The team holds the owner keys. This server does not.
|
|
64
|
+
|
|
65
|
+
## Install from source
|
|
66
|
+
|
|
67
|
+
Node.js 20 or newer. Only needed if you want to change the code; otherwise use `npx -y agentsolis-mcp` as above.
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
git clone https://github.com/Doublecheese1/agentsolis-mcp.git
|
|
71
|
+
cd agentsolis-mcp
|
|
72
|
+
npm ci
|
|
73
|
+
npm run build
|
|
74
|
+
npm test
|
|
75
|
+
node dist/index.js
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
No environment variables are required. With nothing set, the server uses Arbitrum One (`https://arb1.arbitrum.io/rpc`) and `https://agentsolis.solists.com.tr/mainnet/config`. It answers `initialize` and `tools/list` before it talks to the network.
|
|
79
|
+
|
|
80
|
+
Optional public settings, also listed in `.env.example`:
|
|
81
|
+
|
|
82
|
+
| Variable | Default |
|
|
83
|
+
| --- | --- |
|
|
84
|
+
| `AGENTSOLIS_RPC_URL` | `https://arb1.arbitrum.io/rpc` |
|
|
85
|
+
| `AGENTSOLIS_CHAIN` | `arbitrum-one` (`arbitrum-sepolia` is read-only here) |
|
|
86
|
+
| `AGENTSOLIS_CONFIG_URL` | `https://agentsolis.solists.com.tr/mainnet/config` |
|
|
87
|
+
|
|
88
|
+
The RPC chain id must be 42161 or 421614 and must match `AGENTSOLIS_CHAIN`. Any other chain is refused. `prepare_deal` only builds chain 42161 transactions.
|
|
89
|
+
|
|
90
|
+
## Claude Desktop or Cursor with a local build
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"mcpServers": {
|
|
95
|
+
"agentsolis": {
|
|
96
|
+
"command": "node",
|
|
97
|
+
"args": ["/absolute/path/to/agentsolis-mcp/dist/index.js"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Tools
|
|
104
|
+
|
|
105
|
+
### Sandbox tools (no wallet, simulated)
|
|
106
|
+
|
|
107
|
+
All three work offline, keep state only in memory, and label every reply `SANDBOX - simulated, no real funds`.
|
|
108
|
+
|
|
109
|
+
- `sandbox_create_deal` — inputs: `amount_usdc`, `job_description`, optional `mode` (`automatic` default, or `buyer_review`). Returns a `sandbox-…` deal id in state `funded`, with the job amount, fee and simulated locked deposit, using the same fee math as `quote_fee`.
|
|
110
|
+
- `sandbox_advance_deal` — inputs: `deal_id`, `action`. `deliver` (funded → delivered), `release` (delivered → released: seller paid, fee charged), `refund` (funded → refunded: buyer gets everything back, no fee). Each reply lists the allowed next actions.
|
|
111
|
+
- `sandbox_get_deal` — input: `deal_id`. Returns state, amounts, payout and history.
|
|
112
|
+
|
|
113
|
+
Prompt: `try_sandbox` walks through a release and a refund using only the sandbox tools.
|
|
114
|
+
|
|
115
|
+
### `get_config`
|
|
116
|
+
|
|
117
|
+
Reads the public config URL and cross-checks `paused`, `publicAccess`, fee bps and the fee cap with `eth_call`. Returns both payloads and a `drift` list when they differ. Does not sign or send.
|
|
118
|
+
|
|
119
|
+
### `quote_fee`
|
|
120
|
+
|
|
121
|
+
Input: `amount_usdc` (decimal string), `mode` (`automatic` or `buyer_review`), `starter` (`buyer` or `seller`), optional `buyer_address`.
|
|
122
|
+
|
|
123
|
+
The fee is 1.5% of the job amount, capped at 50 USDC, using integer division (`amount * 150 / 10000`). The side that starts the deal pays it, and only when the seller is paid. A buyer-started deposit is job + fee (+ Buyer Review reserve). A seller-started payout is job − fee. Buyer Review adds a 5% reserve and an equal seller bond, minimum 5 USDC, maximum 100 USDC. That bond is included in `buyer_deposit` for a buyer-started review deal and is also returned as `review_bond_each_side`.
|
|
124
|
+
|
|
125
|
+
Published examples, with the fee, the buyer-started deposit **before** any review bond, and the seller-started payout:
|
|
126
|
+
|
|
127
|
+
| Job | Fee | Buyer deposit (no bond) | Seller receives if seller starts | Review bond |
|
|
128
|
+
| --- | --- | --- | --- | --- |
|
|
129
|
+
| 10 | 0.15 | 10.15 | 9.85 | — |
|
|
130
|
+
| 100 | 1.50 | 101.50 | 98.50 | 5 |
|
|
131
|
+
| 1,000 | 15.00 | 1,015.00 | 985.00 | 50 |
|
|
132
|
+
| 5,000 | 50.00 (cap) | 5,050.00 | 4,950.00 | 100 |
|
|
133
|
+
|
|
134
|
+
The tool returns ungrouped decimals (`1015.00`, not `1,015.00`). A 100 USDC buyer-started Buyer Review deposit is 106.50: 100 + 1.50 fee + 5 reserve. Automatic minimum is 10 USDC. Buyer Review minimum is 100 USDC.
|
|
135
|
+
|
|
136
|
+
Every quote includes: `plus Arbitrum gas in ETH; no fee on refund/cancel/expiry/buyer win/fallback split`.
|
|
137
|
+
|
|
138
|
+
If `buyer_address` is set, the tool also calls `protocolFeeFor(buyer, amount)` and `arbitrationReserveFor(amount)`. On the current contract those views follow the posted fee and the reserve formula. They do not apply a per-wallet waiver. A difference is flagged and, for `prepare_deal`, blocks the unsigned transaction.
|
|
139
|
+
|
|
140
|
+
### `prepare_deal`
|
|
141
|
+
|
|
142
|
+
Buyer-started deals only. Inputs are checksummed `buyer` and `seller` (different addresses), `amount_usdc`, `mode`, `fallback_seller_bps`, four windows in seconds, the `manifest` text, and an optional `salt` (`0x` plus 32 bytes; otherwise random).
|
|
143
|
+
|
|
144
|
+
Windows follow the contract: 10 minutes through 30 days. Automatic deals need a decision window of at least 1 day and a seller fallback of at least 50%. Buyer Review needs a decision window of at least 2 days and an arbitration window of at least 7 days.
|
|
145
|
+
|
|
146
|
+
Output includes `deal_id`, `manifest_hash` (keccak256 of the manifest text), `policy_hash` from the live config, unit amounts, and two unsigned transactions `{chainId, to, data, value: "0"}`:
|
|
147
|
+
|
|
148
|
+
1. USDC `approve(escrow, buyer_total)`
|
|
149
|
+
2. `proposeDeal(tuple)`
|
|
150
|
+
|
|
151
|
+
The deal id is `keccak256(abi.encode(escrow, chainId, buyer, seller, salt))`.
|
|
152
|
+
|
|
153
|
+
The tool refuses when the live config is paused, not accepting funds, or closed to public access, and when the config addresses do not match the published Arbitrum One escrow `0xFc68976229c3dc839346731275Eebe05bE9911c0` and native USDC `0xaf88d065e77c8cC2239327C5EDb3A432268e5831`.
|
|
154
|
+
|
|
155
|
+
A 64-character hex string, or a 12-word or 24-word phrase, is rejected. Do not paste a key or a seed. Nothing is sent.
|
|
156
|
+
|
|
157
|
+
Warning returned with every prepared deal: `Nothing was sent. Your wallet signs. Check chain 42161 and the escrow address. Keep the manifest text; it is not stored on-chain.`
|
|
158
|
+
|
|
159
|
+
### `get_deal_status`
|
|
160
|
+
|
|
161
|
+
Input: `deal_id` (`0x` plus 32 bytes). Optional `escrow`: `v2` (default) or `v1-legacy` (Arbitrum One read-only, `0x32C650445354f458e8F8B420C27Bb8113AdE5e22`). Optional `chain`, which must match the running process.
|
|
162
|
+
|
|
163
|
+
Reads `deals(bytes32)` with `eth_call`. Returns the mode, state, parties, amounts, deadlines (Unix and ISO UTC), the observed block, chain time, and a read-only hint such as `after delivery_deadline anyone may call expireUndelivered`. An unknown id returns `not_found`. It does not sign or send.
|
|
164
|
+
|
|
165
|
+
## Resources
|
|
166
|
+
|
|
167
|
+
- `agentsolis://addresses` — escrow and USDC addresses, with mainnet and the paused Sepolia deployment labeled separately.
|
|
168
|
+
- `agentsolis://rules` — modes, fee, bond, limits, and the honest "not done" list.
|
|
169
|
+
|
|
170
|
+
## Prompts
|
|
171
|
+
|
|
172
|
+
- `try_sandbox` — a guided, wallet-free walkthrough of the sandbox tools.
|
|
173
|
+
|
|
174
|
+
## Links
|
|
175
|
+
|
|
176
|
+
- Wallet-free demo: https://agentsolis.solists.com.tr/play
|
|
177
|
+
- Live config: https://agentsolis.solists.com.tr/mainnet/config
|
|
178
|
+
|
|
179
|
+
## Tests
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
npm ci && npm run build && npm test
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
`LIVE_READONLY=1 npm test` also performs a read-only `eth_call` against Arbitrum One: config cross-check, and `get_deal_status` on a random id (expected `not_found`). It does not send a transaction.
|
package/dist/abi.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public function ABI fragments needed to encode and decode read-only calls.
|
|
3
|
+
* No bytecode and no Solidity source.
|
|
4
|
+
*/
|
|
5
|
+
export const approveAbi = [
|
|
6
|
+
{
|
|
7
|
+
type: "function",
|
|
8
|
+
name: "approve",
|
|
9
|
+
stateMutability: "nonpayable",
|
|
10
|
+
inputs: [
|
|
11
|
+
{ name: "spender", type: "address" },
|
|
12
|
+
{ name: "amount", type: "uint256" },
|
|
13
|
+
],
|
|
14
|
+
outputs: [{ name: "", type: "bool" }],
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
export const proposeDealAbi = [
|
|
18
|
+
{
|
|
19
|
+
type: "function",
|
|
20
|
+
name: "proposeDeal",
|
|
21
|
+
stateMutability: "nonpayable",
|
|
22
|
+
inputs: [
|
|
23
|
+
{
|
|
24
|
+
name: "request",
|
|
25
|
+
type: "tuple",
|
|
26
|
+
components: [
|
|
27
|
+
{ name: "salt", type: "bytes32" },
|
|
28
|
+
{ name: "seller", type: "address" },
|
|
29
|
+
{ name: "mode", type: "uint8" },
|
|
30
|
+
{ name: "amount", type: "uint256" },
|
|
31
|
+
{ name: "arbitrationReserve", type: "uint256" },
|
|
32
|
+
{ name: "fallbackSellerBps", type: "uint16" },
|
|
33
|
+
{ name: "manifestHash", type: "bytes32" },
|
|
34
|
+
{ name: "policyHash", type: "bytes32" },
|
|
35
|
+
{ name: "acceptanceWindow", type: "uint256" },
|
|
36
|
+
{ name: "deliveryWindow", type: "uint256" },
|
|
37
|
+
{ name: "decisionWindow", type: "uint256" },
|
|
38
|
+
{ name: "arbitrationWindow", type: "uint256" },
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
outputs: [{ name: "id", type: "bytes32" }],
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
const dealFields = [
|
|
46
|
+
{ name: "buyer", type: "address" },
|
|
47
|
+
{ name: "seller", type: "address" },
|
|
48
|
+
{ name: "resolver", type: "address" },
|
|
49
|
+
{ name: "mode", type: "uint8" },
|
|
50
|
+
{ name: "state", type: "uint8" },
|
|
51
|
+
{ name: "amount", type: "uint256" },
|
|
52
|
+
{ name: "arbitrationReserve", type: "uint256" },
|
|
53
|
+
{ name: "sellerBond", type: "uint256" },
|
|
54
|
+
{ name: "protocolFee", type: "uint256" },
|
|
55
|
+
{ name: "fallbackSellerBps", type: "uint16" },
|
|
56
|
+
{ name: "manifestHash", type: "bytes32" },
|
|
57
|
+
{ name: "policyHash", type: "bytes32" },
|
|
58
|
+
{ name: "contentHash", type: "bytes32" },
|
|
59
|
+
{ name: "acceptanceDeadline", type: "uint256" },
|
|
60
|
+
{ name: "deliveryWindow", type: "uint256" },
|
|
61
|
+
{ name: "decisionWindow", type: "uint256" },
|
|
62
|
+
{ name: "arbitrationWindow", type: "uint256" },
|
|
63
|
+
{ name: "deliveryDeadline", type: "uint256" },
|
|
64
|
+
{ name: "decisionDeadline", type: "uint256" },
|
|
65
|
+
{ name: "arbitrationDeadline", type: "uint256" },
|
|
66
|
+
{ name: "validationNonce", type: "uint256" },
|
|
67
|
+
];
|
|
68
|
+
export const dealsAbiV1 = [
|
|
69
|
+
{
|
|
70
|
+
type: "function",
|
|
71
|
+
name: "deals",
|
|
72
|
+
stateMutability: "view",
|
|
73
|
+
inputs: [{ name: "", type: "bytes32" }],
|
|
74
|
+
outputs: [...dealFields],
|
|
75
|
+
},
|
|
76
|
+
];
|
|
77
|
+
export const dealsAbiV2 = [
|
|
78
|
+
{
|
|
79
|
+
type: "function",
|
|
80
|
+
name: "deals",
|
|
81
|
+
stateMutability: "view",
|
|
82
|
+
inputs: [{ name: "", type: "bytes32" }],
|
|
83
|
+
outputs: [...dealFields, { name: "feeRecipient", type: "address" }],
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
export const viewAbi = [
|
|
87
|
+
{
|
|
88
|
+
type: "function",
|
|
89
|
+
name: "paused",
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
inputs: [],
|
|
92
|
+
outputs: [{ name: "", type: "bool" }],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
type: "function",
|
|
96
|
+
name: "publicAccess",
|
|
97
|
+
stateMutability: "view",
|
|
98
|
+
inputs: [],
|
|
99
|
+
outputs: [{ name: "", type: "bool" }],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: "function",
|
|
103
|
+
name: "feeBps",
|
|
104
|
+
stateMutability: "view",
|
|
105
|
+
inputs: [],
|
|
106
|
+
outputs: [{ name: "", type: "uint16" }],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
type: "function",
|
|
110
|
+
name: "feeCap",
|
|
111
|
+
stateMutability: "view",
|
|
112
|
+
inputs: [],
|
|
113
|
+
outputs: [{ name: "", type: "uint256" }],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: "function",
|
|
117
|
+
name: "protocolFeeFor",
|
|
118
|
+
stateMutability: "view",
|
|
119
|
+
inputs: [
|
|
120
|
+
{ name: "", type: "address" },
|
|
121
|
+
{ name: "amount", type: "uint256" },
|
|
122
|
+
],
|
|
123
|
+
outputs: [{ name: "", type: "uint256" }],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: "function",
|
|
127
|
+
name: "arbitrationReserveFor",
|
|
128
|
+
stateMutability: "pure",
|
|
129
|
+
inputs: [{ name: "amount", type: "uint256" }],
|
|
130
|
+
outputs: [{ name: "", type: "uint256" }],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
type: "function",
|
|
134
|
+
name: "sellerPaysFee",
|
|
135
|
+
stateMutability: "view",
|
|
136
|
+
inputs: [{ name: "", type: "bytes32" }],
|
|
137
|
+
outputs: [{ name: "", type: "bool" }],
|
|
138
|
+
},
|
|
139
|
+
];
|
|
140
|
+
//# sourceMappingURL=abi.js.map
|
package/dist/abi.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abi.js","sourceRoot":"","sources":["../src/abi.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;YACpC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;SACpC;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACtC;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,aAAa;QACnB,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;oBACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;oBACnC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;oBAC/B,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;oBACnC,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC/C,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC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