瀏覽代碼

Fix presets link

Francisco Giordano 5 年之前
父節點
當前提交
b991fca341
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/modules/ROOT/pages/erc1155.adoc

+ 1 - 1
docs/modules/ROOT/pages/erc1155.adoc

@@ -144,6 +144,6 @@ We can also implement more complex scenarios using the xref:api:token/ERC1155.ad
 
 [[Presets]]
 == Preset ERC1155 contract
-A preset ERC1155 is available, xref:api:presets/ERC1155PresetMinterPauser[ERC1155PresetMinterPauser]. It is preset to allow for token minting (create) - including batch minting, stop all token transfers (pause) and allow holders to burn (destroy) their tokens. The contract uses xref:access-control.adoc[Access Control] to control access to the minting and pausing functionality.  The account that deploys the contract will be granted the minter and pauser roles, as well as the default admin role.
+A preset ERC1155 is available, xref:api:presets#ERC1155PresetMinterPauser[`ERC1155PresetMinterPauser`]. It is preset to allow for token minting (create) - including batch minting, stop all token transfers (pause) and allow holders to burn (destroy) their tokens. The contract uses xref:access-control.adoc[Access Control] to control access to the minting and pausing functionality.  The account that deploys the contract will be granted the minter and pauser roles, as well as the default admin role.
 
 This contract is ready to deploy without having to write any Solidity code.  It can be used as-is for quick prototyping and testing, but is also suitable for production environments.