Skip to content

Add owner controls readme #1396

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

Merged
merged 2 commits into from
May 10, 2024
Merged

Add owner controls readme #1396

merged 2 commits into from
May 10, 2024

Conversation

ldunnplaymint
Copy link
Contributor

@ldunnplaymint ldunnplaymint commented May 10, 2024

Game Owner Controls

Set featured zone

cast send --rpc-url <URL> --private-key <private-key> <contract-address> "setZoneIsFeatured(uint64,bool)" <zone-number> true

Remove featured zone

cast send --rpc-url <URL> --private-key <private-key> <contract-address> "setZoneIsFeatured(uint64,bool)" <zone-number> false

Change maximum active units per zone

cast send --rpc-url <URL> --private-key <private-key> <contract-address> "setZoneUnitLimit(uint64)" <number>

Change Unit time out blocks

cast send --rpc-url <URL --private-key <private-key> <contract-address> "setUnitTimeoutBlocks(uint64)" <number-of-blocks>

Set Mint price

cast send --rpc-url <URL> --ledger --mnemonic-index 0 <contract-address> "setMintPrice(uint256)" <mint-value>ether

Copy link
Contributor

@5p0rt5BEArD 5p0rt5BEArD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Thank you !

@ldunnplaymint ldunnplaymint merged commit db91e20 into main May 10, 2024
3 checks passed
@ldunnplaymint ldunnplaymint deleted the owner-controls-readme branch May 10, 2024 15:28
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 this pull request may close these issues.

2 participants