Skip to main content

Events

The peggy module emits the following events:

EndBlocker

EventAttestationObserved

TypeAttribute KeyAttribute Value
int32attestation_type{attestation_type}
stringbridge_contract{bridge_contract_address}
uint64bridge_chain_id{bridge_chain_id}
[]byteattestation_id{attestation_id}
uint64nonce{event_nonce}

EventValidatorSlash

TypeAttribute KeyAttribute Value
stringreason{reason_for_slashing}
int64power{validator_power}
stringconsensus_address{consensus_addr}
stringoperator_address{operator_addr}
stringmoniker{validator_moniker}

Handler

EventSetOrchestratorAddresses

TypeAttribute KeyAttribute Value
stringvalidator_address{validator_addr}
stringorchestrator_address{orchestrator_addr}
stringoperator_eth_address{eth_addr}

EventSendToEth

TypeAttribute KeyAttribute Value
messageoutgoing_tx_id{tx_id}
stringsender{sender_addr}
stringreceiver{dest_addr}
sdk.Coinamount{token_amount}
sdk.Coinbridge_fee{token_amount}

EventBridgeWithdrawCanceled

TypeAttribute KeyAttribute Value
withdrawal_cancelledbridge_contract{bridge_contract}
withdrawal_cancelledbridge_chain_id{bridge_chain_id}

EventOutgoingBatch

TypeAttribute KeyAttribute Value
stringdenom{token_denom}
stringorchestrator_address{orch_addr}
uint64batch_nonce{batch_nonce}
uint64batch_timeout{block_height}
[]uint64batch_tx_ids{ids}

EventOutgoingBatchCanceled

TypeAttribute KeyAttribute Value
stringbridge_contract{bridge_contract}
uint64bridge_chain_id{bridge_chain_id}
uint64batch_id{id}
uint64nonce{nonce}

EventValsetConfirm

TypeAttribute KeyAttribute Value
uint64valset_nonce{nonce}
stringorchestrator_address{prch_addr}

EventConfirmBatch

TypeAttribute KeyAttribute Value
uint64batch_nonce{nonce}
stringorchestrator_address{orch_addr}

EventDepositClaim

TypeAttribute KeyAttribute Value
uint64event_nonce{event_nonce}
uint64event_height{event_height}
[]byteattestation_id{attestation_key}
stringethereum_sender{sender_addr}
stringcosmos_receiver{receiver_addr}
stringtoken_contract{contract_addr}
sdk.Intamount{token_amount}
stringorchestrator_address{orch_addr}
stringdata{custom_data}

EventWithdrawClaim

TypeAttribute KeyAttribute Value
uint64event_nonce{event_nonce{
uint64event_height{event_height}
[]byteattestation_id{attestation_key}
uint64batch_nonce{batch_nonce}
stringtoken_contract{contract_addr}
stringorchestrator_address{orch_addr}

EventERC20DeployedClaim

TypeAttribute KeyAttribute Value
uint64event_nonce{event_nonce}
uint64event_height{event_height}
[]byteattestation_id{attestation_key}
stringcosmos_denom{token_denom}
stringtoken_contract{token_conntract_addr}
stringname{token_name}
stringsymbol{token_symbol}
uint64decimals{token_decimals}
stringorchestrator_address{orch_addr}

EventValsetUpdateClaim

TypeAttribute KeyAttribute Value
uint64event_nonce{event_nonce}
uint64event_height{event_height}
[]byteattestation_id{attestation_key}
uint64valset_nonce{valset_nonce}
[]*BridgeValidatorvalset_members{array_of_validators}
sdk.Intreward_amount{amount}
stringreward_token{contract_addr}
stringorchestrator_address{orch_addr}