-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gas optimizations and general code cleanup (#369)
* Changes public interface `start` to `new_game` to be more description * Inputs to `new_game` have been greatly simplified, now requiring only: {Client Address, Weapon, Name} * Removes unused variables {Home Realm, Class} from AdventurerMeta and expands storage space for Name * Reduces gas for Packing/Unpacking by taking advantage of U256DivRem added in V0.12.1 * Changes public interface `drop_items` to `drop` * Changes public interface `upgrade_adventurer` to `upgrade` * Removes Gold from Beast Seed hash to reduce manipulation * Adds block timestamp to Adventurer Seed hash to increase randomness
- Loading branch information
Showing
7 changed files
with
345 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0666023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
loot-survivor – ./
loot-survivor-git-main-loot-bibliotheca.vercel.app
survivor.realms.world
beta-survivor.realms.world
loot-survivor-loot-bibliotheca.vercel.app
loot-survivor.vercel.app