Skip to content

Commit

Permalink
multiera address delegation: add new certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Apr 5, 2024
1 parent 282c22f commit c48a42d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions indexer/tasks/src/multiera/multiera_address_delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ async fn handle(
MultiEraCertificate::StakeDelegation(delegation) => {
(delegation.stake_credential.clone(), Some(delegation.pool))
}
MultiEraCertificate::StakeVoteDelegCert(cert) => {
(cert.stake_credential.clone(), Some(cert.pool))
}
MultiEraCertificate::StakeRegDelegCert(cert) => {
(cert.stake_credential.clone(), Some(cert.pool))
}
MultiEraCertificate::StakeVoteRegDelegCert(cert) => {
(cert.stake_credential.clone(), Some(cert.pool))
}
MultiEraCertificate::StakeDeregistration(deregistration) => {
(deregistration.stake_credential.clone(), None)
}
Expand Down

0 comments on commit c48a42d

Please sign in to comment.