Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Reference — Contracts: Structs · Boson Protocol
Skip to content

Structs

These structs surface in the function inputs and outputs of the Diamond's facets. Names match the on-chain Solidity declarations. Nested structs reference each other by short name.

BosonTypes (31)

Agent

FieldType
iduint256
feePercentageuint256
walletaddress
activebool

AuthToken

FieldType
tokenIduint256
tokenTypeAuthTokenType (enum)

Bundle

FieldType
iduint256
sellerIduint256
offerIdsuint256[]
twinIdsuint256[]

Buyer

FieldType
iduint256
walletaddress
activebool

Collection

FieldType
collectionAddressaddress
externalIdstring

Condition

FieldType
methodEvaluationMethod (enum)
tokenTypeTokenType (enum)
tokenAddressaddress
gatingGatingType (enum)
minTokenIduint256
thresholduint256
maxCommitsuint256
maxTokenIduint256

Dispute

FieldType
exchangeIduint256
buyerPercentuint256
stateDisputeState (enum)

DisputeDates

FieldType
disputeduint256
escalateduint256
finalizeduint256
timeoutuint256

DisputeResolutionTerms

FieldType
disputeResolverIduint256
escalationResponsePerioduint256
feeAmountuint256
buyerEscalationDeposituint256
mutualizerAddressaddress

DisputeResolver

FieldType
iduint256
escalationResponsePerioduint256
assistantaddress
adminaddress
clerkaddress
treasuryaddress
metadataUristring
activebool

DisputeResolverFee

FieldType
tokenAddressaddress
tokenNamestring
feeAmountuint256

DRParameters

FieldType
disputeResolverIduint256
mutualizerAddressaddress

Exchange

FieldType
iduint256
offerIduint256
buyerIduint256
finalizedDateuint256
stateExchangeState (enum)
mutualizerAddressaddress

FullOffer

FieldType
offerOffer
offerDatesOfferDates
offerDurationsOfferDurations
drParametersDRParameters
conditionCondition
agentIduint256
feeLimituint256
useDepositedFundsbool

Funds

FieldType
tokenAddressaddress
tokenNamestring
availableAmountuint256

Group

FieldType
iduint256
sellerIduint256
offerIdsuint256[]

Offer

FieldType
iduint256
sellerIduint256
priceuint256
sellerDeposituint256
buyerCancelPenaltyuint256
quantityAvailableuint256
exchangeTokenaddress
priceTypePriceType (enum)
creatorOfferCreator (enum)
metadataUristring
metadataHashstring
voidedbool
collectionIndexuint256
royaltyInfoRoyaltyInfo[]
buyerIduint256

OfferDates

FieldType
validFromuint256
validUntiluint256
voucherRedeemableFromuint256
voucherRedeemableUntiluint256

OfferDurations

FieldType
disputePerioduint256
voucherValiduint256
resolutionPerioduint256

OfferFees

FieldType
protocolFeeuint256
agentFeeuint256

PremintParameters

FieldType
reservedRangeLengthuint256
toaddress

PriceDiscovery

FieldType
priceuint256
sideSide (enum)
priceDiscoveryContractaddress
conduitaddress
priceDiscoveryDatabytes

Receipt

FieldType
exchangeIduint256
offerIduint256
buyerIduint256
sellerIduint256
priceuint256
sellerDeposituint256
buyerCancelPenaltyuint256
offerFeesOfferFees
agentIduint256
exchangeTokenaddress
finalizedDateuint256
conditionCondition
committedDateuint256
redeemedDateuint256
voucherExpiredbool
disputeResolverIduint256
disputedDateuint256
escalatedDateuint256
disputeStateDisputeState (enum)
twinReceiptsTwinReceipt[]

RoyaltyInfo

FieldType
recipientsaddress[]
bpsuint256[]

RoyaltyRecipientInfo

FieldType
walletaddress
minRoyaltyPercentageuint256

Seller

FieldType
iduint256
assistantaddress
adminaddress
clerkaddress
treasuryaddress
activebool
metadataUristring

SellerOfferParams

FieldType
collectionIndexuint256
royaltyInfoRoyaltyInfo
mutualizerAddressaddress

Twin

FieldType
iduint256
sellerIduint256
amountuint256
supplyAvailableuint256
tokenIduint256
tokenAddressaddress
tokenTypeTokenType (enum)

TwinReceipt

FieldType
twinIduint256
tokenIduint256
amountuint256
tokenAddressaddress
tokenTypeTokenType (enum)

Voucher

FieldType
committedDateuint256
validUntilDateuint256
redeemedDateuint256
expiredbool

VoucherInitValues

FieldType
contractURIstring
royaltyPercentageuint256
collectionSaltbytes32

Source

Related