Technical Reference

Message Execution Options

Bakstag supports 4 message types, each with configured enforced options:

Enforced Options

MessageGasOrderedPathDescription
OfferCreated200,000NoSource to DestinationSent when an offer is created.
OfferAccepted100,000YesDestination to SourceSent when an offer is accepted.
OfferCancelOrder305,000NoSource to DestinationSent when an advertiser orders the cancelation of an offer.
OfferCanceled100,000YesDestination to SourceSent to complete cancelation. Curious?

Extra Options

Note that OfferCancelOrder message also requires an additional value, included within the extra options.

Options Builder

Options Builder

OptionsBuilder
    .newOptions()
    .addExecutorLzReceiveOption(200000, 0)

OptionsBuilder
    .newOptions()
    .addExecutorLzReceiveOption(100000, 0)
    .addExecutorOrderedExecutionOption()

OptionsBuilder
    .newOptions()
    .addExecutorLzReceiveOption(305000, 0)

OptionsBuilder
    .newOptions()
    .addExecutorLzReceiveOption(100000, 0)
    .addExecutorOrderedExecutionOption()

Further Information

Check out LayerZero’s Message Execution Options.

Previous
Limitations
Next
V2