Skip to content

Commit df1202f

Browse files
authored
Merge pull request #161 from citahub/release/v20.2.0
Release/v20.2.0
2 parents c54237a + 9567d4e commit df1202f

File tree

431 files changed

+1804
-1785
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

431 files changed

+1804
-1785
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ jdk:
77

88
env:
99
- TEST_TYPE=UT
10-
- CITA_DOCKER_IMAGE_TAG_NAME=sha3 TEST_TYPE=ST TEST_CITA_VERSION=CITA1.0
10+
- CITA_DOCKER_IMAGE_TAG_NAME=sha3_d8f6587 TEST_TYPE=ST TEST_CITA_VERSION=CITA20.2.0
11+
- CITA_DOCKER_IMAGE_TAG_NAME=sha3_48cf859 TEST_TYPE=ST TEST_CITA_VERSION=CITA1.0.1
1112
- CITA_DOCKER_IMAGE_TAG_NAME=sha3_88b90bb TEST_TYPE=ST TEST_CITA_VERSION=CITA0.25
1213
- CITA_DOCKER_IMAGE_TAG_NAME=sha3_1f10bc8 TEST_TYPE=ST TEST_CITA_VERSION=CITA0.24
1314
- CITA_DOCKER_IMAGE_TAG_NAME=sha3_b1e3048 TEST_TYPE=ST TEST_CITA_VERSION=CITA0.23.1
1415

15-
sudo: true # as per http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
16+
sudo: required # as per http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
1617

1718
# Avoid uploading cache after every build with Gradle - see https://docs.travis-ci.com/user/languages/java/#Caching
1819
before_cache:
@@ -26,8 +27,8 @@ cache:
2627

2728
before_script:
2829
# upgrade gradle to 5.0
29-
- wget http://services.gradle.org/distributions/gradle-5.0-all.zip > debug.log
30-
- unzip gradle-5.0-all.zip > debug.log
30+
- test -e $HOME/.gradle/caches/gradle-5.0.zip || sudo wget -q https://services.gradle.org/distributions/gradle-5.0-all.zip -O $HOME/.gradle/caches/gradle-5.0.zip > debug.log
31+
- sudo unzip $HOME/.gradle/caches/gradle-5.0.zip > debug.log
3132
- ./gradle-5.0/bin/gradle -v
3233

3334
script: bash ./scripts/run.sh

CHANGELOG.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
All notable changes to this project will be documented in this file.
22

3-
# [v1.0.0](https://github.com/cryptape/cita-sdk-java/compare/v0.25.0...v1.0.0) (2019-08-28)
3+
# [v20.2.0](https://github.com/citahub/cita-sdk-java/compare/v1.0.0...v20.2.0) (2020-02-17)
4+
5+
### Added
6+
7+
* add gradle cache in travis ci
8+
9+
### Changed
10+
11+
* change cryptape to citahub in tests module
12+
13+
### Documented
14+
15+
* show license and tag badges in README
16+
* change cryptape to citahub in CHANGELOG
17+
18+
# [v1.0.0](https://github.com/citahub/cita-sdk-java/compare/v0.25.0...v1.0.0) (2019-08-28)
419

520
### Added
621

@@ -16,67 +31,67 @@ All notable changes to this project will be documented in this file.
1631
* add introduction document
1732

1833

19-
# [v0.25.0](https://github.com/cryptape/cita-sdk-java/compare/v0.24.1...v0.25.0) (2019-08-27)
34+
# [v0.25.0](https://github.com/citahub/cita-sdk-java/compare/v0.24.1...v0.25.0) (2019-08-27)
2035

2136
### Feature
2237

2338
* add queryGroups RPC request
2439
* add newGroup RPC request
2540

26-
# [v0.24.1](https://github.com/cryptape/cita-sdk-java/compare/v0.24.0...v0.24.1) (2019-08-16)
41+
# [v0.24.1](https://github.com/citahub/cita-sdk-java/compare/v0.24.0...v0.24.1) (2019-08-16)
2742

2843
### Feature
2944

3045
* add a constructor parameter to contract deploy method
3146
* fix some issues
3247

