contracts-mcp

v0.8.1
@openzeppelin/contracts-mcp Checked 4 hours ago Published 1 month ago

OpenZeppelin Contracts MCP Server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

solidity-erc20 Solidity ERC20

Make a fungible token per the ERC-20 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
callbackbooleanWhether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.
chainlinkAcebooleanChainlink ACE (Automated Compliance Engine) adds token policy enforcement through a separately deployed and configured policy engine (integration guide: https://docs.openzeppelin.com/chainlink-ccip-ac…
crossChainBridgingWhether to allow authorized bridge contracts to mint and burn tokens for crosschain transfers. Options are custom bridges on any chain, Chainlink CCIP with a separately configured BurnMintTokenPool (i…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
decimalsstringThe number of decimals used to represent token amounts. Defaults to 18.
flashmintbooleanWhether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
namespacePrefixstringThe prefix for ERC-7201 namespace identifiers. It should be derived from the project name or a unique naming convention specific to the project. Used only if the contract includes storage variables an…
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
permitbooleanWhether without paying gas, token holders will be able to allow third parties to transfer from their account.
premintstringThe number of tokens to premint for the deployer.
premintChainIdstringThe chain ID of the network on which to premint tokens.
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…
votesWhether to keep track of historical balances for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.

solidity-erc721 Solidity ERC721

Make a non-fungible token per the ERC-721 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
baseUristringA base uri for the token
burnablebooleanWhether token holders will be able to destroy their tokens
crossChainBridgingstringWhether to embed an ERC-7786 based bridge directly in the token contract, making it natively crosschain. Crosschain transfers with registered counterparts burn the token on the source chain and mint i…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
enumerablebooleanWhether to allow on-chain enumeration of all tokens or those owned by an account. Increases gas cost of transfers.
incrementalbooleanWhether new tokens will be automatically assigned an incremental id
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
namespacePrefixstringThe prefix for ERC-7201 namespace identifiers. It should be derived from the project name or a unique naming convention specific to the project. Used only if the contract includes storage variables an…
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…
uriStoragebooleanAllows updating token URIs for individual token IDs
votesWhether to keep track of individual units for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps (defaulting to block number if not specified).

solidity-erc1155 Solidity ERC1155

Make a non-fungible token per the ERC-1155 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
uri *stringThe location of the metadata for the token. Clients will replace any instance of {id} in this string with the tokenId.
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
crossChainBridgingstringWhether to embed an ERC-7786 based bridge directly in the token contract, making it natively crosschain. Crosschain transfers with registered counterparts burn the tokens on the source chain and mint…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
supplybooleanWhether to keep track of total supply of tokens
updatableUribooleanWhether privileged accounts will be able to set a new URI for all token types
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…

solidity-stablecoin Solidity Stablecoin

Make a stablecoin token that uses the ERC-20 standard. This contract type does not support upgradeability. Experimental, some features are not audited and are subject to change. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
callbackbooleanWhether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.
chainlinkAcebooleanChainlink ACE (Automated Compliance Engine) adds token policy enforcement through a separately deployed and configured policy engine (integration guide: https://docs.openzeppelin.com/chainlink-ccip-ac…
crossChainBridgingWhether to allow authorized bridge contracts to mint and burn tokens for crosschain transfers. Options are custom bridges on any chain, Chainlink CCIP with a separately configured BurnMintTokenPool (i…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
decimalsstringThe number of decimals used to represent token amounts. Defaults to 18.
flashmintbooleanWhether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.
freezablebooleanWhether authorized accounts can freeze and unfreeze accounts for regulatory or security purposes. This feature is experimental, not audited and is subject to change.
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
namespacePrefixstringThe prefix for ERC-7201 namespace identifiers. It should be derived from the project name or a unique naming convention specific to the project. Used only if the contract includes storage variables an…
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
permitbooleanWhether without paying gas, token holders will be able to allow third parties to transfer from their account.
premintstringThe number of tokens to premint for the deployer.
premintChainIdstringThe chain ID of the network on which to premint tokens.
restrictionsWhether to restrict certain users from transferring tokens, either via allowing or blocking them. This feature is experimental, not audited and is subject to change.
upgradeablebooleanUpgradeability is not available for Stablecoin or RWA.
votesWhether to keep track of historical balances for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.

solidity-rwa Solidity RWA

Make a real-world asset token that uses the ERC-20 standard. This contract type does not support upgradeability. Experimental, some features are not audited and are subject to change. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
callbackbooleanWhether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.
chainlinkAcebooleanChainlink ACE (Automated Compliance Engine) adds token policy enforcement through a separately deployed and configured policy engine (integration guide: https://docs.openzeppelin.com/chainlink-ccip-ac…
crossChainBridgingWhether to allow authorized bridge contracts to mint and burn tokens for crosschain transfers. Options are custom bridges on any chain, Chainlink CCIP with a separately configured BurnMintTokenPool (i…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
decimalsstringThe number of decimals used to represent token amounts. Defaults to 18.
flashmintbooleanWhether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.
freezablebooleanWhether authorized accounts can freeze and unfreeze accounts for regulatory or security purposes. This feature is experimental, not audited and is subject to change.
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
namespacePrefixstringThe prefix for ERC-7201 namespace identifiers. It should be derived from the project name or a unique naming convention specific to the project. Used only if the contract includes storage variables an…
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
permitbooleanWhether without paying gas, token holders will be able to allow third parties to transfer from their account.
premintstringThe number of tokens to premint for the deployer.
premintChainIdstringThe chain ID of the network on which to premint tokens.
restrictionsWhether to restrict certain users from transferring tokens, either via allowing or blocking them. This feature is experimental, not audited and is subject to change.
upgradeablebooleanUpgradeability is not available for Stablecoin or RWA.
votesWhether to keep track of historical balances for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.

solidity-account Solidity Account

Make an account contract that follows the ERC-4337 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the account contract
ERC1155HolderbooleanWhether to implement the `onERC1155Received` function to allow the account to receive ERC1155 tokens.
ERC721HolderbooleanWhether to implement the `onERC721Received` function to allow the account to receive ERC721 tokens.
ERC7579ModulesWhether to implement the ERC-7579 compatibility to enable functionality on the account with modules.
batchedExecutionbooleanWhether to implement a minimal batching interface for the account to allow multiple operations to be executed in a single transaction following the ERC-7821 standard.
infoobjectMetadata about the contract and author
signatureValidationWhether to implement the ERC-1271 standard for validating signatures. This is useful for the account to verify signatures.
signerDefines the signature verification algorithm used by the account to verify user operations. Options: - ECDSA: Standard Ethereum signature validation using secp256k1, validates signatures again…
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…

solidity-governor Solidity Governor

Make a contract to implement governance, such as for a DAO. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
delay *stringThe delay since proposal is created until voting starts, default is "1 day"
name *stringThe name of the contract
period *stringThe length of period during which people can cast their vote, default is "1 week"
blockTimenumberThe block time of the chain in seconds, default is 12
clockModeThe clock mode used by the voting token. For Governor, this must be chosen to match what the ERC20 or ERC721 voting token uses.
crossChainExecutionbooleanWhether passed proposals can relay execution to other chains through ERC-7786 gateways. Requires a CrosschainRemoteExecutor contract, controlled by this governor, deployed on each target chain. The ga…
decimalsnumberThe number of decimals to use for the contract, default is 18 for ERC20Votes and 0 for ERC721Votes (because it does not apply to ERC721Votes)
infoobjectMetadata about the contract and author
proposalThresholdstringMinimum number of votes an account must have to create a proposal, default is 0.
quorumAbsolutestringThe absolute quorum required, in cases of quorumMode equals absolute
quorumModeThe type of quorum mode to use
quorumPercentnumberThe percent required, in cases of quorumMode equals percent
settingsbooleanAllow governance to update voting settings (delay, period, proposal threshold)
storagebooleanEnable storage of proposal details and enumerability of proposals
timelockThe type of timelock to use
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…
votesThe type of voting to use

solidity-custom Solidity Custom

Make a custom smart contract. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
infoobjectMetadata about the contract and author
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…

cairo-erc20 Cairo ERC20

Make a fungible token per the ERC-20 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessobject
appNamestringRequired when votes is enabled, for hashing and signing typed structured data. Name for domain separator implementing SNIP12Metadata trait. Prevents two applications from producing the same hash.
appVersionstringRequired when votes is enabled, for hashing and signing typed structured data. Version for domain separator implementing SNIP12Metadata trait. Prevents two versions of the same application from produc…
burnablebooleanWhether token holders will be able to destroy their tokens
decimalsstringThe number of decimals to use for the contract. Defaults to 18.
flashmintobjectConfiguration object for the ERC20FlashMint extension (ERC-3156 flash loans). The extension is included only when `enabled` is true; the other fields tune the loan limit, fee, and fee destination.
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
premintstringThe number of tokens to premint for the deployer.
upgradeablebooleanWhether the smart contract is upgradeable.
votesbooleanWhether to keep track of historical balances for voting in on-chain governance, with a way to delegate one's voting power to a trusted account.
wrapperbooleanWhether to include ERC20Wrapper functionality for depositing and withdrawing an underlying token.

cairo-erc721 Cairo ERC721

Make a non-fungible token per the ERC-721 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessobject
appNamestringRequired when votes is enabled, for hashing and signing typed structured data. Name for domain separator implementing SNIP12Metadata trait. Prevents two applications from producing the same hash.
appVersionstringRequired when votes is enabled, for hashing and signing typed structured data. Version for domain separator implementing SNIP12Metadata trait. Prevents two versions of the same application from produc…
baseUristringA base uri for the non-fungible token.
burnablebooleanWhether token holders will be able to destroy their tokens
consecutivebooleanEnables gas-efficient batch minting of consecutive token IDs during construction (ERC-2309). The contract owner must call `mint_consecutive` from the constructor to issue the initial batch. Cannot be…
enumerablebooleanWhether to allow on-chain enumeration of all tokens or those owned by an account. Increases gas cost of transfers.
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
royaltyInfoobjectProvides information for how much royalty is owed and to whom, based on a sale price. Follows ERC-2981 standard.
upgradeablebooleanWhether the smart contract is upgradeable.
uriStoragebooleanAllows updating token URIs for individual token IDs.
votesbooleanWhether to keep track of individual units for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.
wrapperbooleanWhether to include ERC721Wrapper functionality for wrapping an underlying ERC721.

cairo-erc1155 Cairo ERC1155

Make a non-fungible token per the ERC-1155 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
baseUri *stringThe location of the metadata for the token. Clients will replace any instance of {id} in this string with the tokenId.
name *stringThe name of the contract
accessobject
burnablebooleanWhether token holders will be able to destroy their tokens
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
royaltyInfoobjectProvides information for how much royalty is owed and to whom, based on a sale price. Follows ERC-2981 standard.
supplybooleanWhether to keep track of total supply of tokens.
updatableUribooleanWhether privileged accounts will be able to set a new URI for all token types.
upgradeablebooleanWhether the smart contract is upgradeable.
uriStoragebooleanAllows updating token URIs for individual token IDs.

cairo-erc6909 Cairo ERC6909

Make a minimal multi-token per the ERC-6909 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
accessobject
burnablebooleanWhether token holders will be able to destroy their tokens
contentUribooleanWhether to include Content URI extension for contract-level and per-token URI metadata.
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
metadatabooleanWhether to include per-token metadata extension providing name, symbol, and decimals per token ID.
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
tokenSupplybooleanWhether to keep track of total supply per token ID.
upgradeablebooleanWhether the smart contract is upgradeable.

cairo-account Cairo Account

Make a custom smart contract that represents an account that can be deployed and interacted with other contracts, and can be extended to implement custom logic. An account is a special type of contract that is used to validate and execute transactions. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
type *stringType of signature used for signature checking by the Account contract, Starknet account uses the STARK curve, Ethereum-flavored account uses the Secp256k1 curve.
declarebooleanWhether to enable the account to declare other contract classes.
deploybooleanWhether to enables the account to be counterfactually deployed.
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
outsideExecutionbooleanWhether to allow a protocol to submit transactions on behalf of the account, as long as it has the relevant signatures.
pubkeybooleanWhether to enables the account to change its own public key.
upgradeablebooleanWhether the smart contract is upgradeable.

cairo-multisig Cairo Multisig

Make a multi-signature smart contract, requiring a quorum of registered signers to approve and collectively execute transactions. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
quorum *stringThe minimal number of confirmations required by the Multisig to approve a transaction.
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
upgradeablebooleanWhether the smart contract is upgradeable.

cairo-governor Cairo Governor

Make a contract to implement governance, such as for a DAO. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
delay *stringThe delay since proposal is created until voting starts, in readable date time format matching /^(\d+(?:\.\d+)?) +(second|minute|hour|day|week|month|year)s?$/, default is "1 day".
name *stringThe name of the contract
period *stringThe length of period during which people can cast their vote, in readable date time format matching /^(\d+(?:\.\d+)?) +(second|minute|hour|day|week|month|year)s?$/, default is "1 week".
appNamestringRequired when votes is enabled, for hashing and signing typed structured data. Name for domain separator implementing SNIP12Metadata trait. Prevents two applications from producing the same hash.
appVersionstringRequired when votes is enabled, for hashing and signing typed structured data. Version for domain separator implementing SNIP12Metadata trait. Prevents two versions of the same application from produc…
clockModestringThe clock mode used by the voting token. For now, only timestamp mode where the token uses voting durations expressed as timestamps is supported. For Governor, this must be chosen to match what the ER…
decimalsnumberThe number of decimals to use for the contract, default is 18 for ERC20Votes and 0 for ERC721Votes (because it does not apply to ERC721Votes).
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
proposalThresholdstringMinimum number of votes an account must have to create a proposal, default is 0.
quorumAbsolutestringThe absolute quorum required, in cases of quorumMode equals absolute.
quorumModestringThe type of quorum mode to use, either by percentage or absolute value.
quorumPercentnumberThe percent required, in cases of quorumMode equals percent.
settingsbooleanWhether to allow governance to update voting settings (delay, period, proposal threshold).
timelockWhether to add a delay to actions taken by the Governor. Gives users time to exit the system if they disagree with governance decisions. If "openzeppelin", Module compatible with OpenZeppelin's Timelo…
upgradeablebooleanWhether the smart contract is upgradeable.
votesstringThe type of voting to use. Either erc20votes, meaning voting power with a votes-enabled ERC20 token. Either erc721votes, meaning voting power with a votes-enabled ERC721 token. Voters can entrust thei…

cairo-vesting Cairo Vesting

Make a vesting smart contract that manages the gradual release of ERC-20 tokens to a designated beneficiary based on a predefined vesting schedule. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
cliffDuration *stringThe duration of the cliff period. Must be less than or equal to the total duration. In readable date time format matching /^(\d+(?:\.\d+)?) +(second|minute|hour|day|week|month|year)s?$/
duration *stringThe total duration of the vesting period. In readable date time format matching /^(\d+(?:\.\d+)?) +(second|minute|hour|day|week|month|year)s?$/
name *stringThe name of the contract
schedule *stringA vesting schedule implementation, tokens can either be vested gradually following a linear curve or with custom vesting schedule that requires the implementation of the VestingSchedule trait.
startDate *stringThe timestamp marking the beginning of the vesting period. In HTML input datetime-local format, e.g. "2026-03-15T14:30".
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.

cairo-custom Cairo Custom

Make a custom smart contract. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
accessobject
infoobjectMetadata about the contract and author
macrosobjectThe macros to use for the contract.
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
upgradeablebooleanWhether the smart contract is upgradeable.

confidential-erc7984 Confidential ERC7984

Make a confidential fungible token in Solidity according to the ERC-7984 standard, similar to ERC-20 but with confidentiality. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
contractURI *stringThe metadata URI for the token. Should follow the schema defined in [ERC-7572](https://eips.ethereum.org/EIPS/eip-7572).
name *stringThe name of the contract
networkConfig *stringSpecify the provider and network configuration to use for FHEVM contracts.
symbol *stringThe short symbol for the token
decimalsstringThe number of decimals used to represent token amounts. Defaults to 6, with a maximum of 10, since confidential token amounts are represented as uint64 and higher decimals would make the maximum total…
infoobjectMetadata about the contract and author
premintstringThe number of tokens to premint for the deployer. Cannot be used with wrappable, since preminted tokens would not be backed by the underlying token.
votesWhether to keep track of historical balances for voting in on-chain governance. Voting durations must be expressed as block numbers or timestamps.
wrappablebooleanWhether to allow wrapping an ERC20 token into a confidential fungible token. Derives its decimals from the underlying token (capped at 6), so it cannot be used with custom decimals. Cannot be used wit…

stellar-account Stellar Account

Make a smart account contract that authorizes operations through configurable signers and policies, for example a multisig with passkey, Ed25519 and delegated signers. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
delegatedSignersbooleanWhether the account accepts delegated signers, meaning Stellar addresses whose signatures the host verifies. Enabled by default.
ed25519SignersbooleanWhether the account accepts raw Ed25519 public keys, verified by an Ed25519 verifier contract supplied at deployment.
executionEntryPointbooleanWhether the account can call other contracts on its own behalf. Needed to manage contracts the account owns, such as its own policies, and enabled by default.
infoobjectMetadata about the contract and author
policyHow authorization is decided. False requires every configured signer to sign (n-of-n). Simple threshold requires any m of the n signers (a standard multisig). Weighted threshold gives each signer a we…
upgradeablebooleanWhether the account can be upgraded. The upgrade is authorized by the account itself through its context rules, not by an access control role.
webauthnSignersbooleanWhether the account accepts WebAuthn (passkey) keys, verified by a WebAuthn verifier contract supplied at deployment.

stellar-fungible Stellar Fungible

Make a fungible token per the Fungible Token Standard, compatible with SEP-41, similar to ERC-20. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
capstringThe maximum total supply of the token, in number of tokens. Leave empty for an uncapped token. Requires total supply tracking, which is then enabled automatically. Cannot be used with votes.
decimalsstringThe number of decimals used to represent token amounts. Defaults to 7.
explicitImplementationsbooleanWhether the contract should use explicit trait implementations instead of using the default ones provided by the library.
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
premintstringThe number of tokens to premint for the deployer.
totalSupplybooleanWhether to track the total supply and expose it through a total_supply function. Every mint and burn then writes the same storage entry, which prevents them from executing in parallel. Cannot be used…
upgradeablebooleanWhether the contract can be upgraded.
votesbooleanWhether to enable vote checkpoints and delegation for governance. Cannot be used with total supply tracking or a cap.

stellar-governor Stellar Governor

Make a governor contract for on-chain governance using token-based voting. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
explicitImplementationsbooleanWhether the contract should use explicit trait implementations instead of using the default ones provided by the library.
infoobjectMetadata about the contract and author
proposalThresholdstringMinimum voting power required for creating a proposal, default is 100.
quorumstringMinimum number of votes required for a proposal to pass, default is 500.
timelockbooleanWhether to add a timelock mechanism that enforces a delay between proposal queuing and execution.
upgradeablebooleanWhether the contract can be upgraded.
versionstringThe semantic version label returned by the governor contract.
votingDelaystringNumber of ledgers between proposal creation and voting start (17,000 ledgers are approx. 1 day).
votingPeriodstringNumber of ledgers during which voting remains open (120,000 ledgers are approx. 1 week). Must be greater than 0.

stellar-stablecoin Stellar Stablecoin

Make a stablecoin that uses Fungible Token Standard, compatible with SEP-41. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
capstringThe maximum total supply of the token, in number of tokens. Leave empty for an uncapped token. Requires total supply tracking, which is then enabled automatically. Cannot be used with votes.
decimalsstringThe number of decimals used to represent token amounts. Defaults to 7.
explicitImplementationsbooleanWhether the contract should use explicit trait implementations instead of using the default ones provided by the library.
infoobjectMetadata about the contract and author
limitationsWhether to restrict certain users from transferring tokens, either via allowing or blocking them.
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
premintstringThe number of tokens to premint for the deployer.
totalSupplybooleanWhether to track the total supply and expose it through a total_supply function. Every mint and burn then writes the same storage entry, which prevents them from executing in parallel. Cannot be used…
upgradeablebooleanWhether the contract can be upgraded.
votesbooleanWhether to enable vote checkpoints and delegation for governance. Cannot be used with total supply tracking or a cap.

stellar-non-fungible Stellar Non-Fungible

Make a non-fungible token per the Non-Fungible Token Standard, compatible with SEP-50, similar to ERC-721. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
consecutivebooleanTo batch mint NFTs instead of minting them individually (sequential minting is mandatory).
defaultRoyaltyBasisPointsstringThe default royalty for the collection in basis points (100 = 1%, maximum 10000), paid to a receiver set at deployment. 0 sets no default royalty.
enumerablebooleanWhether the NFTs are enumerable (can be iterated over).
explicitImplementationsbooleanWhether the contract should use explicit trait implementations instead of using the default ones provided by the library.
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
royaltiesbooleanWhether to provide royalty information for sales of the NFTs, following ERC-2981. Privileged accounts can set the default royalty and per-token royalties.
sequentialbooleanWhether the IDs of the minted NFTs will be sequential.
tokenUristringThe metadata URI returned by the token contract for every NFT.
upgradeablebooleanWhether the contract can be upgraded.
votesbooleanWhether to enable vote checkpoints and delegation for governance.

stellar-vault Stellar Vault

Make a tokenized vault that issues Fungible Token shares for an underlying asset, similar to ERC-4626. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
decimalsOffsetstringVirtual decimals offset added to the underlying asset decimals to derive the vault share decimals, used to mitigate inflation (donation) attacks via virtual shares. With the default of 0, diluting a s…
explicitImplementationsbooleanWhether the contract should use explicit trait implementations instead of using the default ones provided by the library.
infoobjectMetadata about the contract and author
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
upgradeablebooleanWhether the contract can be upgraded.

stylus-erc20 Stylus ERC20

Make a fungible token per the ERC-20 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
burnablebooleanWhether token holders will be able to destroy their tokens
flashmintbooleanWhether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.
infoobjectMetadata about the contract and author
permitbooleanWhether without paying gas, token holders will be able to allow third parties to transfer from their account.

stylus-erc721 Stylus ERC721

Make a non-fungible token per the ERC-721 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
burnablebooleanWhether token holders will be able to destroy their tokens
enumerablebooleanWhether to allow on-chain enumeration of all tokens or those owned by an account. Increases gas cost of transfers.
infoobjectMetadata about the contract and author

stylus-erc1155 Stylus ERC1155

Make a non-fungible token per the ERC-1155 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
burnablebooleanWhether token holders will be able to destroy their tokens
infoobjectMetadata about the contract and author
supplybooleanWhether to keep track of total supply of tokens

tron-trc20 TRON TRC20

Make a fungible token per the TRC-20 standard, targeting the TRON Virtual Machine. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
callbackbooleanWhether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.
chainlinkAcebooleanExternal policy integration is not supported on TRON.
crossChainBridgingBridge mode: custom, ERC-7786 native, or Superchain. Availability depends on the selected network.
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
decimalsstringThe number of decimals used to represent token amounts. Defaults to 18.
flashmintbooleanWhether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
namespacePrefixstringThe prefix for ERC-7201 namespace identifiers. It should be derived from the project name or a unique naming convention specific to the project. Used only if the contract includes storage variables an…
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
permitbooleanWhether without paying gas, token holders will be able to allow third parties to transfer from their account.
premintstringThe number of tokens to premint for the deployer.
premintChainIdstringThe chain ID of the network on which to premint tokens.
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…
votesWhether to keep track of historical balances for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.

tron-trc721 TRON TRC721

Make a non-fungible token per the TRC-721 standard, targeting the TRON Virtual Machine. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
symbol *stringThe short symbol for the token
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
baseUristringA base uri for the token
burnablebooleanWhether token holders will be able to destroy their tokens
crossChainBridgingstringWhether to embed an ERC-7786 based bridge directly in the token contract, making it natively crosschain. Crosschain transfers with registered counterparts burn the token on the source chain and mint i…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
enumerablebooleanWhether to allow on-chain enumeration of all tokens or those owned by an account. Increases gas cost of transfers.
incrementalbooleanWhether new tokens will be automatically assigned an incremental id
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
namespacePrefixstringThe prefix for ERC-7201 namespace identifiers. It should be derived from the project name or a unique naming convention specific to the project. Used only if the contract includes storage variables an…
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…
uriStoragebooleanAllows updating token URIs for individual token IDs
votesWhether to keep track of individual units for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps (defaulting to block number if not specified).

tron-trc1155 TRON TRC1155

Make a multi-token contract per the TRC-1155 standard, targeting the TRON Virtual Machine. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
uri *stringThe location of the metadata for the token. Clients will replace any instance of {id} in this string with the tokenId.
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
burnablebooleanWhether token holders will be able to destroy their tokens
crossChainBridgingstringWhether to embed an ERC-7786 based bridge directly in the token contract, making it natively crosschain. Crosschain transfers with registered counterparts burn the tokens on the source chain and mint…
crossChainLinkAllowOverridebooleanWhether to allow replacing a crosschain link that has already been registered. Only used if crossChainBridging is set to "erc7786native".
infoobjectMetadata about the contract and author
mintablebooleanWhether privileged accounts will be able to create more supply or emit more tokens
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
supplybooleanWhether to keep track of total supply of tokens
updatableUribooleanWhether privileged accounts will be able to set a new URI for all token types
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…

tron-governor TRON Governor

Make a contract to implement governance, such as for a DAO, targeting the TRON Virtual Machine. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
delay *stringThe delay since proposal is created until voting starts, default is "1 day"
name *stringThe name of the contract
period *stringThe length of period during which people can cast their vote, default is "1 week"
blockTimenumberThe block time of the chain in seconds, default is 3.
clockModeThe clock mode used by the voting token. For Governor, this must be chosen to match what the ERC20 or ERC721 voting token uses.
crossChainExecutionbooleanWhether passed proposals can relay execution to other chains through ERC-7786 gateways. Requires a CrosschainRemoteExecutor contract, controlled by this governor, deployed on each target chain. The ga…
decimalsnumberThe number of decimals to use for the contract, default is 18 for ERC20Votes and 0 for ERC721Votes (because it does not apply to ERC721Votes)
infoobjectMetadata about the contract and author
proposalThresholdstringMinimum number of votes an account must have to create a proposal, default is 0.
quorumAbsolutestringThe absolute quorum required, in cases of quorumMode equals absolute
quorumModeThe type of quorum mode to use
quorumPercentnumberThe percent required, in cases of quorumMode equals percent
settingsbooleanAllow governance to update voting settings (delay, period, proposal threshold)
storagebooleanEnable storage of proposal details and enumerability of proposals
timelockThe type of timelock to use
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…
votesThe type of voting to use

tron-custom TRON Custom

Make a custom smart contract, targeting the TRON Virtual Machine. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

ParameterTypeDescription
name *stringThe name of the contract
accessThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileg…
infoobjectMetadata about the contract and author
pausablebooleanWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
upgradeableWhether the smart contract is upgradeable. Transparent uses more complex proxy with higher overhead, requires less changes in your contract. Can also be used with beacons. UUPS uses simpler proxy with…

uniswap-hooks Uniswap Hooks

Make a Uniswap v4 hook contract using the OpenZeppelin Uniswap Hooks library. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.