@openzeppelin/contracts-mcp 0.7.2 → 0.8.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/apps/stellar.html +1 -1
- package/dist/stellar/tools/fungible.d.ts.map +1 -1
- package/dist/stellar/tools/fungible.js +3 -1
- package/dist/stellar/tools/fungible.js.map +1 -1
- package/dist/stellar/tools/non-fungible.d.ts.map +1 -1
- package/dist/stellar/tools/non-fungible.js +4 -1
- package/dist/stellar/tools/non-fungible.js.map +1 -1
- package/dist/stellar/tools/stablecoin.d.ts.map +1 -1
- package/dist/stellar/tools/stablecoin.js +3 -1
- package/dist/stellar/tools/stablecoin.js.map +1 -1
- package/package.json +3 -3
- package/src/stellar/tools/fungible.ts +4 -0
- package/src/stellar/tools/non-fungible.ts +6 -0
- package/src/stellar/tools/stablecoin.ts +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fungible.d.ts","sourceRoot":"","sources":["../../../src/stellar/tools/fungible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAQzF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"fungible.d.ts","sourceRoot":"","sources":["../../../src/stellar/tools/fungible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAQzF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CA4CzE"}
|
|
@@ -11,13 +11,15 @@ function registerStellarFungible(server) {
|
|
|
11
11
|
description: (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.Fungible),
|
|
12
12
|
inputSchema: schemas_1.stellarFungibleSchema,
|
|
13
13
|
title: 'Stellar Fungible',
|
|
14
|
-
}, async ({ name, symbol, decimals, burnable, votes, pausable, premint, mintable, upgradeable, access, info, explicitImplementations, }) => {
|
|
14
|
+
}, async ({ name, symbol, decimals, burnable, votes, totalSupply, cap, pausable, premint, mintable, upgradeable, access, info, explicitImplementations, }) => {
|
|
15
15
|
const opts = {
|
|
16
16
|
name,
|
|
17
17
|
symbol,
|
|
18
18
|
decimals,
|
|
19
19
|
burnable,
|
|
20
20
|
votes,
|
|
21
|
+
totalSupply,
|
|
22
|
+
cap,
|
|
21
23
|
pausable,
|
|
22
24
|
premint,
|
|
23
25
|
mintable,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fungible.js","sourceRoot":"","sources":["../../../src/stellar/tools/fungible.ts"],"names":[],"mappings":";;AAQA,
|
|
1
|
+
{"version":3,"file":"fungible.js","sourceRoot":"","sources":["../../../src/stellar/tools/fungible.ts"],"names":[],"mappings":";;AAQA,0DA4CC;AAlDD,iEAAwD;AACxD,uCAAiD;AACjD,iEAA4E;AAC5E,+DAA6D;AAC7D,kDAAkF;AAElF,SAAgB,uBAAuB,CAAC,MAAiB;IACvD,OAAO,IAAA,gCAAqB,EAC1B,MAAM,EACN,kBAAkB,EAClB;QACE,WAAW,EAAE,IAAA,0BAAkB,EAAC,8BAAc,CAAC,QAAQ,CAAC;QACxD,WAAW,EAAE,+BAAqB;QAClC,KAAK,EAAE,kBAAkB;KAC1B,EACD,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,WAAW,EACX,GAAG,EACH,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,MAAM,EACN,IAAI,EACJ,uBAAuB,GACxB,EAAE,EAAE;QACH,MAAM,IAAI,GAAoB;YAC5B,IAAI;YACJ,MAAM;YACN,QAAQ;YACR,QAAQ;YACR,KAAK;YACL,WAAW;YACX,GAAG;YACH,QAAQ;YACR,OAAO;YACP,QAAQ;YACR,WAAW;YACX,MAAM;YACN,IAAI;YACJ,uBAAuB;SACxB,CAAC;QACF,OAAO,IAAA,+BAAoB,EAAC,IAAI,EAAE,GAAG,EAAE,CAAC,yBAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;IACxE,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-fungible.d.ts","sourceRoot":"","sources":["../../../src/stellar/tools/non-fungible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAQzF,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"non-fungible.d.ts","sourceRoot":"","sources":["../../../src/stellar/tools/non-fungible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAQzF,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CAgD5E"}
|
|
@@ -11,7 +11,7 @@ function registerStellarNonFungible(server) {
|
|
|
11
11
|
description: (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.NonFungible),
|
|
12
12
|
inputSchema: schemas_1.stellarNonFungibleSchema,
|
|
13
13
|
title: 'Stellar Non-Fungible',
|
|
14
|
-
}, async ({ name, symbol, tokenUri, burnable, votes, enumerable, consecutive, pausable, mintable, sequential, upgradeable, info, explicitImplementations, }) => {
|
|
14
|
+
}, async ({ name, symbol, tokenUri, burnable, votes, enumerable, consecutive, royalties, defaultRoyaltyBasisPoints, pausable, mintable, sequential, upgradeable, access, info, explicitImplementations, }) => {
|
|
15
15
|
const opts = {
|
|
16
16
|
name,
|
|
17
17
|
symbol,
|
|
@@ -20,10 +20,13 @@ function registerStellarNonFungible(server) {
|
|
|
20
20
|
votes,
|
|
21
21
|
enumerable,
|
|
22
22
|
consecutive,
|
|
23
|
+
royalties,
|
|
24
|
+
defaultRoyaltyBasisPoints,
|
|
23
25
|
pausable,
|
|
24
26
|
mintable,
|
|
25
27
|
sequential,
|
|
26
28
|
upgradeable,
|
|
29
|
+
access,
|
|
27
30
|
info,
|
|
28
31
|
explicitImplementations,
|
|
29
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-fungible.js","sourceRoot":"","sources":["../../../src/stellar/tools/non-fungible.ts"],"names":[],"mappings":";;AAQA,
|
|
1
|
+
{"version":3,"file":"non-fungible.js","sourceRoot":"","sources":["../../../src/stellar/tools/non-fungible.ts"],"names":[],"mappings":";;AAQA,gEAgDC;AAtDD,iEAA2D;AAC3D,uCAAiD;AACjD,iEAA+E;AAC/E,+DAA6D;AAC7D,kDAAkF;AAElF,SAAgB,0BAA0B,CAAC,MAAiB;IAC1D,OAAO,IAAA,gCAAqB,EAC1B,MAAM,EACN,sBAAsB,EACtB;QACE,WAAW,EAAE,IAAA,0BAAkB,EAAC,8BAAc,CAAC,WAAW,CAAC;QAC3D,WAAW,EAAE,kCAAwB;QACrC,KAAK,EAAE,sBAAsB;KAC9B,EACD,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,yBAAyB,EACzB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,MAAM,EACN,IAAI,EACJ,uBAAuB,GACxB,EAAE,EAAE;QACH,MAAM,IAAI,GAAuB;YAC/B,IAAI;YACJ,MAAM;YACN,QAAQ;YACR,QAAQ;YACR,KAAK;YACL,UAAU;YACV,WAAW;YACX,SAAS;YACT,yBAAyB;YACzB,QAAQ;YACR,QAAQ;YACR,UAAU;YACV,WAAW;YACX,MAAM;YACN,IAAI;YACJ,uBAAuB;SACxB,CAAC;QACF,OAAO,IAAA,+BAAoB,EAAC,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAW,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;IAC3E,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stablecoin.d.ts","sourceRoot":"","sources":["../../../src/stellar/tools/stablecoin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAQzF,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"stablecoin.d.ts","sourceRoot":"","sources":["../../../src/stellar/tools/stablecoin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAQzF,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CA8C3E"}
|
|
@@ -11,13 +11,15 @@ function registerStellarStablecoin(server) {
|
|
|
11
11
|
description: (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.Stablecoin),
|
|
12
12
|
inputSchema: schemas_1.stellarStablecoinSchema,
|
|
13
13
|
title: 'Stellar Stablecoin',
|
|
14
|
-
}, async ({ name, symbol, decimals, burnable, votes, pausable, premint, mintable, upgradeable, access, limitations, explicitImplementations, info, }) => {
|
|
14
|
+
}, async ({ name, symbol, decimals, burnable, votes, totalSupply, cap, pausable, premint, mintable, upgradeable, access, limitations, explicitImplementations, info, }) => {
|
|
15
15
|
const opts = {
|
|
16
16
|
name,
|
|
17
17
|
symbol,
|
|
18
18
|
decimals,
|
|
19
19
|
burnable,
|
|
20
20
|
votes,
|
|
21
|
+
totalSupply,
|
|
22
|
+
cap,
|
|
21
23
|
pausable,
|
|
22
24
|
premint,
|
|
23
25
|
mintable,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stablecoin.js","sourceRoot":"","sources":["../../../src/stellar/tools/stablecoin.ts"],"names":[],"mappings":";;AAQA,
|
|
1
|
+
{"version":3,"file":"stablecoin.js","sourceRoot":"","sources":["../../../src/stellar/tools/stablecoin.ts"],"names":[],"mappings":";;AAQA,8DA8CC;AApDD,iEAA0D;AAC1D,uCAAiD;AACjD,iEAA8E;AAC9E,+DAA6D;AAC7D,kDAAkF;AAElF,SAAgB,yBAAyB,CAAC,MAAiB;IACzD,OAAO,IAAA,gCAAqB,EAC1B,MAAM,EACN,oBAAoB,EACpB;QACE,WAAW,EAAE,IAAA,0BAAkB,EAAC,8BAAc,CAAC,UAAU,CAAC;QAC1D,WAAW,EAAE,iCAAuB;QACpC,KAAK,EAAE,oBAAoB;KAC5B,EACD,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,WAAW,EACX,GAAG,EACH,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,MAAM,EACN,WAAW,EACX,uBAAuB,EACvB,IAAI,GACL,EAAE,EAAE;QACH,MAAM,IAAI,GAAsB;YAC9B,IAAI;YACJ,MAAM;YACN,QAAQ;YACR,QAAQ;YACR,KAAK;YACL,WAAW;YACX,GAAG;YACH,QAAQ;YACR,OAAO;YACP,QAAQ;YACR,WAAW;YACX,MAAM;YACN,WAAW;YACX,uBAAuB;YACvB,IAAI;SACL,CAAC;QACF,OAAO,IAAA,+BAAoB,EAAC,IAAI,EAAE,GAAG,EAAE,CAAC,2BAAU,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;IAC1E,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openzeppelin/contracts-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "OpenZeppelin Contracts MCP Server",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": "https://github.com/OpenZeppelin/contracts-wizard",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
30
|
-
"@openzeppelin/wizard-common": "^0.5.
|
|
30
|
+
"@openzeppelin/wizard-common": "^0.5.11",
|
|
31
31
|
"@openzeppelin/wizard": "^0.10.17",
|
|
32
32
|
"@openzeppelin/wizard-stylus": "^0.3.0",
|
|
33
|
-
"@openzeppelin/wizard-stellar": "^0.
|
|
33
|
+
"@openzeppelin/wizard-stellar": "^0.7.0",
|
|
34
34
|
"@openzeppelin/wizard-cairo": "^4.1.0",
|
|
35
35
|
"@openzeppelin/wizard-confidential": "^0.1.2",
|
|
36
36
|
"@openzeppelin/wizard-uniswap-hooks": "^0.1.1"
|
|
@@ -21,6 +21,8 @@ export function registerStellarFungible(server: McpServer): RegisteredTool {
|
|
|
21
21
|
decimals,
|
|
22
22
|
burnable,
|
|
23
23
|
votes,
|
|
24
|
+
totalSupply,
|
|
25
|
+
cap,
|
|
24
26
|
pausable,
|
|
25
27
|
premint,
|
|
26
28
|
mintable,
|
|
@@ -35,6 +37,8 @@ export function registerStellarFungible(server: McpServer): RegisteredTool {
|
|
|
35
37
|
decimals,
|
|
36
38
|
burnable,
|
|
37
39
|
votes,
|
|
40
|
+
totalSupply,
|
|
41
|
+
cap,
|
|
38
42
|
pausable,
|
|
39
43
|
premint,
|
|
40
44
|
mintable,
|
|
@@ -23,10 +23,13 @@ export function registerStellarNonFungible(server: McpServer): RegisteredTool {
|
|
|
23
23
|
votes,
|
|
24
24
|
enumerable,
|
|
25
25
|
consecutive,
|
|
26
|
+
royalties,
|
|
27
|
+
defaultRoyaltyBasisPoints,
|
|
26
28
|
pausable,
|
|
27
29
|
mintable,
|
|
28
30
|
sequential,
|
|
29
31
|
upgradeable,
|
|
32
|
+
access,
|
|
30
33
|
info,
|
|
31
34
|
explicitImplementations,
|
|
32
35
|
}) => {
|
|
@@ -38,10 +41,13 @@ export function registerStellarNonFungible(server: McpServer): RegisteredTool {
|
|
|
38
41
|
votes,
|
|
39
42
|
enumerable,
|
|
40
43
|
consecutive,
|
|
44
|
+
royalties,
|
|
45
|
+
defaultRoyaltyBasisPoints,
|
|
41
46
|
pausable,
|
|
42
47
|
mintable,
|
|
43
48
|
sequential,
|
|
44
49
|
upgradeable,
|
|
50
|
+
access,
|
|
45
51
|
info,
|
|
46
52
|
explicitImplementations,
|
|
47
53
|
};
|
|
@@ -21,6 +21,8 @@ export function registerStellarStablecoin(server: McpServer): RegisteredTool {
|
|
|
21
21
|
decimals,
|
|
22
22
|
burnable,
|
|
23
23
|
votes,
|
|
24
|
+
totalSupply,
|
|
25
|
+
cap,
|
|
24
26
|
pausable,
|
|
25
27
|
premint,
|
|
26
28
|
mintable,
|
|
@@ -36,6 +38,8 @@ export function registerStellarStablecoin(server: McpServer): RegisteredTool {
|
|
|
36
38
|
decimals,
|
|
37
39
|
burnable,
|
|
38
40
|
votes,
|
|
41
|
+
totalSupply,
|
|
42
|
+
cap,
|
|
39
43
|
pausable,
|
|
40
44
|
premint,
|
|
41
45
|
mintable,
|