33-
# [v0.24.0](https://github.com/cryptape/cita-sdk-java/compare/v0.23.0...v0.24.0) (2019-05-30)
48+
# [v0.24.0](https://github.com/citahub/cita-sdk-java/compare/v0.23.0...v0.24.0) (2019-05-30)
3449

3550
### Feature
3651

3752
* Support new protocol version 2
3853

3954

40-
# [v0.23.0](https://github.com/cryptape/cita-sdk-java/compare/v0.22.3...v0.23.0) (2019-04-30)
55+
# [v0.23.0](https://github.com/citahub/cita-sdk-java/compare/v0.22.3...v0.23.0) (2019-04-30)
4156

4257
### Feature
4358

4459
* Adapt to CITA v0.23
4560

46-
# [v0.22.3](https://github.com/cryptape/cita-sdk-java/compare/v0.22.2...v0.22.3) (2019-04-10)
61+
# [v0.22.3](https://github.com/citahub/cita-sdk-java/compare/v0.22.2...v0.22.3) (2019-04-10)
4762

4863
### Feature
4964

5065
* add peersInfo RPC request
5166
* add getVersion RPC request
5267

53-
# [v0.22.2](https://github.com/cryptape/cita-sdk-java/compare/v0.22.1...v0.22.2) (2019-04-09)
68+
# [v0.22.2](https://github.com/citahub/cita-sdk-java/compare/v0.22.1...v0.22.2) (2019-04-09)
5469

5570
### Feature
5671

5772
* refactor http json response handle method
5873

59-
# [v0.22.1](https://github.com/cryptape/cita-sdk-java/compare/v0.22...v0.22.1) (2019-03-29)
74+
# [v0.22.1](https://github.com/citahub/cita-sdk-java/compare/v0.22...v0.22.1) (2019-03-29)
6075

6176
### Feature
6277

6378
* update RPC request cases
6479
* fix block response parse bug
6580

66-
# [v0.22](https://github.com/cryptape/cita-sdk-java/compare/v0.21...v0.22) (2019-03-28)
81+
# [v0.22](https://github.com/citahub/cita-sdk-java/compare/v0.21...v0.22) (2019-03-28)
6782

6883
### BREAKING CHANGES
6984

7085
* Adapt to CITA v0.22
7186

72-
# [v0.21](https://github.com/cryptape/cita-sdk-java/compare/v0.20.3...v0.21) (2019-02-18)
87+
# [v0.21](https://github.com/citahub/cita-sdk-java/compare/v0.20.3...v0.21) (2019-02-18)
7388

7489
### BREAKING CHANGES
7590

7691
* Update Crypto field of protobuf.
7792
* Add field from to transaction response.
7893

79-
# [v0.20.3](https://github.com/cryptape/cita-sdk-java/compare/v0.20...v0.20.3) (2019-01-21)
94+
# [v0.20.3](https://github.com/citahub/cita-sdk-java/compare/v0.20...v0.20.3) (2019-01-21)
8095

8196
### BREAKING CHANGES
8297

