# FLIP_SALE_MODE

To enable Flip mode, all you need to do is to fill FLIP_SALE_SENDER and FLIP_SALE_FUNCTION fields in your .csv file.

# What is Flip Mode?

Flip mode is useful to use when contracts have a "Flip Sale method" that's going to set the sale active.

How can we take advantage of it?

When you're running Flip Mode, you're monitoring those specific functions, tasks will keep sleeping until that specific function is viewable in Ethereum's transactions mempool. This also means that, if they're sending transaction as private, through flashbot, it won't work out.

Also there's no need to set Gas mode / Gwei values, as Bot will handle everything for each task.

# FLIP_SALE_FUNCTION

Taking BAYC (0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D) contract as an example, flipSaleState is the FLIP_SALE_FUNCTION.

Flip sale function
Flip sale function

# FLIP_SALE_SENDER

FLIP_SALE_SENDER is the address that can call the flip sale function (it's usually an onlyOwner method), so contract's owner will be the sender.

Flip sale sender
Flip sale sender

# Setup

Flip mode
Flip mode

In case there is more than 1 address authorised to flip the sale, you can monitor multiple addresses splitting each with ,

E.g: 0xff43bd6879a3f0a5ebc2de9d03a901b424d00af2,0x9e92adaCA7e6935cE1097057FB7A3d197c555296

# Warnings

Keep in mind this mode is experimental, it has proven it's success but there's always a chance your transaction doesn't get included. When that happens, you can either cancel transaction or let it revert, it usually costs few $.

Also, not every contract has a flip sale method that can be triggered with a function, some contracts check block.timestamp to handle wether the sale is active or it is not.