Skip to main content

IBosonTwinEvents

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

↘ Derived Contracts: IBosonExchangeHandler, IBosonOrchestrationHandler, IBosonTwinHandler

IBosonTwinEvents

Defines events related to management of twins within the protocol.

Events

TwinCreated

event TwinCreated(
uint256 indexed twinId
uint256 indexed sellerId
struct BosonTypes.Twin twin
address indexed executedBy
)

Parameters

NameTypeDescription
twinIduint256
sellerIduint256
twinBosonTypes.Twin
executedByaddress

TwinDeleted

event TwinDeleted(
uint256 indexed twinId
uint256 indexed sellerId
address indexed executedBy
)

Parameters

NameTypeDescription
twinIduint256
sellerIduint256
executedByaddress

TwinTransferred

event TwinTransferred(
uint256 indexed twinId
address indexed tokenAddress
uint256 indexed exchangeId
uint256 tokenId
uint256 amount
address executedBy
)

Parameters

NameTypeDescription
twinIduint256
tokenAddressaddress
exchangeIduint256
tokenIduint256
amountuint256
executedByaddress

TwinTransferFailed

event TwinTransferFailed(
uint256 indexed twinId
address indexed tokenAddress
uint256 indexed exchangeId
uint256 tokenId
uint256 amount
address executedBy
)

Parameters

NameTypeDescription
twinIduint256
tokenAddressaddress
exchangeIduint256
tokenIduint256
amountuint256
executedByaddress

TwinTransferSkipped

event TwinTransferSkipped(
uint256 indexed exchangeId
uint256 twinCount
address indexed executedBy
)

Parameters

NameTypeDescription
exchangeIduint256
twinCountuint256
executedByaddress