Skip to content

Commit 042e0cb

Browse files
authored
fix(moonnirds): moonbird nesting open view function fix (#313)
1 parent 8afdb27 commit 042e0cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/dependencies/erc721-collections/IMoonBird.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pragma solidity 0.8.10;
55
@title MoonBirds contract interface
66
*/
77
interface IMoonBirdBase {
8-
function nestingOpen() external returns(bool);
8+
function nestingOpen() external view returns(bool);
99

1010
function toggleNesting(uint256[] calldata tokenIds) external;
1111

contracts/protocol/tokenization/NTokenMoonBirds.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ contract NTokenMoonBirds is NToken, IMoonBirdBase {
123123
@dev an additional function that is custom to MoonBirds reserve.
124124
This function check if nesting is open for the underlying tokens
125125
*/
126-
function nestingOpen() external returns (bool) {
126+
function nestingOpen() external view returns (bool) {
127127
return IMoonBird(_underlyingAsset).nestingOpen();
128128
}
129129
}

0 commit comments

Comments
 (0)