@openzeppelin/contracts-mcp 0.5.8 → 0.5.9
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/dist/confidential/tools/erc7984.d.ts.map +1 -1
- package/dist/confidential/tools/erc7984.js +2 -1
- package/dist/confidential/tools/erc7984.js.map +1 -1
- package/dist/solidity/tools/erc20.d.ts.map +1 -1
- package/dist/solidity/tools/erc20.js +2 -1
- package/dist/solidity/tools/erc20.js.map +1 -1
- package/dist/solidity/tools/rwa.d.ts.map +1 -1
- package/dist/solidity/tools/rwa.js +2 -1
- package/dist/solidity/tools/rwa.js.map +1 -1
- package/dist/solidity/tools/stablecoin.d.ts.map +1 -1
- package/dist/solidity/tools/stablecoin.js +2 -1
- package/dist/solidity/tools/stablecoin.js.map +1 -1
- package/dist/stellar/tools/fungible.d.ts.map +1 -1
- package/dist/stellar/tools/fungible.js +2 -1
- package/dist/stellar/tools/fungible.js.map +1 -1
- package/dist/stellar/tools/stablecoin.d.ts.map +1 -1
- package/dist/stellar/tools/stablecoin.js +2 -1
- package/dist/stellar/tools/stablecoin.js.map +1 -1
- package/package.json +5 -5
- package/src/confidential/tools/erc7984.ts +2 -1
- package/src/solidity/tools/erc20.ts +2 -0
- package/src/solidity/tools/rwa.ts +2 -0
- package/src/solidity/tools/stablecoin.ts +2 -0
- package/src/stellar/tools/fungible.ts +2 -0
- package/src/stellar/tools/stablecoin.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erc7984.d.ts","sourceRoot":"","sources":["../../../src/confidential/tools/erc7984.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAOzF,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"erc7984.d.ts","sourceRoot":"","sources":["../../../src/confidential/tools/erc7984.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAOzF,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CA2B7E"}
|
|
@@ -6,11 +6,12 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
const schemas_1 = require("@openzeppelin/wizard-common/schemas");
|
|
7
7
|
const wizard_common_1 = require("@openzeppelin/wizard-common");
|
|
8
8
|
function registerConfidentialERC7984(server) {
|
|
9
|
-
return server.tool('erc7984', (0, utils_1.makeDetailedPrompt)(wizard_common_1.confidentialPrompts.ERC7984), schemas_1.confidentialERC7984Schema, async ({ name, symbol, contractURI, premint, networkConfig, wrappable, votes, info }) => {
|
|
9
|
+
return server.tool('erc7984', (0, utils_1.makeDetailedPrompt)(wizard_common_1.confidentialPrompts.ERC7984), schemas_1.confidentialERC7984Schema, async ({ name, symbol, contractURI, decimals, premint, networkConfig, wrappable, votes, info }) => {
|
|
10
10
|
const opts = {
|
|
11
11
|
name,
|
|
12
12
|
symbol,
|
|
13
13
|
contractURI,
|
|
14
|
+
decimals,
|
|
14
15
|
premint,
|
|
15
16
|
networkConfig,
|
|
16
17
|
wrappable,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erc7984.js","sourceRoot":"","sources":["../../../src/confidential/tools/erc7984.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"erc7984.js","sourceRoot":"","sources":["../../../src/confidential/tools/erc7984.ts"],"names":[],"mappings":";;AAOA,kEA2BC;AAhCD,2EAA4D;AAC5D,uCAA6E;AAC7E,iEAAgF;AAChF,+DAAkE;AAElE,SAAgB,2BAA2B,CAAC,MAAiB;IAC3D,OAAO,MAAM,CAAC,IAAI,CAChB,SAAS,EACT,IAAA,0BAAkB,EAAC,mCAAmB,CAAC,OAAO,CAAC,EAC/C,mCAAyB,EACzB,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QAChG,MAAM,IAAI,GAAmB;YAC3B,IAAI;YACJ,MAAM;YACN,WAAW;YACX,QAAQ;YACR,OAAO;YACP,aAAa;YACb,SAAS;YACT,KAAK;YACL,IAAI;SACL,CAAC;QACF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAA,kCAA0B,EAAC,GAAG,EAAE,CAAC,6BAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iBAC5D;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erc20.d.ts","sourceRoot":"","sources":["../../../src/solidity/tools/erc20.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAOzF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"erc20.d.ts","sourceRoot":"","sources":["../../../src/solidity/tools/erc20.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAOzF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CAqDvE"}
|
|
@@ -6,10 +6,11 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
const schemas_1 = require("@openzeppelin/wizard-common/schemas");
|
|
7
7
|
const wizard_common_1 = require("@openzeppelin/wizard-common");
|
|
8
8
|
function registerSolidityERC20(server) {
|
|
9
|
-
return server.tool('solidity-erc20', (0, utils_1.makeDetailedPrompt)(wizard_common_1.solidityPrompts.ERC20), schemas_1.solidityERC20Schema, async ({ name, symbol, burnable, pausable, premint, premintChainId, mintable, callback, permit, votes, flashmint, crossChainBridging, crossChainLinkAllowOverride, access, upgradeable, info, }) => {
|
|
9
|
+
return server.tool('solidity-erc20', (0, utils_1.makeDetailedPrompt)(wizard_common_1.solidityPrompts.ERC20), schemas_1.solidityERC20Schema, async ({ name, symbol, decimals, burnable, pausable, premint, premintChainId, mintable, callback, permit, votes, flashmint, crossChainBridging, crossChainLinkAllowOverride, access, upgradeable, info, }) => {
|
|
10
10
|
const opts = {
|
|
11
11
|
name,
|
|
12
12
|
symbol,
|
|
13
|
+
decimals,
|
|
13
14
|
burnable,
|
|
14
15
|
pausable,
|
|
15
16
|
premint,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erc20.js","sourceRoot":"","sources":["../../../src/solidity/tools/erc20.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"erc20.js","sourceRoot":"","sources":["../../../src/solidity/tools/erc20.ts"],"names":[],"mappings":";;AAOA,sDAqDC;AA1DD,iDAA6C;AAC7C,uCAA6E;AAC7E,iEAA0E;AAC1E,+DAA8D;AAE9D,SAAgB,qBAAqB,CAAC,MAAiB;IACrD,OAAO,MAAM,CAAC,IAAI,CAChB,gBAAgB,EAChB,IAAA,0BAAkB,EAAC,+BAAe,CAAC,KAAK,CAAC,EACzC,6BAAmB,EACnB,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,2BAA2B,EAC3B,MAAM,EACN,WAAW,EACX,IAAI,GACL,EAAE,EAAE;QACH,MAAM,IAAI,GAAiB;YACzB,IAAI;YACJ,MAAM;YACN,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,OAAO;YACP,cAAc;YACd,QAAQ;YACR,QAAQ;YACR,MAAM;YACN,KAAK;YACL,SAAS;YACT,kBAAkB;YAClB,2BAA2B;YAC3B,MAAM;YACN,WAAW;YACX,IAAI;SACL,CAAC;QACF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAA,kCAA0B,EAAC,GAAG,EAAE,CAAC,cAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iBAC1D;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rwa.d.ts","sourceRoot":"","sources":["../../../src/solidity/tools/rwa.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAOzE,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"rwa.d.ts","sourceRoot":"","sources":["../../../src/solidity/tools/rwa.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAOzE,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,oEAuDpD"}
|
|
@@ -6,10 +6,11 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
const schemas_1 = require("@openzeppelin/wizard-common/schemas");
|
|
7
7
|
const wizard_common_1 = require("@openzeppelin/wizard-common");
|
|
8
8
|
function registerSolidityRWA(server) {
|
|
9
|
-
return server.tool('solidity-rwa', (0, utils_1.makeDetailedPrompt)(wizard_common_1.solidityPrompts.RWA), schemas_1.solidityRWASchema, async ({ name, symbol, burnable, pausable, premint, premintChainId, mintable, callback, permit, votes, flashmint, crossChainBridging, crossChainLinkAllowOverride, access, info, restrictions, freezable, }) => {
|
|
9
|
+
return server.tool('solidity-rwa', (0, utils_1.makeDetailedPrompt)(wizard_common_1.solidityPrompts.RWA), schemas_1.solidityRWASchema, async ({ name, symbol, decimals, burnable, pausable, premint, premintChainId, mintable, callback, permit, votes, flashmint, crossChainBridging, crossChainLinkAllowOverride, access, info, restrictions, freezable, }) => {
|
|
10
10
|
const opts = {
|
|
11
11
|
name,
|
|
12
12
|
symbol,
|
|
13
|
+
decimals,
|
|
13
14
|
burnable,
|
|
14
15
|
pausable,
|
|
15
16
|
premint,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rwa.js","sourceRoot":"","sources":["../../../src/solidity/tools/rwa.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"rwa.js","sourceRoot":"","sources":["../../../src/solidity/tools/rwa.ts"],"names":[],"mappings":";;AAOA,kDAuDC;AA5DD,iDAAsD;AACtD,uCAA6E;AAC7E,iEAAwE;AACxE,+DAA8D;AAE9D,SAAgB,mBAAmB,CAAC,MAAiB;IACnD,OAAO,MAAM,CAAC,IAAI,CAChB,cAAc,EACd,IAAA,0BAAkB,EAAC,+BAAe,CAAC,GAAG,CAAC,EACvC,2BAAiB,EACjB,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,2BAA2B,EAC3B,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,SAAS,GACV,EAAE,EAAE;QACH,MAAM,IAAI,GAAsB;YAC9B,IAAI;YACJ,MAAM;YACN,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,OAAO;YACP,cAAc;YACd,QAAQ;YACR,QAAQ;YACR,MAAM;YACN,KAAK;YACL,SAAS;YACT,kBAAkB;YAClB,2BAA2B;YAC3B,MAAM;YACN,IAAI;YACJ,YAAY;YACZ,SAAS;SACV,CAAC;QACF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAA,kCAA0B,EAAC,GAAG,EAAE,CAAC,uBAAc,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iBACnE;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stablecoin.d.ts","sourceRoot":"","sources":["../../../src/solidity/tools/stablecoin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAOzF,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"stablecoin.d.ts","sourceRoot":"","sources":["../../../src/solidity/tools/stablecoin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAOzF,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CAuD5E"}
|
|
@@ -6,10 +6,11 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
const schemas_1 = require("@openzeppelin/wizard-common/schemas");
|
|
7
7
|
const wizard_common_1 = require("@openzeppelin/wizard-common");
|
|
8
8
|
function registerSolidityStablecoin(server) {
|
|
9
|
-
return server.tool('solidity-stablecoin', (0, utils_1.makeDetailedPrompt)(wizard_common_1.solidityPrompts.Stablecoin), schemas_1.solidityStablecoinSchema, async ({ name, symbol, burnable, pausable, premint, premintChainId, mintable, callback, permit, votes, flashmint, crossChainBridging, crossChainLinkAllowOverride, access, info, restrictions, freezable, }) => {
|
|
9
|
+
return server.tool('solidity-stablecoin', (0, utils_1.makeDetailedPrompt)(wizard_common_1.solidityPrompts.Stablecoin), schemas_1.solidityStablecoinSchema, async ({ name, symbol, decimals, burnable, pausable, premint, premintChainId, mintable, callback, permit, votes, flashmint, crossChainBridging, crossChainLinkAllowOverride, access, info, restrictions, freezable, }) => {
|
|
10
10
|
const opts = {
|
|
11
11
|
name,
|
|
12
12
|
symbol,
|
|
13
|
+
decimals,
|
|
13
14
|
burnable,
|
|
14
15
|
pausable,
|
|
15
16
|
premint,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stablecoin.js","sourceRoot":"","sources":["../../../src/solidity/tools/stablecoin.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"stablecoin.js","sourceRoot":"","sources":["../../../src/solidity/tools/stablecoin.ts"],"names":[],"mappings":";;AAOA,gEAuDC;AA5DD,iDAAkD;AAClD,uCAA6E;AAC7E,iEAA+E;AAC/E,+DAA8D;AAE9D,SAAgB,0BAA0B,CAAC,MAAiB;IAC1D,OAAO,MAAM,CAAC,IAAI,CAChB,qBAAqB,EACrB,IAAA,0BAAkB,EAAC,+BAAe,CAAC,UAAU,CAAC,EAC9C,kCAAwB,EACxB,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,2BAA2B,EAC3B,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,SAAS,GACV,EAAE,EAAE;QACH,MAAM,IAAI,GAAsB;YAC9B,IAAI;YACJ,MAAM;YACN,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,OAAO;YACP,cAAc;YACd,QAAQ;YACR,QAAQ;YACR,MAAM;YACN,KAAK;YACL,SAAS;YACT,kBAAkB;YAClB,2BAA2B;YAC3B,MAAM;YACN,IAAI;YACJ,YAAY;YACZ,SAAS;SACV,CAAC;QACF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAA,kCAA0B,EAAC,GAAG,EAAE,CAAC,mBAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iBAC/D;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -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;AAOzF,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;AAOzF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CA2CzE"}
|
|
@@ -6,10 +6,11 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
const schemas_1 = require("@openzeppelin/wizard-common/schemas");
|
|
7
7
|
const wizard_common_1 = require("@openzeppelin/wizard-common");
|
|
8
8
|
function registerStellarFungible(server) {
|
|
9
|
-
return server.tool('stellar-fungible', (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.Fungible), schemas_1.stellarFungibleSchema, async ({ name, symbol, burnable, votes, pausable, premint, mintable, upgradeable, access, info, explicitImplementations, }) => {
|
|
9
|
+
return server.tool('stellar-fungible', (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.Fungible), schemas_1.stellarFungibleSchema, async ({ name, symbol, decimals, burnable, votes, pausable, premint, mintable, upgradeable, access, info, explicitImplementations, }) => {
|
|
10
10
|
const opts = {
|
|
11
11
|
name,
|
|
12
12
|
symbol,
|
|
13
|
+
decimals,
|
|
13
14
|
burnable,
|
|
14
15
|
votes,
|
|
15
16
|
pausable,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fungible.js","sourceRoot":"","sources":["../../../src/stellar/tools/fungible.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"fungible.js","sourceRoot":"","sources":["../../../src/stellar/tools/fungible.ts"],"names":[],"mappings":";;AAOA,0DA2CC;AAhDD,iEAAwD;AACxD,uCAAyE;AACzE,iEAA4E;AAC5E,+DAA6D;AAE7D,SAAgB,uBAAuB,CAAC,MAAiB;IACvD,OAAO,MAAM,CAAC,IAAI,CAChB,kBAAkB,EAClB,IAAA,0BAAkB,EAAC,8BAAc,CAAC,QAAQ,CAAC,EAC3C,+BAAqB,EACrB,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,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,QAAQ;YACR,OAAO;YACP,QAAQ;YACR,WAAW;YACX,MAAM;YACN,IAAI;YACJ,uBAAuB;SACxB,CAAC;QACF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAA,8BAAsB,EAAC,GAAG,EAAE,CAAC,yBAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iBACzD;aACF;SACF,CAAC;IACJ,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;AAOzF,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;AAOzF,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CA6C3E"}
|
|
@@ -6,10 +6,11 @@ const utils_1 = require("../../utils");
|
|
|
6
6
|
const schemas_1 = require("@openzeppelin/wizard-common/schemas");
|
|
7
7
|
const wizard_common_1 = require("@openzeppelin/wizard-common");
|
|
8
8
|
function registerStellarStablecoin(server) {
|
|
9
|
-
return server.tool('stellar-stablecoin', (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.Stablecoin), schemas_1.stellarStablecoinSchema, async ({ name, symbol, burnable, votes, pausable, premint, mintable, upgradeable, access, limitations, explicitImplementations, info, }) => {
|
|
9
|
+
return server.tool('stellar-stablecoin', (0, utils_1.makeDetailedPrompt)(wizard_common_1.stellarPrompts.Stablecoin), schemas_1.stellarStablecoinSchema, async ({ name, symbol, decimals, burnable, votes, pausable, premint, mintable, upgradeable, access, limitations, explicitImplementations, info, }) => {
|
|
10
10
|
const opts = {
|
|
11
11
|
name,
|
|
12
12
|
symbol,
|
|
13
|
+
decimals,
|
|
13
14
|
burnable,
|
|
14
15
|
votes,
|
|
15
16
|
pausable,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stablecoin.js","sourceRoot":"","sources":["../../../src/stellar/tools/stablecoin.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"stablecoin.js","sourceRoot":"","sources":["../../../src/stellar/tools/stablecoin.ts"],"names":[],"mappings":";;AAOA,8DA6CC;AAlDD,iEAA0D;AAC1D,uCAAyE;AACzE,iEAA8E;AAC9E,+DAA6D;AAE7D,SAAgB,yBAAyB,CAAC,MAAiB;IACzD,OAAO,MAAM,CAAC,IAAI,CAChB,oBAAoB,EACpB,IAAA,0BAAkB,EAAC,8BAAc,CAAC,UAAU,CAAC,EAC7C,iCAAuB,EACvB,KAAK,EAAE,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,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,QAAQ;YACR,OAAO;YACP,QAAQ;YACR,WAAW;YACX,MAAM;YACN,WAAW;YACX,uBAAuB;YACvB,IAAI;SACL,CAAC;QACF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAA,8BAAsB,EAAC,GAAG,EAAE,CAAC,2BAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iBAC3D;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openzeppelin/contracts-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "OpenZeppelin Contracts MCP Server",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": "https://github.com/OpenZeppelin/contracts-wizard",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
27
|
-
"@openzeppelin/wizard-common": "^0.5.
|
|
28
|
-
"@openzeppelin/wizard": "^0.10.
|
|
27
|
+
"@openzeppelin/wizard-common": "^0.5.2",
|
|
28
|
+
"@openzeppelin/wizard": "^0.10.10",
|
|
29
29
|
"@openzeppelin/wizard-stylus": "^0.3.0",
|
|
30
|
-
"@openzeppelin/wizard-stellar": "^0.6.
|
|
30
|
+
"@openzeppelin/wizard-stellar": "^0.6.1",
|
|
31
31
|
"@openzeppelin/wizard-cairo": "^3.0.0",
|
|
32
|
-
"@openzeppelin/wizard-confidential": "^0.1.
|
|
32
|
+
"@openzeppelin/wizard-confidential": "^0.1.2",
|
|
33
33
|
"@openzeppelin/wizard-uniswap-hooks": "^0.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -10,11 +10,12 @@ export function registerConfidentialERC7984(server: McpServer): RegisteredTool {
|
|
|
10
10
|
'erc7984',
|
|
11
11
|
makeDetailedPrompt(confidentialPrompts.ERC7984),
|
|
12
12
|
confidentialERC7984Schema,
|
|
13
|
-
async ({ name, symbol, contractURI, premint, networkConfig, wrappable, votes, info }) => {
|
|
13
|
+
async ({ name, symbol, contractURI, decimals, premint, networkConfig, wrappable, votes, info }) => {
|
|
14
14
|
const opts: ERC7984Options = {
|
|
15
15
|
name,
|
|
16
16
|
symbol,
|
|
17
17
|
contractURI,
|
|
18
|
+
decimals,
|
|
18
19
|
premint,
|
|
19
20
|
networkConfig,
|
|
20
21
|
wrappable,
|
|
@@ -13,6 +13,7 @@ export function registerSolidityERC20(server: McpServer): RegisteredTool {
|
|
|
13
13
|
async ({
|
|
14
14
|
name,
|
|
15
15
|
symbol,
|
|
16
|
+
decimals,
|
|
16
17
|
burnable,
|
|
17
18
|
pausable,
|
|
18
19
|
premint,
|
|
@@ -31,6 +32,7 @@ export function registerSolidityERC20(server: McpServer): RegisteredTool {
|
|
|
31
32
|
const opts: ERC20Options = {
|
|
32
33
|
name,
|
|
33
34
|
symbol,
|
|
35
|
+
decimals,
|
|
34
36
|
burnable,
|
|
35
37
|
pausable,
|
|
36
38
|
premint,
|
|
@@ -13,6 +13,7 @@ export function registerSolidityRWA(server: McpServer) {
|
|
|
13
13
|
async ({
|
|
14
14
|
name,
|
|
15
15
|
symbol,
|
|
16
|
+
decimals,
|
|
16
17
|
burnable,
|
|
17
18
|
pausable,
|
|
18
19
|
premint,
|
|
@@ -32,6 +33,7 @@ export function registerSolidityRWA(server: McpServer) {
|
|
|
32
33
|
const opts: StablecoinOptions = {
|
|
33
34
|
name,
|
|
34
35
|
symbol,
|
|
36
|
+
decimals,
|
|
35
37
|
burnable,
|
|
36
38
|
pausable,
|
|
37
39
|
premint,
|
|
@@ -13,6 +13,7 @@ export function registerSolidityStablecoin(server: McpServer): RegisteredTool {
|
|
|
13
13
|
async ({
|
|
14
14
|
name,
|
|
15
15
|
symbol,
|
|
16
|
+
decimals,
|
|
16
17
|
burnable,
|
|
17
18
|
pausable,
|
|
18
19
|
premint,
|
|
@@ -32,6 +33,7 @@ export function registerSolidityStablecoin(server: McpServer): RegisteredTool {
|
|
|
32
33
|
const opts: StablecoinOptions = {
|
|
33
34
|
name,
|
|
34
35
|
symbol,
|
|
36
|
+
decimals,
|
|
35
37
|
burnable,
|
|
36
38
|
pausable,
|
|
37
39
|
premint,
|
|
@@ -13,6 +13,7 @@ export function registerStellarFungible(server: McpServer): RegisteredTool {
|
|
|
13
13
|
async ({
|
|
14
14
|
name,
|
|
15
15
|
symbol,
|
|
16
|
+
decimals,
|
|
16
17
|
burnable,
|
|
17
18
|
votes,
|
|
18
19
|
pausable,
|
|
@@ -26,6 +27,7 @@ export function registerStellarFungible(server: McpServer): RegisteredTool {
|
|
|
26
27
|
const opts: FungibleOptions = {
|
|
27
28
|
name,
|
|
28
29
|
symbol,
|
|
30
|
+
decimals,
|
|
29
31
|
burnable,
|
|
30
32
|
votes,
|
|
31
33
|
pausable,
|
|
@@ -13,6 +13,7 @@ export function registerStellarStablecoin(server: McpServer): RegisteredTool {
|
|
|
13
13
|
async ({
|
|
14
14
|
name,
|
|
15
15
|
symbol,
|
|
16
|
+
decimals,
|
|
16
17
|
burnable,
|
|
17
18
|
votes,
|
|
18
19
|
pausable,
|
|
@@ -27,6 +28,7 @@ export function registerStellarStablecoin(server: McpServer): RegisteredTool {
|
|
|
27
28
|
const opts: StablecoinOptions = {
|
|
28
29
|
name,
|
|
29
30
|
symbol,
|
|
31
|
+
decimals,
|
|
30
32
|
burnable,
|
|
31
33
|
votes,
|
|
32
34
|
pausable,
|