public enum AbiMethod extends Enum<AbiMethod>
| 枚举常量和说明 |
|---|
DECIMALS
获取合约精度 decimals()
|
SEND_MULTI_SIG
SEND_MULTI_SIG
|
SEND_MULTI_SIG_TOKEN
SEND_MULTI_SIG_TOKEN
|
SWEEP
清扫 sweep(address _token, uint256 _amount) ***
|
TRANSFER
普通转账 transfer(address _to,uint256 _value)
|
TRANSFER_FROM
转账 transferFrom(address _from, address _to, uint256 _value)
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AbiMethod |
getById(String data) |
static AbiMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AbiMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AbiMethod TRANSFER
public static final AbiMethod DECIMALS
public static final AbiMethod SEND_MULTI_SIG_TOKEN
public static final AbiMethod SEND_MULTI_SIG
public static final AbiMethod TRANSFER_FROM
public static final AbiMethod SWEEP
public static AbiMethod[] values()
for (AbiMethod c : AbiMethod.values()) System.out.println(c);
public static AbiMethod valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021. All rights reserved.