Skip to content

Error: assertion failure with message: The taker marketplace is not a valid marketplace #1

@lurk24

Description

@lurk24

I am trying to interact with the contract on wax and receiving this error:
Error: assertion failure with message: The taker marketplace is not a valid marketplace

The transaction was setup like this:

let txnAct1 = {
  "account":"atomicmarket",
  "name":"assertsale",
  "authorization":[
    {
    "actor": actor,
    "permission": permission
    }
  ],
  "data":{
    "sale_id": sale.sale_id,
    "asset_ids_to_assert": assetsToBuy,
    "listing_price_to_assert":formatToken(sale.price.amount, sale.price.token_precision)+' '+sale.price.token_symbol,
    "settlement_symbol_to_assert":sale.price.token_precision+','+sale.price.token_symbol
    }
  }
let txnAct2 = {
  "account":"eosio.token",
  "name":"transfer",
  "authorization":[
    {
      "actor": actor,
      "permission": permission
    }
  ],
  "data": {
  "from": actor,
  "to":"atomicmarket",
  "quantity": formatToken(sale.price.amount, sale.price.token_precision)+' '+sale.price.token_symbol,
  "memo":"deposit"
  }
}
let txnAct3 = {
"account":"atomicmarket",
"name":"purchasesale",
"authorization":[
    {
    "actor":actor,
    "permission":permission
    }
  ],
"data":{
  "buyer":actor,
  "sale_id":sale.sale_id,
  "intended_delphi_median":0,
  "taker_marketplace":"waxstats1111"
  }
}
transactionData = {
  'actions': [txnAct1, txnAct2, txnAct3],
}

I am trying to specify a taker_marketplace which seems to be the problem... I thought this was as simple as specifying any valid account, for example: waxstats1111 -- If this is wrong, what is needed to become a valid marketplace?

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