[][src]Function marketplace::buy_dtoken_from_reseller

pub fn buy_dtoken_from_reseller(
    resource_id: &[u8],
    n: U128,
    buyer_account: &Address,
    reseller_account: &Address
) -> bool

buy dtoken from reseller

The seller can sell what he bought before he used it

resource_id used to mark the only commodity in the chain

n is the number of purchases

buyer_account is buyer address, need this address signature

reseller_account is reseller address, need this address signature