Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we remove the isWhiteListReady function? #18

Closed
YouStillAlive opened this issue Oct 30, 2022 · 0 comments · Fixed by #19
Closed

Can we remove the isWhiteListReady function? #18

YouStillAlive opened this issue Oct 30, 2022 · 0 comments · Fixed by #19
Assignees

Comments

@YouStillAlive
Copy link
Member

The contract already has a public WhitelistSettings variable with an isReady field.

isWhiteListReady function:

function isWhiteListReady(uint256 _Id) public view returns(bool){
return WhitelistSettings[_Id].isReady;
}

WhitelistSettings variable is converted to a default function.

function WhitelistSettings(uint256 _Id) public view returns(
{
       address Creator,
       uint256 ChangeUntil,
       address Contract,
       bool isReady
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant