IBosonExchangeEvents
View Source: contracts/interfaces/events/IBosonExchangeEvents.sol
↘ Derived Contracts: IBosonExchangeHandler
IBosonExchangeEvents
Defines events related to exchanges within the protocol.
Events
- BuyerCommitted
- ExchangeCompleted
- VoucherCanceled
- VoucherExpired
- VoucherExtended
- VoucherRedeemed
- VoucherRevoked
- VoucherTransferred
- ConditionalCommitAuthorized
BuyerCommitted
event BuyerCommitted(
uint256 indexed offerId
uint256 indexed buyerId
uint256 indexed exchangeId
struct BosonTypes.Exchange exchange
struct BosonTypes.Voucher voucher
address executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
buyerId | uint256 | |
exchangeId | uint256 | |
exchange | BosonTypes.Exchange | |
voucher | BosonTypes.Voucher | |
executedBy | address |
ExchangeCompleted
event ExchangeCompleted(
uint256 indexed offerId
uint256 indexed buyerId
uint256 indexed exchangeId
address executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
buyerId | uint256 | |
exchangeId | uint256 | |
executedBy | address |
VoucherCanceled
event VoucherCanceled(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
exchangeId | uint256 | |
executedBy | address |
VoucherExpired
event VoucherExpired(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
exchangeId | uint256 | |
executedBy | address |
VoucherExtended
event VoucherExtended(
uint256 indexed offerId
uint256 indexed exchangeId
uint256 validUntil
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
exchangeId | uint256 | |
validUntil | uint256 | |
executedBy | address |
VoucherRedeemed
event VoucherRedeemed(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
exchangeId | uint256 | |
executedBy | address |
VoucherRevoked
event VoucherRevoked(
uint256 indexed offerId
uint256 indexed exchangeId
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
exchangeId | uint256 | |
executedBy | address |
VoucherTransferred
event VoucherTransferred(
uint256 indexed offerId
uint256 indexed exchangeId
uint256 indexed newBuyerId
address executedBy
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
exchangeId | uint256 | |
newBuyerId | uint256 | |
executedBy | address |
ConditionalCommitAuthorized
event ConditionalCommitAuthorized(
uint256 indexed offerId
enum BosonTypes.GatingType gating
address indexed buyerAddress
uint256 indexed tokenId
uint256 commitCount
uint256 maxCommits
)
Parameters
Name | Type | Description |
---|---|---|
offerId | uint256 | |
gating | enum BosonTypes.GatingType | |
buyerAddress | address | |
tokenId | uint256 | |
commitCount | uint256 | |
maxCommits | uint256 |