Skip to content

Support more currencies in proposal payments #91

@jeisses

Description

@jeisses

Feature

Users should be able to select multiple tokens as payment for their proposal, like NFX or EOS, instead of just EFX.

Description

Effect DAO currently supports 1 currency as payment for a proposal. The smart contract design already supports multiple tokens but for simplicity this has been disabled. In recent DAO calls we discussed the need to allow NFX and EOS to be paid as rewards.

This proposals smart contract will need a small update to enable support for multiple tokens.

A side note on security: it should not cause much problems to allow arbitrary currencies. If someone adds currencies the DAO does not own this should be detected by the UI so people won't vote on it, and the proposal will not be able to execute anyways. There is a small risk of the spent map of the cycle to consume a lot of RAM, but this only gets populated for approved proposals anyways.

Steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions