Events

The cdp module emits the following events:

Handlers

MsgCreateCDP

TypeAttribute KeyAttribute Value
messagemodulecdp
messagesender`{sender address}’
create_cdpcdp_id`{cdp id}’
cdp_depositcdp_id`{cdp id}’
cdp_depositamount`{deposit amount}’
cdp_drawcdp_id`{cdp id}’
cdp_drawamount`{draw amount}’

MsgWithdraw

TypeAttribute KeyAttribute Value
messagecdp_withdrawal`{collateral amount}’
messagecdp_id`{cdp_id}’
messagemodulecdp
messagesender`{sender address}’

MsgDeposit

TypeAttribute KeyAttribute Value
messagemodulecdp
messagesender`{sender address}’
cdp_depositcdp_id`{cdp id}’
cdp_depositamount`{deposit amount}’

MsgDrawDebt

TypeAttribute KeyAttribute Value
messagemodulecdp
messagesender`{sender address}’
cdp_drawcdp_id`{cdp id}’
cdp_drawamount`{draw amount}’

MsgRepayDebt

TypeAttribute KeyAttribute Value
cdp_repaymentamount`{repayment amount}’
cdp_repaymentcdp_id`{cdp id}’
cdp_closecdp_id`{cdp id}’
messagemodulecdp
messagesender`{sender address}’

BeginBlock

TypeAttribute KeyAttribute Value
cdp_liquidationmodulecdp
cdp_liquidationcdp_id`{cdp id}’
cdp_liquidationdeposit`{deposit}’
cdp_begin_blocker_errormodulecdp
cdp_begin_blocker_errorerror_message`{error}’