Skip to content

FungibleToken and NonFungibleToken Contract too strict (doesn't allow other states in same transaction) #227

@sandeepnRES

Description

@sandeepnRES

Hi,

Can the contracts for FungibleToken and NonFungibleToken be relaxed, as right now it doesn't allow any state to be present in any of the transactions, except token.

But what if we want to use FungibleToken along with other states in some transactions, we could get help if you can relax the contracts, by checking only StateOfType<FungibleToken>?

Let's say we have IOU example, and we want to consume/update IOU state along with Tokens transfer, and the contracts commands like verifyMove doesn't allow the transactions to have IOUState and FungibleToken in this transaction.

Correct me if I'm wrong here. Also a quick reply would help, as we are working with a client for such use-case with a tight deadline.

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