Skip to content

Store more constants in RlayToken #13

@hobofan

Description

@hobofan

Some constants that are used in rlay-client for the payout calculation are currently inferred there. They should instead be stored inside the RlayToken contract and retrieved by rlay-client from there. This should make it easier to build alternative clients and also possibly impose smart-contract side checks that ensure that they are being used correctly.

Constants:

  • EPOCH_LENGTH
  • EPOCH_START_BLOCK (should be the block the smart contract was deployed in)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions