public class AbiUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
REMOVE_ZERO_REG_STR |
| 构造器和说明 |
|---|
AbiUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
addZeroTo64InPre(String str)
在字符前补0, 使其长度变为64位
|
static Contract |
createContract(String hash)
创建合约
|
static Contract |
createContract(String hash,
Integer decimals) |
static String |
encodeUint256Params(BigInteger uint)
数字转 uint256 参数
|
static String |
removePreZero(String str)
移除字符串前的0
|
static String[] |
stringToArrayBy64(String str)
字符串以 64 长度分割
|
static String[] |
stringToArrayBy64(String prefix,
String str)
字符串 移除前缀后 以 64 长度分割
|
public static String[] stringToArrayBy64(String prefix, String str)
public static String encodeUint256Params(BigInteger uint)
uint - 十进制数字字符串Copyright © 2021. All rights reserved.