Space Bats
  • Welcome to Space Bats
    • Lore
  • Tokenomics
    • $SPACE
    • Initial LP Allocation Curve
    • Contracts
    • Token Burn
  • Staking
    • Staking Gameplay
    • Harmony Epoch
    • Blackhole
    • Utility Genesis
    • Dimensional Warp
    • Upcoming Structure
  • Worlds
    • Definition
    • Categories
    • World List
    • Gnikase
      • Allies
      • Nemesis
      • Damage / Intoxication
      • Weapons / Communication
      • Shields / Protection
      • Surrounding Space / Bases
      • Landscape / Beings / Creatures
      • Transportation
      • Accessories
  • Extras
    • About
    • Wallet Compatability
    • $SPACE Contract
Powered by GitBook
On this page
  1. Staking

Utility Genesis

Space Bats Utility Genesis ERC721 Token

PreviousBlackholeNextDimensional Warp

Last updated 3 years ago

The Space Bats Utility Genesis token currently yields the highest fixed rewards in the Space Bats eco system. Each Utility Genesis token can yield at minimum 1 $SPACE per day and a can yield a maximum of 7 $SPACE per day.

The yield of a Genesis token is calculated as a multiple of a Genesis token's Bat Warp value on withdrawal. This Bat Warp value is generated algorithmically at mint using a variation the largest uint256 value available in solidity: 115792089237316195423570985008687907853269984665640564039457584007913129639935 or 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff.

We take that MAX_INT value and assign it as the maximum possible number of light years that one can travel through the Space Bats universe. The maxLightYears value is then divided by ten:

uint256 tenthMaxLightYears = uint256(maxLightYears) / uint256(10);

In order to evenly distribute the randomly assigned Bat Warp value, we perform a one time fixed random shuffle on the integers 1 to 7, placing each within a range of the light years available and the integer 1 within a range of four consecutive light year ranges.

This sets a Bat Warp or 1 as the most heavily weighted value to be returned from the equation.

At mint of a Genesis token, a user's light year to allow for assignment of a Bat Warp is calculated using a hash of two version 4 uuid values concatenated with the token id.

  uint256 randomLightYear = random(string(abi.encodePacked("a9c3de51-7f03-4f66-85c6-a1e53790c245","2984147e-a978-49fc-839c-67c964cd921a,"toString(tokenId))));

This results in the generation of a fixed Bat Warp value that can be staked in the Blackhole to yield rewards that utilize the Bat Warp value as a multiple upon withdrawal.

There will be 10,000 Genesis tokens released at launch at a price of 350 ONE.

keccak256