Skip to content

Commit

Permalink
global and token SaleDetails as view in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
david-littlefarmer committed Sep 16, 2024
1 parent 83dd488 commit 3d5c2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokens/ERC1155/utility/sale/IERC1155Sale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ interface IERC1155SaleFunctions {
* @notice Global sales details apply to all tokens.
* @notice Global sales details are overriden when token sale is active.
*/
function globalSaleDetails() external returns (SaleDetails memory);
function globalSaleDetails() external view returns (SaleDetails memory);

/**
* Get token sale details.
* @param tokenId Token ID to get sale details for.
* @return Sale details.
* @notice Token sale details override global sale details.
*/
function tokenSaleDetails(uint256 tokenId) external returns (SaleDetails memory);
function tokenSaleDetails(uint256 tokenId) external view returns (SaleDetails memory);

/**
* Get payment token.
Expand Down

0 comments on commit 3d5c2c1

Please sign in to comment.