Skip to main content

IBosonExchangeEvents

View Source: contracts/interfaces/events/IBosonExchangeEvents.sol

↘ Derived Contracts: IBosonExchangeHandler

IBosonExchangeEvents

Defines events related to exchanges within the protocol.

Events

BuyerCommitted

event BuyerCommitted(
uint256 indexed offerId
uint256 indexed buyerId
uint256 indexed exchangeId
struct BosonTypes.Exchange exchange
struct BosonTypes.Voucher voucher
address executedBy
)

Parameters

NameTypeDescription
offerIduint256
buyerIduint256
exchangeIduint256
exchangeBosonTypes.Exchange
voucherBosonTypes.Voucher
executedByaddress

ExchangeCompleted

event ExchangeCompleted(
uint256 indexed offerId
uint256 indexed buyerId
uint256 indexed exchangeId
address executedBy
)

Parameters

NameTypeDescription
offerIduint256
buyerIduint256
exchangeIduint256
executedByaddress

VoucherCanceled

event VoucherCanceled(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)

Parameters

NameTypeDescription
offerIduint256
exchangeIduint256
executedByaddress

VoucherExpired

event VoucherExpired(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)

Parameters

NameTypeDescription
offerIduint256
exchangeIduint256
executedByaddress

VoucherExtended

event VoucherExtended(
uint256 indexed offerId
uint256 indexed exchangeId
uint256 validUntil
address indexed executedBy
)

Parameters

NameTypeDescription
offerIduint256
exchangeIduint256
validUntiluint256
executedByaddress

VoucherRedeemed

event VoucherRedeemed(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)

Parameters

NameTypeDescription
offerIduint256
exchangeIduint256
executedByaddress

VoucherRevoked

event VoucherRevoked(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)

Parameters

NameTypeDescription
offerIduint256
exchangeIduint256
executedByaddress

VoucherTransferred

event VoucherTransferred(
uint256 indexed offerId
uint256 indexed exchangeId
uint256 indexed newBuyerId
address executedBy
)

Parameters

NameTypeDescription
offerIduint256
exchangeIduint256
newBuyerIduint256
executedByaddress

ConditionalCommitAuthorized

event ConditionalCommitAuthorized(
uint256 indexed offerId
enum BosonTypes.GatingType gating
address indexed buyerAddress
uint256 indexed tokenId
uint256 commitCount
uint256 maxCommits
)

Parameters

NameTypeDescription
offerIduint256
gatingenum BosonTypes.GatingType
buyerAddressaddress
tokenIduint256
commitCountuint256
maxCommitsuint256