Skip to main content

almanak_library.enums

Enum

CoSigners Objects

class CoSigners(Enum)

NONE

EULITH

FIREBLOCKS

ActionType Objects

class ActionType(Enum)

APPROVE

WRAP

UNWRAP

TRANSFER

SWAP

OPEN_LP_POSITION

CLOSE_LP_POSITION

TransactionType Objects

class TransactionType(Enum)

APPROVE

WRAP

UNWRAP

TRANSFER

SWAP

MINT

BURN

COLLECT

INCREASE_LIQUIDITY

DECREASE_LIQUIDITY

CLOSE_POSITION_MULTICALL

SwapSide Objects

class SwapSide(Enum)

BUY

SELL

Chain Objects

class Chain(Enum)

ETHEREUM

ARBITRUM

OPTIMISM

BASE

Protocol Objects

class Protocol(Enum)

UNISWAP_V3

Network Objects

class Network(Enum)

MAINNET

ANVIL

SEPOLIA

ExecutionStatus Objects

class ExecutionStatus(Enum)

CREATED

BUILT

SIGNED

PRE_SEND

Immediately before sending the bundle/transaction

SENT

Immediately after sending the bundle/transaction

SUCCESS

Successfully executed bundle/transaction

FAILED

Failed to execute bundle/transaction

NOT_INCLUDED

Bundle/transaction was not included in the blockchain

CANCELLED

Bundle/transaction was cancelled

PARTIAL_EXECUTION

Not all transactions in the bundle were executed successfully

RECEIPT_UNKNOWN

bundle/transaction receipt cannot be obtained

RECEIPT_PARSED_FAILURE

Failed to parse the receipt successfully

UNKNOWN

The transactions in the bundle have statuses that are not expected