Ratings

Only those that count can rate you...

Only counterparts in active trades are able to rate each other. Therefore, counterparts invoke special functions in the Trade contract and they identify the counterpart, not by address, but by trade through the token id.

const txHash = await buyer.invoke(
    txAssetContract, 
    "rate", 
    { 
      tokenId: toUint256WithFelts("0"),
      rating:  toUint256WithFelts("1")
    },
    { maxFee: FEE}
  )

Next is about fund withdrawals.

Last updated