Skip to main content

DisputeBase

View Source: contracts/protocol/bases/DisputeBase.sol

↗ Extends: ProtocolBase, IBosonDisputeEvents ↘ Derived Contracts: DisputeHandlerFacet, ExchangeHandlerFacet, MockExchangeHandlerFacet, MockExchangeHandlerFacetWithDefect

DisputeBase

Provides methods for dispute that can be shared across facets.

Functions

raiseDisputeInternal

Raises a dispute
Reverts if:
- Caller does not hold a voucher for the given exchange id
- Exchange does not exist
- Exchange is not in a redeemed state
- Dispute period has elapsed already

function raiseDisputeInternal(struct BosonTypes.Exchange _exchange,
struct BosonTypes.Voucher _voucher,
uint256 _sellerId)
internal

Arguments

NameTypeDescription
_exchangeBosonTypes.Exchangethe exchange
_voucherBosonTypes.Voucherthe associated voucher
_sellerIduint256the seller id