Francisco Giordano 5 лет назад
Родитель
Сommit
c6612871fb
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      docs/modules/ROOT/pages/erc20.adoc
  2. 1 1
      docs/modules/ROOT/pages/erc721.adoc

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

@@ -72,6 +72,6 @@ transfer(recipient, 5 * 10^18);
 
 [[Presets]]
 == Preset ERC20 contract
-A preset ERC20 is available, xref:api:presets/ERC20PresetMinterPauser[ERC20PresetMinterPauser]. It is preset to allow for token minting (create), 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 ERC20 is available, xref:api:presets#ERC20PresetMinterPauser[`ERC20PresetMinterPauser`]. It is preset to allow for token minting (create), 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.

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

@@ -82,6 +82,6 @@ NOTE: you'll notice that the item's information is included in the metadata, but
 
 [[Presets]]
 == Preset ERC721 contract
-A preset ERC721 is available, xref:api:presets/ERC721PresetMinterPauserAutoId[ERC721PresetMinterPauserAutoId]. It is preset to allow for token minting (create) with token ID and URI auto generation, 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 ERC721 is available, xref:api:presets#ERC721PresetMinterPauserAutoId[`ERC721PresetMinterPauserAutoId`]. It is preset to allow for token minting (create) with token ID and URI auto generation, 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.