Skip to content

Commit

Permalink
fix name, consolidate snake and camel blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Mar 13, 2024
1 parent 07dc536 commit ed61180
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions docs/modules/ROOT/pages/api/erc1155.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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++`]
Expand All @@ -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)++`]
Expand Down Expand Up @@ -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#
Expand Down Expand Up @@ -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)++`]
Expand All @@ -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>) -> felt252++` [.item-kind]#external#
Expand Down

0 comments on commit ed61180

Please sign in to comment.