README.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# cita-sdk-java
2-
[![Build Status](https://travis-ci.org/cryptape/cita-sdk-java.svg?branch=master)](https://travis-ci.org/cryptape/cita-sdk-java)
2+
[![Build Status](https://travis-ci.org/citahub/cita-sdk-java.svg?branch=master)](https://travis-ci.org/citahub/cita-sdk-java)
3+
[![License: Apache-2.0](https://img.shields.io/github/license/citahub/cita-sdk-java.svg)](https://github.com/citahub/cita-sdk-java/blob/master/LICENSE)
4+
![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/citahub/cita-sdk-java.svg)
35

4-
[English](https://github.com/cryptape/cita-sdk-java#introduction)
5-
[中文](https://github.com/cryptape/cita-sdk-java#简介)
6+
7+
[English](https://github.com/citahub/cita-sdk-java#introduction)
8+
[中文](https://github.com/citahub/cita-sdk-java#简介)
69

710
## Introduction
811

@@ -27,14 +30,14 @@ Install from repositories:
2730
maven
2831
```
2932
<dependency>
30-
<groupId>com.cryptape.cita</groupId>
33+
<groupId>com.citahub.cita</groupId>
3134
<artifactId>core</artifactId>
32-
<version>1.0.0</version>
35+
<version>20.2.0</version>
3336
</dependency>
3437
```
3538
Gradle
3639
```
37-
compile 'com.cryptape.cita:core:1.0.0'
40+
compile 'com.citahub.cita:core:20.2.0'
3841
```
3942

4043
Install manually
@@ -44,7 +47,7 @@ If you want to generate the jar and import manually.
4447
> should add `apply plugin: 'com.github.johnrengelman.shadow'` of `console/bulid.gradle` when packing locally.(It's annotated by default)
4548
4649
```
47-
git clone https://github.com/cryptape/cita-sdk-java.git
50+
git clone https://github.com/citahub/cita-sdk-java.git
4851
gradle shadowJar
4952
```
5053

@@ -55,13 +58,13 @@ Use CITA test net (recommended):
5558
https://testnet.citahub.com is provided as a test net.
5659

5760
Or build your own CITA net:
58-
Please find more information in [CITA](https://github.com/cryptape/cita).
61+
Please find more information in [CITA](https://github.com/citahub/cita).
5962

6063
### Get started
6164

6265
#### Deploy smart contract
6366

64-
Similar as Ethereum, smart contracts are deployed in CITA network by sending transactions. CITA transaction is defined in [Transaction.java](https://github.com/cryptape/cita-sdk-java/blob/master/core/src/main/java/com/cryptape/cita/protocol/core/methods/request/Transaction.java).
67+
Similar as Ethereum, smart contracts are deployed in CITA network by sending transactions. CITA transaction is defined in [Transaction.java](https://github.com/citahub/cita-sdk-java/blob/master/core/src/main/java/com/citahub/cita/protocol/core/methods/request/Transaction.java).
6568
In CITA transaction, there are 3 special parameters:
6669
- nonce: generated randomly or depend on specific logic to avoid replay attack.
6770
- quota: transaction execution fee for operation, like gasPrice * gasLimit in Ethereum.
@@ -109,7 +112,7 @@ Transaction tx = Transaction.createFunctionCallTransaction(contractAddress, nonc
109112
String rawTx = tx.sign(privateKey);
110113
String txHash = service.appSendRawTransaction(rawTx).send().getSendTransactionResult().getHash();
111114
```
112-
Please check [TokenTransactionExample.java](https://github.com/cryptape/cita-sdk-java/blob/master/tests/src/main/java/com/cryptape/cita/tests/TokenTransactionExample.java) to see a complete example for smart contract deployment and function invocation.
115+
Please check [TokenTransactionExample.java](https://github.com/citahub/cita-sdk-java/blob/master/tests/src/main/java/com/citahub/cita/tests/TokenTransactionExample.java) to see a complete example for smart contract deployment and function invocation.
113116

114117
### Working with smart contract with cita-sdk-java wrapper
115118
Besides interacting with smart contracts by sending transactions with binary code, cita-sdk-java provides a tool to help to convert solidity contract to a Java class from which smart contracts can be deployed and called.
@@ -122,13 +125,13 @@ $ java -jar console-0.17-all.jar solidity generate [--javaTypes|--solidityTypes]
122125
```
123126
Example generate Java class from `Token.sol`, `Token.bin` and `Token.abi` under `/tests/src/main/resources`:
124127
```shell
125-
java -jar console/build/libs/console-0.17-all.jar solidity generate tests/src/main/resources/Token.bin tests/src/main/resources/Token.abi -o tests/src/main/java/ -p com.cryptape.cita.tests
128+
java -jar console/build/libs/console-0.17-all.jar solidity generate tests/src/main/resources/Token.bin tests/src/main/resources/Token.abi -o tests/src/main/java/ -p com.citahub.cita.tests
126129
```
127-
`Token.java` will be created from commands above and class `Token` can be used with TransactionManager to deploy and call smart contract `Token`. Please be attention that [TransactionManager](https://github.com/cryptape/cita-sdk-java/blob/master/core/src/main/java/com/cryptape/cita/tx/TransactionManager.java) is supposed to be used as TransactionManager for transaction creation in CITA network.
128-
Please check [TokenCodegenExample.java](https://github.com/cryptape/cita-sdk-java/blob/master/tests/src/main/java/com/cryptape/cita/tests/TokenCodegenExample.java) for a complete example.
130+
`Token.java` will be created from commands above and class `Token` can be used with TransactionManager to deploy and call smart contract `Token`. Please be attention that [TransactionManager](https://github.com/citahub/cita-sdk-java/blob/master/core/src/main/java/com/citahub/cita/tx/TransactionManager.java) is supposed to be used as TransactionManager for transaction creation in CITA network.
131+
Please check [TokenCodegenExample.java](https://github.com/citahub/cita-sdk-java/blob/master/tests/src/main/java/com/citahub/cita/tests/TokenCodegenExample.java) for a complete example.
129132

130133
### Working with smart contract with cita-sdk-java Account (Test)
131-
cita-sdk-java provides interface [Account](https://github.com/cryptape/cita-sdk-java/blob/master/core/src/main/java/com/cryptape/cita/protocol/account/Account.java) for smart contract manipulations. With parameters of smart contract's name, address, method and method's arguments, smart contracts can be deployed and called through the interface without exposing extra java, bin or abi file to developers.
134+
cita-sdk-java provides interface [Account](https://github.com/citahub/cita-sdk-java/blob/master/core/src/main/java/com/citahub/cita/protocol/account/Account.java) for smart contract manipulations. With parameters of smart contract's name, address, method and method's arguments, smart contracts can be deployed and called through the interface without exposing extra java, bin or abi file to developers.
132135

133136
Method of smart contract deployment:
134137
```java
@@ -145,12 +148,12 @@ public Object callContract(String contractAddress, String funcName, String nonce
145148
public Object callContract(String contractAddress, AbiDefinition functionAbi, String nonce, BigInteger quota, Object... args)
146149
```
147150
While contract file is required when first deploy the contract, cita-sdk-java can get the abi file according to address when call methods in deployed contract.
148-
Please find complete code in [TokenAccountExample](https://github.com/cryptape/cita-sdk-java/blob/master/tests/src/main/java/com/cryptape/cita/tests/TokenAccountExample.java).
151+
Please find complete code in [TokenAccountExample](https://github.com/citahub/cita-sdk-java/blob/master/tests/src/main/java/com/citahub/cita/tests/TokenAccountExample.java).
149152

150153
## Contributing
151154

152155
### Creating a Bug Report
153-
open a new issue: https://github.com/cryptape/cita-sdk-java/issues/new
156+
open a new issue: https://github.com/citahub/cita-sdk-java/issues/new
154157

155158
with your version info
156159

@@ -206,14 +209,14 @@ Gradle 5.0
206209
通过远程仓库安装:
207210
```
208211
<dependency>
209-
<groupId>com.cryptape.cita</groupId>
212+
<groupId>com.citahub.cita</groupId>
210213
<artifactId>core</artifactId>
211-
<version>1.0.0</version>
214+
<version>20.2.0</version>
212215
</dependency>
213216
```
214217
Gradle
215218
```
216-
compile 'com.cryptape.cita:core:1.0.0'
219+
compile 'com.citahub.cita:core:20.2.0'
217220
```
218221

219222
手动安装
@@ -223,7 +226,7 @@ compile 'com.cryptape.cita:core:1.0.0'
223226
> 你需要添加和保留 `console/bulid.gradle` 文件下第一行 `apply plugin: 'com.github.johnrengelman.shadow'`(改行默认是被注释的)。
224227
225228
```
226-
git clone https://github.com/cryptape/cita-sdk-java.git
229+
git clone https://github.com/citahub/cita-sdk-java.git
227230
gradle shadowJar
228231
```
229232

@@ -233,12 +236,12 @@ gradle shadowJar
233236
https://testnet.citahub.com
234237

235238
或者可以部署你自己的 CITA:
236-
如果需要了解怎么部署 CITA 网络,请查阅[CITA](https://github.com/cryptape/cita)
239+
如果需要了解怎么部署 CITA 网络,请查阅[CITA](https://github.com/citahub/cita)
237240

238241
### 快速教程
239242

240243
#### 部署智能合约
241-
与以太坊类似,智能合约是通过发送交易来部署的。CITA 交易对象定义在 [Transaction.java](https://github.com/cryptape/cita-sdk-java/blob/master/core/src/main/java/com/cryptape/cita/protocol/core/methods/request/Transaction.java)
244+
与以太坊类似,智能合约是通过发送交易来部署的。CITA 交易对象定义在 [Transaction.java](https://github.com/citahub/cita-sdk-java/blob/master/core/src/main/java/com/citahub/cita/protocol/core/methods/request/Transaction.java)
242245
在 CITA 交易中,有三个特殊的参数:
243246
- nonce: 随机数或者通过特定的逻辑生成的随机信息,nonce是为了避免重放攻击。
244247
- quota: 交易执行费用,也就是矿工费,就像以太坊中的 gasPrice * gasLimit。
@@ -286,7 +289,7 @@ Transaction tx = Transaction.createFunctionCallTransaction(contractAddress, nonc
286289
String rawTx = tx.sign(privateKey);
287290
String txHash = service.appSendRawTransaction(rawTx).send().getSendTransactionResult().getHash();
288291
```
289-
请在 [TokenTransactionExample.java](https://github.com/cryptape/cita-sdk-java/blob/master/tests/src/main/java/com/cryptape/cita/tests/TokenTransactionExample.java) 中查看完整代码。
292+
请在 [TokenTransactionExample.java](https://github.com/citahub/cita-sdk-java/blob/master/tests/src/main/java/com/citahub/cita/tests/TokenTransactionExample.java) 中查看完整代码。
290293

291294
### 通过 cita-sdk-java 中的 wrapper 与智能合约交互
292295
以上例子展示了直接通过合约二进制码和函数的编码构造交易,并且发送与链上合约进行交互。除此方法以外,cita-sdk-java 提供了 codeGen 工具可以通过 solidity 合约生成 java 类。通过 cita-sdk-java 生成的 java 类,可以方便对合约进行部署和函数调用。
@@ -299,13 +302,13 @@ $ java -jar console-0.17-all.jar solidity generate [--javaTypes|--solidityTypes]
299302
```
300303
这个例子通过 `Token.sol`, `Token.bin` and `Token.abi` 这三个文件在 `tests/src/main/resources` 生成对应的 java 类,命令如下:
301304
```
302-
java -jar console/build/libs/console-0.17-all.jar solidity generate tests/src/main/resources/Token.bin tests/src/main/resources/Token.abi -o tests/src/main/java/ -p com.cryptape.cita.tests
305+
java -jar console/build/libs/console-0.17-all.jar solidity generate tests/src/main/resources/Token.bin tests/src/main/resources/Token.abi -o tests/src/main/java/ -p com.citahub.cita.tests
303306
```
304-
`Token.java` 会通过以上命令生成, `Token` 可以与 `TransactionManager` 一起使用来和 Token 合约交互。请注意在 CITA 中应该使用 [TransactionManager](https://github.com/cryptape/cita-sdk-java/blob/master/core/src/main/java/com/cryptape/cita/tx/TransactionManager.java) 而不是 TransactionManager。
305-
请在 [TokenCodegenExample.java](https://github.com/cryptape/cita-sdk-java/blob/master/tests/src/main/java/com/cryptape/cita/tests/TokenCodegenExample.java) 查看完整代码.
307+
`Token.java` 会通过以上命令生成, `Token` 可以与 `TransactionManager` 一起使用来和 Token 合约交互。请注意在 CITA 中应该使用 [TransactionManager](https://github.com/citahub/cita-sdk-java/blob/master/core/src/main/java/com/citahub/cita/tx/TransactionManager.java) 而不是 TransactionManager。
308+
请在 [TokenCodegenExample.java](https://github.com/citahub/cita-sdk-java/blob/master/tests/src/main/java/com/citahub/cita/tests/TokenCodegenExample.java) 查看完整代码.
306309

307310
### 通过 CITAj 中的 Account 与智能合约交互(测试阶段)
308-
cita-sdk-java 还提供了接口 [Account](https://github.com/cryptape/cita-sdk-java/blob/master/core/src/main/java/com/cryptape/cita/protocol/account/Account.java) 与智能合约交互。 通过智能合约的名字,地址,函数名和函数入参,Account 可以进行合约的部署和合约函数的调用。通过 Account 这个方式,开发者无需进行合约二进制文件和 abi 细节处理。
311+
cita-sdk-java 还提供了接口 [Account](https://github.com/citahub/cita-sdk-java/blob/master/core/src/main/java/com/citahub/cita/protocol/account/Account.java) 与智能合约交互。 通过智能合约的名字,地址,函数名和函数入参,Account 可以进行合约的部署和合约函数的调用。通过 Account 这个方式,开发者无需进行合约二进制文件和 abi 细节处理。
309312

310313
合约部署示例代码:
311314
```java
@@ -322,12 +325,12 @@ public Object callContract(String contractAddress, String funcName, String nonce
322325
public Object callContract(String contractAddress, AbiDefinition functionAbi, String nonce, BigInteger quota, Object... args)
323326
```
324327
虽然在第一次部署合约的时候需要提供合约文件,但是在以后调用合约函数的时候 cita-sdk-java 通过 CITA 提供的 getAbi 接口根据合约地址得到对应的 abi。
325-
请在 [TokenAccountExample](https://github.com/cryptape/cita-sdk-java/blob/master/tests/src/main/java/com/cryptape/cita/tests/TokenAccountExample.java) 中查看完整代码。
328+
请在 [TokenAccountExample](https://github.com/citahub/cita-sdk-java/blob/master/tests/src/main/java/com/citahub/cita/tests/TokenAccountExample.java) 中查看完整代码。
326329

327330
## 参与贡献
328331

329332
### 报告Bug
330-
提交 issue: https://github.com/cryptape/cita-sdk-java/issues/new
333+
提交 issue: https://github.com/citahub/cita-sdk-java/issues/new
331334
记得声明所使用软件的版本信息
332335

333336
### 技术栈

abi/src/main/java/com/cryptape/cita/abi/EventEncoder.java renamed to abi/src/main/java/com/citahub/cita/abi/EventEncoder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package com.cryptape.cita.abi;
1+
package com.citahub.cita.abi;
22

33
import java.util.ArrayList;
44
import java.util.List;
55

6-
import com.cryptape.cita.abi.datatypes.Event;
7-
import com.cryptape.cita.abi.datatypes.Type;
8-
import com.cryptape.cita.abi.datatypes.UnorderedEvent;
9-
import com.cryptape.cita.crypto.Hash;
10-
import com.cryptape.cita.utils.Numeric;
6+
import com.citahub.cita.abi.datatypes.Event;
7+
import com.citahub.cita.abi.datatypes.Type;
8+
import com.citahub.cita.abi.datatypes.UnorderedEvent;
9+
import com.citahub.cita.crypto.Hash;
10+
import com.citahub.cita.utils.Numeric;
1111

1212
/**
1313
* <p>Ethereum filter encoding.

abi/src/main/java/com/cryptape/cita/abi/EventValues.java renamed to abi/src/main/java/com/citahub/cita/abi/EventValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.cryptape.cita.abi;
1+
package com.citahub.cita.abi;
22

33
import java.util.List;
44

5-
import com.cryptape.cita.abi.datatypes.Type;
5+
import com.citahub.cita.abi.datatypes.Type;
66

77
/**
88
* Persisted solidity event parameters.

abi/src/main/java/com/cryptape/cita/abi/FunctionEncoder.java renamed to abi/src/main/java/com/citahub/cita/abi/FunctionEncoder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
package com.cryptape.cita.abi;
1+
package com.citahub.cita.abi;
22

33
import java.math.BigInteger;
44
import java.util.List;
55

6-
import com.cryptape.cita.abi.datatypes.Function;
7-
import com.cryptape.cita.abi.datatypes.StaticArray;
8-
import com.cryptape.cita.abi.datatypes.Type;
9-
import com.cryptape.cita.abi.datatypes.Uint;
10-
import com.cryptape.cita.crypto.Hash;
11-
import com.cryptape.cita.utils.Numeric;
6+
import com.citahub.cita.abi.datatypes.Function;
7+
import com.citahub.cita.abi.datatypes.StaticArray;
8+
import com.citahub.cita.abi.datatypes.Type;
9+
import com.citahub.cita.abi.datatypes.Uint;
10+
import com.citahub.cita.crypto.Hash;
11+
import com.citahub.cita.utils.Numeric;
1212

1313
/**
1414
* <p>Ethereum Contract Application Binary Interface (ABI) encoding for functions.

0 commit comments

Comments
 (0)