Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Minor Changes
#82
c53987d3423287f11af3e41e5f83fe1a13fa9f48
Thanks @peersky! - # Changeset for branch 64-principal-game-cost-time-parametersSummary
This branch introduces significant changes to game cost and time parameters, payment handling, and rank token mechanics, along with several code improvements and bug fixes.
Changes
Core Game Mechanics
LibRankify.sol
:Libraries
LibTBG.sol
:startedAt
timestamp for minimum game time trackinggetGameSettings()
togetSettings(uint256 gameId)
for better clarityTokens
DistributableGovernanceERC20.sol
:RankToken.sol
:Vendor
DiamondCloneable.sol
toDiamondClonable.sol
:DiamondLoupeFacet.sol
:LibDiamond.sol
:Removed Files
test/DNSFacet.ts
src/facets/DNSFacet.sol
src/initializers/MultipassInit.sol
src/libraries/LibMultipass.sol
src/interfaces/IMultipass.sol
Mocks
RankifyInstanceEventMock.sol
:Breaking Changes
Migration Guide
#57
5360ba4fbc5029dc572b78fb330a69a6df903826
Thanks @peersky! - eslint major verison change#50
80e2198289cf6fafae910d5a4f1d3442afabbbfb
Thanks @peersky! - Migration to v5#48
d449bb2174c3959447d717bb0d0d64f617467a45
Thanks @peersky! - changed documentation generation system to be more readable and per file separated#86
5a4493123798682b7cbd3eeddf277dc11cd023da
Thanks @peersky! - added playbooks for adding distribution and creating subject, removed old multipass playbook#61
db186f717e1babebf6c1653afb7862d2120e545e
Thanks @peersky! - Updated readme#53
999e9339e318723137ddc2f9d640c54f157e67b9
Thanks @peersky! - added playbook functionality to execute state emulation#66
40e4f88c1b27d2d1e3c4f915337779f8cfb0ed35
Thanks @peersky! - moved eds as dependency#50
80e2198289cf6fafae910d5a4f1d3442afabbbfb
Thanks @peersky! - Migrated to oz contracts v5#55
73ea44f3e83cd3eab3d8f9db1a605606cfcfed21
Thanks @peersky! - generic diamond factory implementation via Ethereum Distribution System#62
0c4f23cca04fa78564877cbb971ade0a96603314
Thanks @peersky! - ## Addition of Ethereum Distribution System (EDS)Redesign of Contracts
Impact
Next Steps
#84
26bcabd15ced84405dc20009b89edd572bbf0128
Thanks @peersky! - # Changeset SummaryOverview
Added ability to end turns if there are inactive players without waiting for their move.
Changes
ArguableVotingTournament.sol
RankifyInstanceMainFacetSelectors
from 27 to 28.RankifyInstanceMainFacet.isActive.selector
.RankifyInstanceMainFacet.sol
isActive
which takes agameId
and aplayer
address and returns a boolean indicating if the game is active for the player.LibQuadraticVoting.sol
voterVoted
toisActive
in thecomputeScoresByVPIndex
function.notVotedGivesEveryone
to useq.maxQuadraticPoints
.!isActive[vi]
instead of!voterVoted[vi]
.LibTurnBasedGame.sol
isActive
mapping to track active players.numActivePlayers
to count the number of active players.resetGame
function to initializeisActive
tofalse
for all players and resetnumActivePlayers
.addPlayer
to initializeisActive
tofalse
for new participants.canEndTurnEarly
to check if all active players have made their move before allowing an early turn end._clearCurrentMoves
functionstartGame
function to set all players as active initially.recordMove
to mark a player as active when they make a move and incrementnumActivePlayers
.Summary of Changes
isActive
function inRankifyInstanceMainFacet.sol
to check the active status of a game for a specific player.LibQuadraticVoting.sol
to align with the new active status checking mechanism.ArguableVotingTournament.sol
to accommodate the new functionality.LibTurnBasedGame.sol
, enhancing game state management and turn-based logic.These changes introduce new functionality to check the active status of a game, which likely impacts how games are managed and interacted with in your application.
#81
3cfd71fc9c15c11d6a357aa7ec42607d4cde8387
Thanks @peersky! - renamed distributor contract to DAO distributor and used TokenizedDistributor instead of casual one#60
55fc1a6ed9f1b7fc4520c3ec6fab5c7f7ae7a3b5
Thanks @theKosmoss! - Created new playbook scenario 'gameCreated' and some general playbooks refactors#31
3da696b43f43af8b3130bf7aa2d93575b656d66f
Thanks @peersky! - Introduced installer interfaces#87
27e1c1af2d139479a5e4d1db26ad076ffdb237db
Thanks @peersky! - fixed createGame playbook#91
df675d896269218e2d5a6742eb6ed3423f8789b4
Thanks @peersky! - - added deployment artifacts for 0.10.0 releasePatch Changes
#54
569fb0f7cc0cd7a99065fae3873296378b8ffd1a
Thanks @peersky! - corrected interface file names#67
da9978ee38b136e5e7cf8a1f68fcb101ede9eae2
Thanks @peersky! - improved documentation generation for mkdocs compatible markdown outputs#49
ae43df3f35fdcd49d33d76eaf9b452dbe453e202
Thanks @peersky! - Fixed linter errors on docs templates directory#85
9246d9faac56d6897912934259212558ca0ad975
Thanks @peersky! - # Documentation updateda719bf84721521f733227f703d4787ec779d74e7
Thanks @peersky! - added deployment to anvil artifacts; ensured deploy scripts do not fail if deployment artifacts already registred on index#93
be671ff81117bcc3ccb6af3408c1198532c31317
Thanks @peersky! - added viem compatible abi exports as typescript#89
f5aa8c956528ed1db83a1872ae5dfa8a29b4f3c6
Thanks @peersky! - ensured rank token gets env from setup results & minor improvementsa719bf84721521f733227f703d4787ec779d74e7
Thanks @peersky! - removed rankify instance from deployment artifacts in favor of MAODistribution#69
be9d58a44f4d8f97aeae83e904d2d72a485ae169
Thanks @peersky! - doc generation template improvements#44
55c3a8531a053905a94fc4626c0dd9c897ff46fe
Thanks @peersky! - moved to using newer pnpm version in ci and lockfile