Skip to content

Commit f935a20

Browse files
committed
更新版本内容文档
1 parent 419cc24 commit f935a20

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
<dependency>
2121
<groupId>com.platon.sdk</groupId>
2222
<artifactId>core</artifactId>
23-
<version>1.1.0</version>
23+
<version>1.1.0.0</version>
2424
</dependency>
2525
```
2626

2727
or
2828

2929
```
30-
compile "com.platon.sdk:core:1.1.0"
30+
compile "com.platon.sdk:core:1.1.0.0"
3131
```
3232

3333
* use in project

doc/Java-SDK-en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Depending on the build tool, use the following methods to add related dependenci
2626
<dependency>
2727
<groupId>com.platon.sdk</groupId>
2828
<artifactId>core</artifactId>
29-
<version>1.1.0</version>
29+
<version>1.1.0.0</version>
3030
</dependency>
3131
```
3232

@@ -41,7 +41,7 @@ repositories {
4141

4242
> gradle way of reference:
4343
```
44-
compile "com.platon.client:core:1.1.0"
44+
compile "com.platon.client:core:1.1.0.0"
4545
```
4646

4747
## Basic API Usage
@@ -1461,7 +1461,7 @@ StakingContract contract = StakingContract.load(web3j, credentials);
14611461

14621462
- String: nodeId node id, hexadecimal format
14631463
- BigInteger: amount of von pledged, the pledged amount must be greater than or equal to 1,000,000 LAT
1464-
- StakingAmountType: stakingAmountType, enumeration, FREE_AMOUNT_TYPE means use the free amount of the account, RESTRICTING_AMOUNT_TYPE means use the amount of the lock to make a pledge
1464+
- StakingAmountType: stakingAmountType, enumeration, FREE_AMOUNT_TYPE means use the free amount of the account, RESTRICTING_AMOUNT_TYPE means use the amount of the lock to make a pledge, AUTO_AMOUNT_TYPE means give priority to the use of the locked balance, and use the free amount for the remaining part if the locked balance is insufficient
14651465
- String: benefitAddress revenue account
14661466
- String: nodeName The name of the node being pledged
14671467
- String: externalId External Id(the length of the Id described by the third-party pull node), currently the keybase account public key

doc/Java-SDK-zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sidebar_label: Java SDK
2626
<dependency>
2727
<groupId>com.platon.sdk</groupId>
2828
<artifactId>core</artifactId>
29-
<version>1.1.0</version>
29+
<version>1.1.0.0</version>
3030
</dependency>
3131
```
3232

@@ -41,7 +41,7 @@ repositories {
4141

4242
> gradle引用方式:
4343
```
44-
compile "com.platon.sdk:core:1.1.0"
44+
compile "com.platon.sdk:core:1.1.0.0"
4545
```
4646

4747
## 基础api使用
@@ -1458,7 +1458,7 @@ StakingContract stakingContract = StakingContract.load(web3j, credentials);
14581458

14591459
- String:nodeId 节点id,16进制格式,即节点公钥,可以通过管理台查询(platon attach http://127.0.0.1:6789 --exec "admin.nodeInfo.id")。
14601460
- BigInteger:stakingAmount 质押的金额,单位VON,默认质押金额必须大于等于1000000LAT,该大小限制可以通过治理参数动态调整,可通过治理接口获得当前值(proposalContract.getGovernParamValue("staking", "stakeThreshold"))。
1461-
- StakingAmountType:stakingAmountType 表示使用账户自由金额还是账户的锁仓金额做质押,StakingAmountType.FREE_AMOUNT_TYPE:自由金额,StakingAmountType.RESTRICTING_AMOUNT_TYPE:锁仓金额
1461+
- StakingAmountType:stakingAmountType 表示使用账户自由金额还是账户的锁仓金额做质押,StakingAmountType.FREE_AMOUNT_TYPE:自由金额,StakingAmountType.RESTRICTING_AMOUNT_TYPE:锁仓金额,StakingAmountType.AUTO_AMOUNT_TYPE:优先使用锁仓余额,锁仓余额不足则剩下的部分使用自由金额
14621462
- String:benifitAddress 收益账户,用于接收出块奖励和质押奖励的收益账户。
14631463
- String:nodeName 节点的名称
14641464
- String:externalId 外部Id(有长度限制,给第三方拉取节点描述的Id),目前为keybase账户公钥,节点图标是通过该公钥获取。

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=com.platon.sdk
2-
version=1.1.0
2+
version=1.1.0.0
33
mavenReleases=https://sdk.platon.network/nexus/content/repositories/releases/
44
mavenSnapshots=https://sdk.platon.network/nexus/content/repositories/snapshots/
55
systemProp.sonar.host.url=http://192.168.16.173:9000

0 commit comments

Comments
 (0)