1 | package org.cardanofoundation.explorer.api.model.response.pool.lifecycle; | |
2 | ||
3 | import java.io.Serializable; | |
4 | import java.math.BigInteger; | |
5 | import java.sql.Timestamp; | |
6 | import java.util.List; | |
7 | ||
8 | import lombok.Getter; | |
9 | import lombok.Setter; | |
10 | ||
11 | import org.cardanofoundation.explorer.api.model.response.pool.projection.PoolRegistrationProjection; | |
12 | ||
13 | @Getter | |
14 | @Setter | |
15 | public class TabularRegisResponse implements Serializable { | |
16 | ||
17 |
1
1. getPoolUpdateId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getPoolUpdateId → SURVIVED |
private Long poolUpdateId; |
18 | ||
19 |
1
1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getTxHash → KILLED |
private String txHash; |
20 | ||
21 |
1
1. getTotalFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getTotalFee → SURVIVED |
private BigInteger totalFee; |
22 | ||
23 |
1
1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getTime → SURVIVED |
private Timestamp time; |
24 | ||
25 |
1
1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getFee → SURVIVED |
private BigInteger fee; |
26 | ||
27 |
1
1. getStakeKeys : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getStakeKeys → SURVIVED |
private List<String> stakeKeys; |
28 | ||
29 |
1
1. getDeposit : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/TabularRegisResponse::getDeposit → SURVIVED |
private BigInteger deposit; |
30 | ||
31 | public TabularRegisResponse(PoolRegistrationProjection projection) { | |
32 | this.poolUpdateId = projection.getPoolUpdateId(); | |
33 | this.txHash = projection.getTxHash(); | |
34 | this.totalFee = projection.getDeposit().add(projection.getFee()); | |
35 | this.time = projection.getTime(); | |
36 | this.fee = projection.getFee(); | |
37 | this.deposit = projection.getDeposit(); | |
38 | } | |
39 | } | |
Mutations | ||
17 |
1.1 |
|
19 |
1.1 |
|
21 |
1.1 |
|
23 |
1.1 |
|
25 |
1.1 |
|
27 |
1.1 |
|
29 |
1.1 |