From b69d9f1901fa6c75375d85196e4d6f871b476f76 Mon Sep 17 00:00:00 2001 From: Matej Poklemba Date: Tue, 2 Apr 2024 12:39:15 +0200 Subject: [PATCH] Add comments about mint parameters --- .../contracts/token/IInverseBaseProjected1155.sol | 5 ++++- .../contracts/token/InverseBaseProjected1155.sol | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/contracts/evm-contracts/contracts/token/IInverseBaseProjected1155.sol b/packages/contracts/evm-contracts/contracts/token/IInverseBaseProjected1155.sol index b17108a76..623302c53 100644 --- a/packages/contracts/evm-contracts/contracts/token/IInverseBaseProjected1155.sol +++ b/packages/contracts/evm-contracts/contracts/token/IInverseBaseProjected1155.sol @@ -13,7 +13,10 @@ interface IInverseBaseProjected1155 is IInverseProjected1155 { /// Increases the `currentTokenId`. /// Reverts if transaction sender is a smart contract that does not implement IERC1155Receiver-onERC1155Received. /// Emits the `Minted` event. - /// Returns the id of the minted token. + /// @param value the amount of tokens to mint. + /// @param data additional data to pass to the receiver contract. + /// @param initialData data that is emitted in the `Minted` event. + /// @return id of the minted token. function mint( uint256 value, bytes memory data, diff --git a/packages/contracts/evm-contracts/contracts/token/InverseBaseProjected1155.sol b/packages/contracts/evm-contracts/contracts/token/InverseBaseProjected1155.sol index 958586d96..e52ce34e2 100644 --- a/packages/contracts/evm-contracts/contracts/token/InverseBaseProjected1155.sol +++ b/packages/contracts/evm-contracts/contracts/token/InverseBaseProjected1155.sol @@ -52,7 +52,10 @@ contract InverseBaseProjected1155 is IInverseBaseProjected1155, ERC1155Supply, O /// Increases the `currentTokenId`. /// Reverts if transaction sender is a smart contract that does not implement IERC1155Receiver-onERC1155Received. /// Emits the `Minted` event. - /// Returns the id of the minted token. + /// @param value the amount of tokens to mint. + /// @param data additional data to pass to the receiver contract. + /// @param initialData data that is emitted in the `Minted` event. + /// @return id of the minted token. function mint( uint256 value, bytes memory data,