github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/staking/spec/07_events.md (about)

     1  <!--
     2  order: 7
     3  -->
     4  
     5  # Events
     6  
     7  The staking module emits the following events:
     8  
     9  ## EndBlocker
    10  
    11  | Type                  | Attribute Key         | Attribute Value           |
    12  | --------------------- | --------------------- | ------------------------- |
    13  | complete_unbonding    | amount                | {totalUnbondingAmount}    |
    14  | complete_unbonding    | validator             | {validatorAddress}        |
    15  | complete_unbonding    | delegator             | {delegatorAddress}        |
    16  | complete_redelegation | amount                | {totalRedelegationAmount} |
    17  | complete_redelegation | source_validator      | {srcValidatorAddress}     |
    18  | complete_redelegation | destination_validator | {dstValidatorAddress}     |
    19  | complete_redelegation | delegator             | {delegatorAddress}        |
    20  
    21  ## Handlers
    22  
    23  ### MsgCreateValidator
    24  
    25  | Type             | Attribute Key | Attribute Value    |
    26  | ---------------- | ------------- | ------------------ |
    27  | create_validator | validator     | {validatorAddress} |
    28  | create_validator | amount        | {delegationAmount} |
    29  | message          | module        | staking            |
    30  | message          | action        | create_validator   |
    31  | message          | sender        | {senderAddress}    |
    32  
    33  ### MsgEditValidator
    34  
    35  | Type           | Attribute Key       | Attribute Value     |
    36  | -------------- | ------------------- | ------------------- |
    37  | edit_validator | commission_rate     | {commissionRate}    |
    38  | edit_validator | min_self_delegation | {minSelfDelegation} |
    39  | message        | module              | staking             |
    40  | message        | action              | edit_validator      |
    41  | message        | sender              | {senderAddress}     |
    42  
    43  ### MsgDelegate
    44  
    45  | Type     | Attribute Key | Attribute Value    |
    46  | -------- | ------------- | ------------------ |
    47  | delegate | validator     | {validatorAddress} |
    48  | delegate | amount        | {delegationAmount} |
    49  | message  | module        | staking            |
    50  | message  | action        | delegate           |
    51  | message  | sender        | {senderAddress}    |
    52  
    53  ### MsgUndelegate
    54  
    55  | Type    | Attribute Key       | Attribute Value    |
    56  | ------- | ------------------- | ------------------ |
    57  | unbond  | validator           | {validatorAddress} |
    58  | unbond  | amount              | {unbondAmount}     |
    59  | unbond  | completion_time [0] | {completionTime}   |
    60  | message | module              | staking            |
    61  | message | action              | begin_unbonding    |
    62  | message | sender              | {senderAddress}    |
    63  
    64  * [0] Time is formatted in the RFC3339 standard
    65  
    66  ### MsgBeginRedelegate
    67  
    68  | Type       | Attribute Key         | Attribute Value       |
    69  | ---------- | --------------------- | --------------------- |
    70  | redelegate | source_validator      | {srcValidatorAddress} |
    71  | redelegate | destination_validator | {dstValidatorAddress} |
    72  | redelegate | amount                | {unbondAmount}        |
    73  | redelegate | completion_time [0]   | {completionTime}      |
    74  | message    | module                | staking               |
    75  | message    | action                | begin_redelegate      |
    76  | message    | sender                | {senderAddress}       |
    77  
    78  * [0] Time is formatted in the RFC3339 standard