Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Rewards wallet tests #85

@tspoff

Description

@tspoff

Set: A full bonding curve environment with some token holders.

ERC20

  • Send rewards token via the pay() function
  • Send other token via exchangeAndDistribute() and verify the balances (beneficiary & holders)
  • Send reward token via native ERC20 transfer, and have someone distribute, verify balances
  • Send other token via native ERC20 transfer, and then exchangeAndDistribute()

Ether

  • Send ether via fallback function and ensure the proper amounts (beneficiary & holders)
  • Send other token via exchangeAndDistribute() and verify the balances (beneficiary & holders)
  • Send other token via native ERC20 transfer, and then exchangeAndDistribute()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions