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
Name | Type | Description |
---|---|---|
twinId | uint256 | |
sellerId | uint256 | |
twin | BosonTypes.Twin | |
executedBy | address |
TwinDeleted
event TwinDeleted(
uint256 indexed twinId
uint256 indexed sellerId
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
twinId | uint256 | |
sellerId | uint256 | |
executedBy | address |
TwinTransferred
event TwinTransferred(
uint256 indexed twinId
address indexed tokenAddress
uint256 indexed exchangeId
uint256 tokenId
uint256 amount
address executedBy
)
Parameters
Name | Type | Description |
---|---|---|
twinId | uint256 | |
tokenAddress | address | |
exchangeId | uint256 | |
tokenId | uint256 | |
amount | uint256 | |
executedBy | address |
TwinTransferFailed
event TwinTransferFailed(
uint256 indexed twinId
address indexed tokenAddress
uint256 indexed exchangeId
uint256 tokenId
uint256 amount
address executedBy
)
Parameters
Name | Type | Description |
---|---|---|
twinId | uint256 | |
tokenAddress | address | |
exchangeId | uint256 | |
tokenId | uint256 | |
amount | uint256 | |
executedBy | address |
TwinTransferSkipped
event TwinTransferSkipped(
uint256 indexed exchangeId
uint256 twinCount
address indexed executedBy
)
Parameters
Name | Type | Description |
---|---|---|
exchangeId | uint256 | |
twinCount | uint256 | |
executedBy | address |