This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #374 from klaytn/release/v1.11.1
[Master] release/v1.11.1 QA Sign-off
- Loading branch information
Showing
12 changed files
with
427 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
core/src/main/java/com/klaytn/caver/methods/response/ForkStatusResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Copyright 2022 The caver-java Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the “License”); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an “AS IS” BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.klaytn.caver.methods.response; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.util.Map; | ||
import org.web3j.protocol.core.Response; | ||
|
||
public class ForkStatusResult | ||
extends Response<ForkStatusResult.ForkStatusData> { | ||
|
||
public static class ForkStatusData { | ||
|
||
@JsonProperty("EthTxType") | ||
private Boolean EthTxType; | ||
|
||
@JsonProperty("Istanbul") | ||
private Boolean Istanbul; | ||
|
||
@JsonProperty("KIP103") | ||
private Boolean KIP103; | ||
|
||
@JsonProperty("Kore") | ||
private Boolean Kore; | ||
|
||
@JsonProperty("London") | ||
private Boolean London; | ||
|
||
@JsonProperty("Magma") | ||
private Boolean Magma; | ||
|
||
@JsonProperty("Mantle") | ||
private Boolean Mantle; | ||
|
||
public ForkStatusData() {} | ||
public ForkStatusData ( | ||
Boolean EthTxType, | ||
Boolean Istanbul, | ||
Boolean KIP103, | ||
Boolean Kore, | ||
Boolean London, | ||
Boolean Magma, | ||
Boolean Mantle | ||
) { | ||
this.EthTxType = EthTxType; | ||
this.Istanbul = Istanbul; | ||
this.KIP103 = KIP103; | ||
this.Kore = Kore; | ||
this.London = London; | ||
this.Magma = Magma; | ||
this.Mantle = Mantle; | ||
} | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
core/src/main/java/com/klaytn/caver/methods/response/RewardsAccumulated.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/* | ||
* Copyright 2020 The caver-java Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the “License”); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an “AS IS” BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.klaytn.caver.methods.response; | ||
|
||
import java.util.Map; | ||
|
||
import org.web3j.protocol.core.Response; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.util.List; | ||
|
||
public class RewardsAccumulated extends Response<RewardsAccumulated.RewardsAccumulatedData> { | ||
public static class RewardsAccumulatedData { | ||
|
||
@JsonProperty("firstBlockTime") | ||
private String firstBlockTime; | ||
|
||
@JsonProperty("lastBlockTime") | ||
private String lastBlockTime; | ||
|
||
@JsonProperty("firstBlock") | ||
private String firstBlock; | ||
|
||
@JsonProperty("lastBlock") | ||
private String lastBlock; | ||
|
||
@JsonProperty("totalMinted") | ||
private String totalMinted; | ||
|
||
@JsonProperty("totalTxFee") | ||
private String totalTxFee; | ||
|
||
@JsonProperty("totalBurntTxFee") | ||
private String totalBurntTxFee; | ||
|
||
@JsonProperty("totalProposerRewards") | ||
private String totalProposerRewards; | ||
|
||
@JsonProperty("totalStakingRewards") | ||
private String totalStakingRewards; | ||
|
||
@JsonProperty("totalKFFRewards") | ||
private String totalKFFRewards; | ||
|
||
@JsonProperty("totalKCFRewards") | ||
private String totalKCFRewards; | ||
|
||
/** | ||
* mapping from reward recipient to amounts | ||
*/ | ||
@JsonProperty("rewards") | ||
private Map<String, String> rewards; | ||
|
||
public RewardsAccumulatedData() {} | ||
public RewardsAccumulatedData( | ||
String firstBlockTime, | ||
String lastBlockTime, | ||
String firstBlock, | ||
String lastBlock, | ||
String totalMinted, | ||
String totalTxFee, | ||
String totalBurntTxFee, | ||
String totalProposerRewards, | ||
String totalStakingRewards, | ||
String totalKFFRewards, | ||
String totalKCFRewards, | ||
Map<String, String> Rewards | ||
) { | ||
this.firstBlockTime = firstBlockTime; | ||
this.lastBlockTime = lastBlockTime; | ||
this.firstBlock = firstBlock; | ||
this.lastBlock = lastBlock; | ||
this.totalMinted = totalMinted; | ||
this.totalTxFee = totalTxFee; | ||
this.totalBurntTxFee = totalBurntTxFee; | ||
this.totalProposerRewards = totalProposerRewards; | ||
this.totalStakingRewards = totalStakingRewards; | ||
this.totalKFFRewards = totalKFFRewards; | ||
this.totalKCFRewards = totalKCFRewards; | ||
this.rewards = rewards; | ||
} | ||
} | ||
} |
Oops, something went wrong.