offers.iface
@bosonprotocol/core-sdk / Exports / offers / iface
Namespace: iface
offers.iface
Table of contents
Variables
Functions
- argsToOfferDatesStruct
- argsToOfferDurationsStruct
- argsToOfferStruct
- createOfferArgsToStructs
- encodeCreateOffer
- encodeCreateOfferBatch
Variables
bosonOfferHandlerIface
• Const bosonOfferHandlerIface: Interface
Defined in
Functions
argsToOfferDatesStruct
▸ argsToOfferDatesStruct(args): Partial<OfferDatesStruct>
Parameters
| Name | Type |
|---|---|
args | CreateOfferArgs |
Returns
Partial<OfferDatesStruct>
Defined in
argsToOfferDurationsStruct
▸ argsToOfferDurationsStruct(args): Partial<OfferDurationsStruct>
Parameters
| Name | Type |
|---|---|
args | CreateOfferArgs |
Returns
Partial<OfferDurationsStruct>
Defined in
argsToOfferStruct
▸ argsToOfferStruct(args): Partial<OfferStruct>
Parameters
| Name | Type |
|---|---|
args | CreateOfferArgs |
Returns
Partial<OfferStruct>
Defined in
createOfferArgsToStructs
▸ createOfferArgsToStructs(args): [Partial<OfferStruct>, Partial<OfferDatesStruct>, Partial<OfferDurationsStruct>, BigNumberish, BigNumberish]
Parameters
| Name | Type |
|---|---|
args | CreateOfferArgs |
Returns
[Partial<OfferStruct>, Partial<OfferDatesStruct>, Partial<OfferDurationsStruct>, BigNumberish, BigNumberish]
Defined in
encodeCreateOffer
▸ encodeCreateOffer(args): string
Parameters
| Name | Type |
|---|---|
args | CreateOfferArgs |
Returns
string
Defined in
encodeCreateOfferBatch
▸ encodeCreateOfferBatch(argsBatch): string
Parameters
| Name | Type |
|---|---|
argsBatch | CreateOfferArgs[] |
Returns
string