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
Name | Type | Description |
---|---|---|
_exchange | BosonTypes.Exchange | the exchange |
_voucher | BosonTypes.Voucher | the associated voucher |
_sellerId | uint256 | the seller id |