Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration EventType

Events emitted by the SDK. There are five types:

  1. Transaction events, which tell you when a new transaction was created, confirmed, denied, or failed.
  2. pre-transaction events, which are named (like "WrapEth") and indicate that Web3 is asking for a signature on a transaction that needs to occur before an order is made or fulfilled. This includes approval events and account initialization.
  3. Basic actions: matching, cancelling, and creating orders. The "CreateOrder" event fires when a signature is being prompted to create an off-chain order. The "OrderDenied" event fires when a signature request is denied by the user.
  4. The "TransferAll" event, which fires when a user is about to directly transfer one or more assets to another account

Index

Enumeration members

ApproveAllAssets

ApproveAllAssets: = "ApproveAllAssets"

ApproveAsset

ApproveAsset: = "ApproveAsset"

ApproveCurrency

ApproveCurrency: = "ApproveCurrency"

CancelOrder

CancelOrder: = "CancelOrder"

CreateOrder

CreateOrder: = "CreateOrder"

InitializeAccount

InitializeAccount: = "InitializeAccount"

MatchOrders

MatchOrders: = "MatchOrders"

OrderDenied

OrderDenied: = "OrderDenied"

TransactionConfirmed

TransactionConfirmed: = "TransactionConfirmed"

TransactionCreated

TransactionCreated: = "TransactionCreated"

TransactionDenied

TransactionDenied: = "TransactionDenied"

TransactionFailed

TransactionFailed: = "TransactionFailed"

TransferAll

TransferAll: = "TransferAll"

UnwrapWeth

UnwrapWeth: = "UnwrapWeth"

WrapEth

WrapEth: = "WrapEth"

Generated using TypeDoc