Diamond facets
The Diamond is an EIP-2535 proxy. Each handler facet implements one domain. All functions are reachable through the single Diamond address — cast it to whichever interface you need.
Summary
| Facet | Functions | Events | Errors |
|---|---|---|---|
IBosonAccountHandler | 34 | 16 | 181 |
IBosonAgentHandler | 3 | 0 | 0 |
IBosonBundleHandler | 5 | 1 | 181 |
IBosonBuyerHandler | 3 | 0 | 0 |
IBosonConfigHandler | 38 | 19 | 181 |
IBosonDisputeHandler | 14 | 17 | 181 |
IBosonDisputeResolverHandler | 10 | 0 | 0 |
IBosonExchangeCommitHandler | 6 | 19 | 181 |
IBosonExchangeHandler | 15 | 24 | 181 |
IBosonExchangeManagementHandler | 15 | 16 | 181 |
IBosonFundsHandler | 7 | 8 | 181 |
IBosonGroupHandler | 6 | 2 | 181 |
IBosonMetaTransactionsHandler | 5 | 2 | 181 |
IBosonOfferHandler | 17 | 7 | 181 |
IBosonOrchestrationHandler | 17 | 31 | 181 |
IBosonPauseHandler | 3 | 2 | 181 |
IBosonPriceDiscoveryHandler | 1 | 24 | 181 |
IBosonProtocolInitializationHandler | 1 | 20 | 181 |
IBosonSellerHandler | 17 | 0 | 0 |
IBosonSequentialCommitHandler | 1 | 19 | 181 |
IBosonTwinHandler | 4 | 5 | 181 |
Details
IBosonAccountHandler
Source: contracts/interfaces/handlers/IBosonAccountHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
addFeesToDisputeResolver | (uint256 _disputeResolverId, (address, string, uint256)[] _disputeResolverFees) | — | nonpayable |
addRoyaltyRecipients | (uint256 _sellerId, (address, uint256)[] _royaltyRecipients) | — | nonpayable |
addSellersToAllowList | (uint256 _disputeResolverId, uint256[] _sellerAllowList) | — | nonpayable |
areSellersAllowed | (uint256 _disputeResolverId, uint256[] _sellerIds) | (bool[]) | view |
calculateCollectionAddress | (uint256 _sellerId, bytes32 _collectionSalt) | (address, bool) | view |
createAgent | ((uint256, uint256, address, bool) _agent) | — | nonpayable |
createBuyer | ((uint256, address, bool) _buyer) | — | nonpayable |
createDisputeResolver | ((uint256, uint256, address, address, address, address, string, bool) _disputeResolver, (address, string, uint256)[] _disputeResolverFees, uint256[] _sellerAllowList) | — | nonpayable |
createNewCollection | (string _externalId, (string, uint256, bytes32) _voucherInitValues) | — | nonpayable |
createSeller | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues) | — | nonpayable |
getAgent | (uint256 _agentId) | (bool, (uint256, uint256, address, bool)) | view |
getBuyer | (uint256 _buyerId) | (bool, (uint256, address, bool)) | view |
getDisputeResolver | (uint256 _disputeResolverId) | (bool, (uint256, uint256, address, address, address, address, string, bool), (address, string, uint256)[], uint256[]) | view |
getDisputeResolverByAddress | (address _associatedAddress) | (bool, (uint256, uint256, address, address, address, address, string, bool), (address, string, uint256)[], uint256[]) | view |
getNextAccountId | () | (uint256) | view |
getRoyaltyRecipients | (uint256 _sellerId) | ((address, uint256)[]) | view |
getSeller | (uint256 _sellerId) | (bool, (uint256, address, address, address, address, bool, string), (uint256, uint8)) | view |
getSellerByAddress | (address _associatedAddress) | (bool, (uint256, address, address, address, address, bool, string), (uint256, uint8)) | view |
getSellerByAuthToken | ((uint256, uint8) _associatedAuthToken) | (bool, (uint256, address, address, address, address, bool, string), (uint256, uint8)) | view |
getSellersCollectionCount | (uint256 _sellerId) | (uint256) | view |
getSellersCollections | (uint256 _sellerId) | (address, (address, string)[]) | view |
getSellersCollectionsPaginated | (uint256 _sellerId, uint256 _limit, uint256 _offset) | (address, (address, string)[]) | view |
isSellerSaltAvailable | (address _adminAddres, bytes32 _salt) | (bool) | view |
optInToDisputeResolverUpdate | (uint256 _disputeResolverId, uint8[] _fieldsToUpdate) | — | nonpayable |
optInToSellerUpdate | (uint256 _sellerId, uint8[] _fieldsToUpdate) | — | nonpayable |
removeFeesFromDisputeResolver | (uint256 _disputeResolverId, address[] _feeTokenAddresses) | — | nonpayable |
removeRoyaltyRecipients | (uint256 _sellerId, uint256[] _royaltyRecipientIds) | — | nonpayable |
removeSellersFromAllowList | (uint256 _disputeResolverId, uint256[] _sellerAllowList) | — | nonpayable |
updateAgent | ((uint256, uint256, address, bool) _agent) | — | nonpayable |
updateBuyer | ((uint256, address, bool) _buyer) | — | nonpayable |
updateDisputeResolver | ((uint256, uint256, address, address, address, address, string, bool) _disputeResolver) | — | nonpayable |
updateRoyaltyRecipients | (uint256 _sellerId, uint256[] _royaltyRecipientIds, (address, uint256)[] _royaltyRecipients) | — | nonpayable |
updateSeller | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint8) _authToken) | — | nonpayable |
updateSellerSalt | (uint256 _sellerId, bytes32 _newSalt) | — | nonpayable |
IBosonAgentHandler
Source: contracts/interfaces/handlers/IBosonAgentHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
createAgent | ((uint256, uint256, address, bool) _agent) | — | nonpayable |
getAgent | (uint256 _agentId) | (bool, (uint256, uint256, address, bool)) | view |
updateAgent | ((uint256, uint256, address, bool) _agent) | — | nonpayable |
IBosonBundleHandler
Source: contracts/interfaces/handlers/IBosonBundleHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
createBundle | ((uint256, uint256, uint256[], uint256[]) _bundle) | — | nonpayable |
getBundle | (uint256 _bundleId) | (bool, (uint256, uint256, uint256[], uint256[])) | view |
getBundleIdByOffer | (uint256 _offerId) | (bool, uint256) | view |
getBundleIdByTwin | (uint256 _twinId) | (bool, uint256) | view |
getNextBundleId | () | (uint256) | view |
IBosonBuyerHandler
Source: contracts/interfaces/handlers/IBosonBuyerHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
createBuyer | ((uint256, address, bool) _buyer) | — | nonpayable |
getBuyer | (uint256 _buyerId) | (bool, (uint256, address, bool)) | view |
updateBuyer | ((uint256, address, bool) _buyer) | — | nonpayable |
IBosonConfigHandler
Source: contracts/interfaces/handlers/IBosonConfigHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
getAccessControllerAddress | () | (address) | view |
getAuthTokenContract | (uint8 _authTokenType) | (address) | view |
getBeaconProxyAddress | () | (address) | view |
getBuyerEscalationDepositPercentage | () | (uint256) | view |
getMaxEscalationResponsePeriod | () | (uint256) | view |
getMaxResolutionPeriod | () | (uint256) | view |
getMaxRoyaltyPercentage | () | (uint16) | view |
getMaxTotalOfferFeePercentage | () | (uint16) | view |
getMinDisputePeriod | () | (uint256) | view |
getMinResolutionPeriod | () | (uint256) | view |
getMutualizerGasStipend | () | (uint256) | view |
getPriceDiscoveryAddress | () | (address) | view |
getProtocolFee | (address _exchangeToken, uint256 _price) | (uint256) | view |
getProtocolFeeFlatBoson | () | (uint256) | view |
getProtocolFeePercentage | () | (uint256) | view |
getProtocolFeePercentage | (address _exchangeToken, uint256 _price) | (uint256) | view |
getProtocolFeeTable | (address _tokenAddress) | (uint256[], uint256[]) | view |
getTokenAddress | () | (address) | view |
getTreasuryAddress | () | (address) | view |
getVoucherBeaconAddress | () | (address) | view |
setAccessControllerAddress | (address _accessControllerAddress) | — | nonpayable |
setAuthTokenContract | (uint8 _authTokenType, address _authTokenContract) | — | nonpayable |
setBeaconProxyAddress | (address _beaconProxyAddress) | — | nonpayable |
setBuyerEscalationDepositPercentage | (uint256 _buyerEscalationDepositPercentage) | — | nonpayable |
setMaxEscalationResponsePeriod | (uint256 _maxEscalationResponsePeriod) | — | nonpayable |
setMaxResolutionPeriod | (uint256 _maxResolutionPeriod) | — | nonpayable |
setMaxRoyaltyPercentage | (uint16 _maxRoyaltyPercentage) | — | nonpayable |
setMaxTotalOfferFeePercentage | (uint16 _maxTotalOfferFeePercentage) | — | nonpayable |
setMinDisputePeriod | (uint256 _minDisputePeriod) | — | nonpayable |
setMinResolutionPeriod | (uint256 _minResolutionPeriod) | — | nonpayable |
setMutualizerGasStipend | (uint256 _mutualizerGasStipend) | — | nonpayable |
setPriceDiscoveryAddress | (address _priceDiscovery) | — | nonpayable |
setProtocolFeeFlatBoson | (uint256 _protocolFeeFlatBoson) | — | nonpayable |
setProtocolFeePercentage | (uint256 _protocolFeePercentage) | — | nonpayable |
setProtocolFeeTable | (address _tokenAddress, uint256[] _priceRanges, uint256[] _feePercentages) | — | nonpayable |
setTokenAddress | (address _tokenAddress) | — | nonpayable |
setTreasuryAddress | (address _treasuryAddress) | — | nonpayable |
setVoucherBeaconAddress | (address _voucherBeaconAddress) | — | nonpayable |
IBosonDisputeHandler
Source: contracts/interfaces/handlers/IBosonDisputeHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
decideDispute | (uint256 _exchangeId, uint256 _buyerPercent) | — | nonpayable |
escalateDispute | (uint256 _exchangeId) | — | payable |
expireDispute | (uint256 _exchangeId) | — | nonpayable |
expireDisputeBatch | (uint256[] _exchangeIds) | — | nonpayable |
expireEscalatedDispute | (uint256 _exchangeId) | — | nonpayable |
extendDisputeTimeout | (uint256 _exchangeId, uint256 _newDisputeTimeout) | — | nonpayable |
getDispute | (uint256 _exchangeId) | (bool, (uint256, uint256, uint8), (uint256, uint256, uint256, uint256)) | view |
getDisputeState | (uint256 _exchangeId) | (bool, uint8) | view |
getDisputeTimeout | (uint256 _exchangeId) | (bool, uint256) | view |
isDisputeFinalized | (uint256 _exchangeId) | (bool, bool) | view |
raiseDispute | (uint256 _exchangeId) | — | nonpayable |
refuseEscalatedDispute | (uint256 _exchangeId) | — | nonpayable |
resolveDispute | (uint256 _exchangeId, uint256 _buyerPercent, bytes _signature) | — | nonpayable |
retractDispute | (uint256 _exchangeId) | — | nonpayable |
IBosonDisputeResolverHandler
Source: contracts/interfaces/handlers/IBosonDisputeResolverHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
addFeesToDisputeResolver | (uint256 _disputeResolverId, (address, string, uint256)[] _disputeResolverFees) | — | nonpayable |
addSellersToAllowList | (uint256 _disputeResolverId, uint256[] _sellerAllowList) | — | nonpayable |
areSellersAllowed | (uint256 _disputeResolverId, uint256[] _sellerIds) | (bool[]) | view |
createDisputeResolver | ((uint256, uint256, address, address, address, address, string, bool) _disputeResolver, (address, string, uint256)[] _disputeResolverFees, uint256[] _sellerAllowList) | — | nonpayable |
getDisputeResolver | (uint256 _disputeResolverId) | (bool, (uint256, uint256, address, address, address, address, string, bool), (address, string, uint256)[], uint256[]) | view |
getDisputeResolverByAddress | (address _associatedAddress) | (bool, (uint256, uint256, address, address, address, address, string, bool), (address, string, uint256)[], uint256[]) | view |
optInToDisputeResolverUpdate | (uint256 _disputeResolverId, uint8[] _fieldsToUpdate) | — | nonpayable |
removeFeesFromDisputeResolver | (uint256 _disputeResolverId, address[] _feeTokenAddresses) | — | nonpayable |
removeSellersFromAllowList | (uint256 _disputeResolverId, uint256[] _sellerAllowList) | — | nonpayable |
updateDisputeResolver | ((uint256, uint256, address, address, address, address, string, bool) _disputeResolver) | — | nonpayable |
IBosonExchangeCommitHandler
Source: contracts/interfaces/handlers/IBosonExchangeCommitHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
commitToBuyerOffer | (uint256 _offerId, (uint256, (address[], uint256[]), address) _sellerParams) | — | payable |
commitToConditionalOffer | (address _buyer, uint256 _offerId, uint256 _tokenId) | — | payable |
commitToOffer | (address _buyer, uint256 _offerId) | — | payable |
createOfferAndCommit | (((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256), (uint256, uint256, uint256, uint256), (uint256, uint256, uint256), (uint256, address), (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256), uint256, uint256, bool) _fullOffer, address _offerCreator, address _committer, bytes _signature, uint256 _conditionalTokenId, (uint256, (address[], uint256[]), address) _sellerParams) | — | payable |
isEligibleToCommit | (address _buyer, uint256 _offerId, uint256 _tokenId) | (bool, uint256, uint256) | view |
onPremintedVoucherTransferred | (uint256 _tokenId, address _to, address _from, address _rangeOwner) | (bool) | nonpayable |
IBosonExchangeHandler
Source: contracts/interfaces/handlers/IBosonExchangeHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
cancelVoucher | (uint256 _exchangeId) | — | nonpayable |
completeExchange | (uint256 _exchangeId) | — | nonpayable |
completeExchangeBatch | (uint256[] _exchangeIds) | — | nonpayable |
expireVoucher | (uint256 _exchangeId) | — | nonpayable |
extendVoucher | (uint256 _exchangeId, uint256 _validUntilDate) | — | nonpayable |
getEIP2981Royalties | (uint256 _queryId, bool _isExchangeId) | (address, uint256) | view |
getExchange | (uint256 _exchangeId) | (bool, (uint256, uint256, uint256, uint256, uint8, address), (uint256, uint256, uint256, bool)) | view |
getExchangeState | (uint256 _exchangeId) | (bool, uint8) | view |
getNextExchangeId | () | (uint256) | view |
getReceipt | (uint256 _exchangeId) | ((uint256, uint256, uint256, uint256, uint256, uint256, uint256, (uint256, uint256), uint256, address, uint256, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256), uint256, uint256, bool, uint256, uint256, uint256, uint8, (uint256, uint256, uint256, address, uint8)[])) | view |
getRoyalties | (uint256 _tokenId) | (address[], uint256[]) | view |
isExchangeFinalized | (uint256 _exchangeId) | (bool, bool) | view |
onVoucherTransferred | (uint256 _tokenId, address _newBuyer) | — | nonpayable |
redeemVoucher | (uint256 _exchangeId) | — | nonpayable |
revokeVoucher | (uint256 _exchangeId) | — | nonpayable |
IBosonExchangeManagementHandler
Source: contracts/interfaces/handlers/IBosonExchangeManagementHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
cancelVoucher | (uint256 _exchangeId) | — | nonpayable |
completeExchange | (uint256 _exchangeId) | — | nonpayable |
completeExchangeBatch | (uint256[] _exchangeIds) | — | nonpayable |
expireVoucher | (uint256 _exchangeId) | — | nonpayable |
extendVoucher | (uint256 _exchangeId, uint256 _validUntilDate) | — | nonpayable |
getEIP2981Royalties | (uint256 _queryId, bool _isExchangeId) | (address, uint256) | view |
getExchange | (uint256 _exchangeId) | (bool, (uint256, uint256, uint256, uint256, uint8, address), (uint256, uint256, uint256, bool)) | view |
getExchangeState | (uint256 _exchangeId) | (bool, uint8) | view |
getNextExchangeId | () | (uint256) | view |
getReceipt | (uint256 _exchangeId) | ((uint256, uint256, uint256, uint256, uint256, uint256, uint256, (uint256, uint256), uint256, address, uint256, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256), uint256, uint256, bool, uint256, uint256, uint256, uint8, (uint256, uint256, uint256, address, uint8)[])) | view |
getRoyalties | (uint256 _tokenId) | (address[], uint256[]) | view |
isExchangeFinalized | (uint256 _exchangeId) | (bool, bool) | view |
onVoucherTransferred | (uint256 _tokenId, address _newBuyer) | — | nonpayable |
redeemVoucher | (uint256 _exchangeId) | — | nonpayable |
revokeVoucher | (uint256 _exchangeId) | — | nonpayable |
IBosonFundsHandler
Source: contracts/interfaces/handlers/IBosonFundsHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
depositFunds | (uint256 _entityId, address _tokenAddress, uint256 _amount) | — | payable |
getAllAvailableFunds | (uint256 _entityId) | ((address, string, uint256)[]) | view |
getAvailableFunds | (uint256 _entityId, address[] _tokenList) | ((address, string, uint256)[]) | view |
getTokenList | (uint256 _entityId) | (address[]) | view |
getTokenListPaginated | (uint256 _entityId, uint256 _limit, uint256 _offset) | (address[]) | view |
withdrawFunds | (uint256 _entityId, address[] _tokenList, uint256[] _tokenAmounts) | — | nonpayable |
withdrawProtocolFees | (address[] _tokenList, uint256[] _tokenAmounts) | — | nonpayable |
IBosonGroupHandler
Source: contracts/interfaces/handlers/IBosonGroupHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
addOffersToGroup | (uint256 _groupId, uint256[] _offerIds) | — | nonpayable |
createGroup | ((uint256, uint256, uint256[]) _group, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition) | — | nonpayable |
getGroup | (uint256 _groupId) | (bool, (uint256, uint256, uint256[]), (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256)) | view |
getNextGroupId | () | (uint256) | view |
removeOffersFromGroup | (uint256 _groupId, uint256[] _offerIds) | — | nonpayable |
setGroupCondition | (uint256 _groupId, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition) | — | nonpayable |
IBosonMetaTransactionsHandler
Source: contracts/interfaces/handlers/IBosonMetaTransactionsHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
executeMetaTransaction | (address _userAddress, string _functionName, bytes _functionSignature, uint256 _nonce, bytes _signature) | (bytes) | payable |
isFunctionAllowlisted | (string _functionName) | (bool) | view |
isFunctionAllowlisted | (bytes32 _functionNameHash) | (bool) | view |
isUsedNonce | (address _associatedAddress, uint256 _nonce) | (bool) | view |
setAllowlistedFunctions | (bytes32[] _functionNameHashes, bool _isAllowlisted) | — | nonpayable |
IBosonOfferHandler
Source: contracts/interfaces/handlers/IBosonOfferHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
createOffer | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createOfferBatch | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256)[] _offers, (uint256, uint256, uint256, uint256)[] _offerDates, (uint256, uint256, uint256)[] _offerDurations, (uint256, address)[] _drParameters, uint256[] _agentIds, uint256[] _feeLimits) | — | nonpayable |
extendOffer | (uint256 _offerId, uint256 _validUntilDate) | — | nonpayable |
extendOfferBatch | (uint256[] _offerIds, uint256 _validUntilDate) | — | nonpayable |
getAgentIdByOffer | (uint256 _offerId) | (bool, uint256) | view |
getNextOfferId | () | (uint256) | view |
getOffer | (uint256 _offerId) | (bool, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256), (uint256, uint256, uint256, uint256), (uint256, uint256, uint256), (uint256, uint256, uint256, uint256, address), (uint256, uint256)) | view |
getOfferHash | (((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256), (uint256, uint256, uint256, uint256), (uint256, uint256, uint256), (uint256, address), (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256), uint256, uint256, bool) _fullOffer) | (bytes32) | view |
isOfferVoided | (uint256 _offerId) | (bool, bool) | view |
reserveRange | (uint256 _offerId, uint256 _length, address _to) | — | nonpayable |
updateOfferMutualizer | (uint256 _offerId, address _newMutualizer) | — | nonpayable |
updateOfferRoyaltyRecipients | (uint256 _offerId, (address[], uint256[]) _royaltyInfo) | — | nonpayable |
updateOfferRoyaltyRecipientsBatch | (uint256[] _offerIds, (address[], uint256[]) _royaltyInfo) | — | nonpayable |
voidNonListedOffer | (((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256), (uint256, uint256, uint256, uint256), (uint256, uint256, uint256), (uint256, address), (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256), uint256, uint256, bool) _fullOffer) | — | nonpayable |
voidNonListedOfferBatch | (((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256), (uint256, uint256, uint256, uint256), (uint256, uint256, uint256), (uint256, address), (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256), uint256, uint256, bool)[] _fullOffers) | — | nonpayable |
voidOffer | (uint256 _offerId) | — | nonpayable |
voidOfferBatch | (uint256[] _offerIds) | — | nonpayable |
IBosonOrchestrationHandler
Source: contracts/interfaces/handlers/IBosonOrchestrationHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
createOfferAddToGroup | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, uint256 _groupId, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createOfferAndTwinWithBundle | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createOfferWithCondition | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createOfferWithConditionAndTwinAndBundle | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createPremintedOfferAddToGroup | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, uint256 _groupId, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createPremintedOfferAndTwinWithBundle | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createPremintedOfferWithCondition | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createPremintedOfferWithConditionAndTwinAndBundle | ((uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndOffer | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndOfferAndTwinWithBundle | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndOfferWithCondition | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndOfferWithConditionAndTwinAndBundle | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndPremintedOffer | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndPremintedOfferAndTwinWithBundle | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndPremintedOfferWithCondition | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
createSellerAndPremintedOfferWithConditionAndTwinAndBundle | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint256, uint256, uint256, uint256, uint256, address, uint8, uint8, string, string, bool, uint256, (address[], uint256[])[], uint256) _offer, (uint256, uint256, uint256, uint256) _offerDates, (uint256, uint256, uint256) _offerDurations, (uint256, address) _drParameters, (uint256, address) _premintParameters, (uint8, uint8, address, uint8, uint256, uint256, uint256, uint256) _condition, (uint256, uint256, uint256, uint256, uint256, address, uint8) _twin, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues, uint256 _agentId, uint256 _feeLimit) | — | nonpayable |
raiseAndEscalateDispute | (uint256 _exchangeId) | — | payable |
IBosonPauseHandler
Source: contracts/interfaces/handlers/IBosonPauseHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
getPausedRegions | () | (uint8[]) | view |
pause | (uint8[] _regions) | — | nonpayable |
unpause | (uint8[] _regions) | — | nonpayable |
IBosonPriceDiscoveryHandler
Source: contracts/interfaces/handlers/IBosonPriceDiscoveryHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
commitToPriceDiscoveryOffer | (address _buyer, uint256 _tokenIdOrOfferId, (uint256, uint8, address, address, bytes) _priceDiscovery) | — | payable |
IBosonProtocolInitializationHandler
Source: contracts/interfaces/handlers/IBosonProtocolInitializationHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
getVersion | () | (string) | view |
IBosonSellerHandler
Source: contracts/interfaces/handlers/IBosonSellerHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
addRoyaltyRecipients | (uint256 _sellerId, (address, uint256)[] _royaltyRecipients) | — | nonpayable |
calculateCollectionAddress | (uint256 _sellerId, bytes32 _collectionSalt) | (address, bool) | view |
createNewCollection | (string _externalId, (string, uint256, bytes32) _voucherInitValues) | — | nonpayable |
createSeller | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint8) _authToken, (string, uint256, bytes32) _voucherInitValues) | — | nonpayable |
getRoyaltyRecipients | (uint256 _sellerId) | ((address, uint256)[]) | view |
getSeller | (uint256 _sellerId) | (bool, (uint256, address, address, address, address, bool, string), (uint256, uint8)) | view |
getSellerByAddress | (address _associatedAddress) | (bool, (uint256, address, address, address, address, bool, string), (uint256, uint8)) | view |
getSellerByAuthToken | ((uint256, uint8) _associatedAuthToken) | (bool, (uint256, address, address, address, address, bool, string), (uint256, uint8)) | view |
getSellersCollectionCount | (uint256 _sellerId) | (uint256) | view |
getSellersCollections | (uint256 _sellerId) | (address, (address, string)[]) | view |
getSellersCollectionsPaginated | (uint256 _sellerId, uint256 _limit, uint256 _offset) | (address, (address, string)[]) | view |
isSellerSaltAvailable | (address _adminAddres, bytes32 _salt) | (bool) | view |
optInToSellerUpdate | (uint256 _sellerId, uint8[] _fieldsToUpdate) | — | nonpayable |
removeRoyaltyRecipients | (uint256 _sellerId, uint256[] _royaltyRecipientIds) | — | nonpayable |
updateRoyaltyRecipients | (uint256 _sellerId, uint256[] _royaltyRecipientIds, (address, uint256)[] _royaltyRecipients) | — | nonpayable |
updateSeller | ((uint256, address, address, address, address, bool, string) _seller, (uint256, uint8) _authToken) | — | nonpayable |
updateSellerSalt | (uint256 _sellerId, bytes32 _newSalt) | — | nonpayable |
IBosonSequentialCommitHandler
Source: contracts/interfaces/handlers/IBosonSequentialCommitHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
sequentialCommitToOffer | (address _buyer, uint256 _exchangeId, (uint256, uint8, address, address, bytes) _priceDiscovery) | — | payable |
IBosonTwinHandler
Source: contracts/interfaces/handlers/IBosonTwinHandler.sol
| Function | Inputs | Outputs | Mutability |
|---|---|---|---|
createTwin | ((uint256, uint256, uint256, uint256, uint256, address, uint8) _twin) | — | nonpayable |
getNextTwinId | () | (uint256) | view |
getTwin | (uint256 _twinId) | (bool, (uint256, uint256, uint256, uint256, uint256, address, uint8)) | view |
removeTwin | (uint256 _twinId) | — | nonpayable |
Source
- ABI artifacts:
boson-protocol-contracts/addresses/abis/ - Handler interfaces:
contracts/interfaces/handlers/