moonstream-to / web3

Moonstream game engine for blockchain games. Lootboxes, crafting, dropper, mini games that will enrich your game economy
20 stars 10 forks source link

Implementation of `StatBlock` #328

Closed zomglings closed 1 year ago

zomglings commented 1 year ago

Implements the StatBlock contract and IStatBlock interface. Includes several tests for StatBlock.

StatBlock is implemented here as a standalone contract, not as an EIP2535 facet. In the future, we may add an EIP2535 facet implementation which would support the use of StatBlock with proxies.

Resolves https://github.com/moonstream-to/web3/issues/317

zomglings commented 1 year ago

TODO(zomglings):