From ed6118088acef919b8ba3dbfdefe4af22177b732 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 13 Mar 2024 13:52:03 -0400 Subject: [PATCH] fix name, consolidate snake and camel blocks --- docs/modules/ROOT/pages/api/erc1155.adoc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/docs/modules/ROOT/pages/api/erc1155.adoc b/docs/modules/ROOT/pages/api/erc1155.adoc index 6bb88cc2a..23b361182 100644 --- a/docs/modules/ROOT/pages/api/erc1155.adoc +++ b/docs/modules/ROOT/pages/api/erc1155.adoc @@ -171,7 +171,7 @@ NOTE: {src5-component-required-note} .{mixin-impls} -- -.ERC721MixinImpl +.ERC1155MixinImpl * xref:#ERC1155Component-Embeddable-Impls-ERC1155Impl[`++ERC1155Impl++`] * xref:#ERC1155Component-Embeddable-Impls-ERC1155MetadataURIImpl[`++ERC1155MetadataURIImpl++`] * xref:#ERC1155Component-Embeddable-Impls-ER1155CamelImpl[`++ER1155CamelImpl++`] @@ -193,11 +193,7 @@ NOTE: {src5-component-required-note} [.sub-index#ERC1155Component-Embeddable-Impls-ERC1155MetadataURIImpl] .ERC1155MetadataURIImpl * xref:#ERC1155Component-uri[`++uri(self, token_id)++`] --- -[.contract-index#ERC1155Component-Embeddable-Impls-camelCase] -.Embeddable implementations (camelCase) --- [.sub-index#ERC1155Component-Embeddable-Impls-ER1155CamelImpl] .ER1155CamelImpl * xref:#ERC1155Component-balanceOf[`++balanceOf(self, account, tokenId)++`] @@ -327,8 +323,6 @@ on the token type ID substitution mechanism Clients calling this function must replace the `\{id\}` substring with the actual token type ID. -==== camelCase Support - [.contract-item] [[ERC1155Component-balanceOf]] ==== `[.contract-item-name]#++balanceOf++#++(self: @ContractState, account: ContractAddress, tokenId: u256) → u256++` [.item-kind]#external# @@ -570,11 +564,7 @@ NOTE: {src5-component-required-note} .ERC1155ReceiverImpl * xref:#ERC1155ReceiverComponent-on_erc1155_received[`++on_erc1155_received(self, operator, from, token_id, value, data)++`] * xref:#ERC1155ReceiverComponent-on_erc1155_batch_received[`++on_erc1155_batch_received(self, operator, from, token_ids, values, data)++`] --- -[.contract-index#ERC1155ReceiverComponent-Embeddable-Impls-camelCase] -.Embeddable implementations (camelCase) --- .ERC1155ReceiverCamelImpl * xref:#ERC1155ReceiverComponent-onERC1155Received[`++onERC1155Received(self, operator, from, tokenId, value, data)++`] * xref:#ERC1155ReceiverComponent-onERC1155BatchReceived[`++onERC1155BatchReceived(self, operator, from, tokenIds, values, data)++`] @@ -601,9 +591,6 @@ Returns the `IERC1155Receiver` interface ID. Returns the `IERC1155Receiver` interface ID. -==== camelCase Support - - [.contract-item] [[ERC1155ReceiverComponent-onERC1155Received]] ==== `[.contract-item-name]#++onERC1155Received++#++(operator: ContractAddress, from: ContractAddress, token_id: u256, value: u256, data Span) -> felt252++` [.item-kind]#external#