| 程序包 | 说明 |
|---|---|
| com.novi.serde | |
| org.starcoin.stdlib | |
| org.starcoin.types | |
| org.starcoin.types.event | |
| org.starcoin.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
Bytes |
Deserializer.deserialize_bytes() |
Bytes |
BinaryDeserializer.deserialize_bytes() |
static Bytes |
Bytes.empty() |
static Bytes |
Bytes.valueOf(byte[] content) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Serializer.serialize_bytes(Bytes value) |
void |
BinarySerializer.serialize_bytes(Bytes value) |
| 限定符和类型 | 字段和说明 |
|---|---|
Bytes |
ScriptFunctionCall.CreateAccountWithInitialAmount._auth_key |
Bytes |
ScriptFunctionCall.CreateAccountWithInitialAmount.Builder._auth_key |
Bytes |
ScriptFunctionCall.PeerToPeer._payee_auth_key |
Bytes |
ScriptFunctionCall.PeerToPeer.Builder._payee_auth_key |
Bytes |
ScriptFunctionCall.PeerToPeerWithMetadata._payee_auth_key |
Bytes |
ScriptFunctionCall.PeerToPeerWithMetadata.Builder._payee_auth_key |
Bytes |
ScriptFunctionCall.PeerToPeerBatch._payee_auth_keys |
Bytes |
ScriptFunctionCall.PeerToPeerBatch.Builder._payee_auth_keys |
Bytes |
ScriptFunctionCall.PeerToPeerBatch._payeees |
Bytes |
ScriptFunctionCall.PeerToPeerBatch.Builder._payeees |
Bytes |
ScriptFunctionCall.Initialize.association_auth_key |
Bytes |
ScriptFunctionCall.Initialize.Builder.association_auth_key |
Bytes |
ScriptFunctionCall.InitializeV2.association_auth_key |
Bytes |
ScriptFunctionCall.InitializeV2.Builder.association_auth_key |
Bytes |
ScriptFunctionCall.Initialize.genesis_auth_key |
Bytes |
ScriptFunctionCall.Initialize.Builder.genesis_auth_key |
Bytes |
ScriptFunctionCall.InitializeV2.genesis_auth_key |
Bytes |
ScriptFunctionCall.InitializeV2.Builder.genesis_auth_key |
Bytes |
ScriptFunctionCall.Initialize.instruction_schedule |
Bytes |
ScriptFunctionCall.Initialize.Builder.instruction_schedule |
Bytes |
ScriptFunctionCall.InitializeV2.instruction_schedule |
Bytes |
ScriptFunctionCall.InitializeV2.Builder.instruction_schedule |
Bytes |
ScriptFunctionCall.ProposeUpdateVmConfig.instruction_schedule |
Bytes |
ScriptFunctionCall.ProposeUpdateVmConfig.Builder.instruction_schedule |
Bytes |
ScriptFunctionCall.PeerToPeerWithMetadata.metadata |
Bytes |
ScriptFunctionCall.PeerToPeerWithMetadata.Builder.metadata |
Bytes |
ScriptFunctionCall.PeerToPeerWithMetadataV2.metadata |
Bytes |
ScriptFunctionCall.PeerToPeerWithMetadataV2.Builder.metadata |
Bytes |
ScriptFunctionCall.Initialize.native_schedule |
Bytes |
ScriptFunctionCall.Initialize.Builder.native_schedule |
Bytes |
ScriptFunctionCall.InitializeV2.native_schedule |
Bytes |
ScriptFunctionCall.InitializeV2.Builder.native_schedule |
Bytes |
ScriptFunctionCall.ProposeUpdateVmConfig.native_schedule |
Bytes |
ScriptFunctionCall.ProposeUpdateVmConfig.Builder.native_schedule |
Bytes |
ScriptFunctionCall.RotateAuthenticationKey.new_key |
Bytes |
ScriptFunctionCall.RotateAuthenticationKey.Builder.new_key |
Bytes |
ScriptFunctionCall.ProposeModuleUpgradeV2.package_hash |
Bytes |
ScriptFunctionCall.ProposeModuleUpgradeV2.Builder.package_hash |
Bytes |
ScriptFunctionCall.Initialize.parent_hash |
Bytes |
ScriptFunctionCall.Initialize.Builder.parent_hash |
Bytes |
ScriptFunctionCall.InitializeV2.parent_hash |
Bytes |
ScriptFunctionCall.InitializeV2.Builder.parent_hash |
| 限定符和类型 | 方法和说明 |
|---|---|
static TransactionPayload |
Helpers.encode_create_account_with_initial_amount_script_function(TypeTag token_type,
AccountAddress fresh_address,
Bytes _auth_key,
BigInteger initial_amount) |
static TransactionPayload |
Helpers.encode_initialize_script_function(Long stdlib_version,
Long reward_delay,
BigInteger pre_mine_stc_amount,
BigInteger time_mint_stc_amount,
Long time_mint_stc_period,
Bytes parent_hash,
Bytes association_auth_key,
Bytes genesis_auth_key,
Byte chain_id,
Long genesis_timestamp,
Long uncle_rate_target,
Long epoch_block_count,
Long base_block_time_target,
Long base_block_difficulty_window,
BigInteger base_reward_per_block,
Long base_reward_per_uncle_percent,
Long min_block_time_target,
Long max_block_time_target,
Long base_max_uncles_per_block,
Long base_block_gas_limit,
Byte strategy,
Boolean script_allowed,
Boolean module_publishing_allowed,
Bytes instruction_schedule,
Bytes native_schedule,
Long global_memory_per_byte_cost,
Long global_memory_per_byte_write_cost,
Long min_transaction_gas_units,
Long large_transaction_cutoff,
Long instrinsic_gas_per_byte,
Long maximum_number_of_gas_units,
Long min_price_per_gas_unit,
Long max_price_per_gas_unit,
Long max_transaction_size_in_bytes,
Long gas_unit_scaling_factor,
Long default_account_size,
Long voting_delay,
Long voting_period,
Byte voting_quorum_rate,
Long min_action_delay,
Long transaction_timeout) |
static TransactionPayload |
Helpers.encode_initialize_v2_script_function(Long stdlib_version,
Long reward_delay,
BigInteger total_stc_amount,
BigInteger pre_mine_stc_amount,
BigInteger time_mint_stc_amount,
Long time_mint_stc_period,
Bytes parent_hash,
Bytes association_auth_key,
Bytes genesis_auth_key,
Byte chain_id,
Long genesis_timestamp,
Long uncle_rate_target,
Long epoch_block_count,
Long base_block_time_target,
Long base_block_difficulty_window,
BigInteger base_reward_per_block,
Long base_reward_per_uncle_percent,
Long min_block_time_target,
Long max_block_time_target,
Long base_max_uncles_per_block,
Long base_block_gas_limit,
Byte strategy,
Boolean script_allowed,
Boolean module_publishing_allowed,
Bytes instruction_schedule,
Bytes native_schedule,
Long global_memory_per_byte_cost,
Long global_memory_per_byte_write_cost,
Long min_transaction_gas_units,
Long large_transaction_cutoff,
Long instrinsic_gas_per_byte,
Long maximum_number_of_gas_units,
Long min_price_per_gas_unit,
Long max_price_per_gas_unit,
Long max_transaction_size_in_bytes,
Long gas_unit_scaling_factor,
Long default_account_size,
Long voting_delay,
Long voting_period,
Byte voting_quorum_rate,
Long min_action_delay,
Long transaction_timeout) |
static TransactionPayload |
Helpers.encode_peer_to_peer_batch_script_function(TypeTag token_type,
Bytes _payeees,
Bytes _payee_auth_keys,
BigInteger _amount) |
static TransactionPayload |
Helpers.encode_peer_to_peer_script_function(TypeTag token_type,
AccountAddress payee,
Bytes _payee_auth_key,
BigInteger amount) |
static TransactionPayload |
Helpers.encode_peer_to_peer_with_metadata_script_function(TypeTag token_type,
AccountAddress payee,
Bytes _payee_auth_key,
BigInteger amount,
Bytes metadata) |
static TransactionPayload |
Helpers.encode_peer_to_peer_with_metadata_v2_script_function(TypeTag token_type,
AccountAddress payee,
BigInteger amount,
Bytes metadata) |
static TransactionPayload |
Helpers.encode_propose_module_upgrade_v2_script_function(TypeTag token,
AccountAddress module_address,
Bytes package_hash,
Long version,
Long exec_delay,
Boolean enforced) |
static TransactionPayload |
Helpers.encode_propose_update_vm_config_script_function(Bytes instruction_schedule,
Bytes native_schedule,
Long global_memory_per_byte_cost,
Long global_memory_per_byte_write_cost,
Long min_transaction_gas_units,
Long large_transaction_cutoff,
Long instrinsic_gas_per_byte,
Long maximum_number_of_gas_units,
Long min_price_per_gas_unit,
Long max_price_per_gas_unit,
Long max_transaction_size_in_bytes,
Long gas_unit_scaling_factor,
Long default_account_size,
Long exec_delay) |
static TransactionPayload |
Helpers.encode_rotate_authentication_key_script_function(Bytes new_key) |
| 构造器和说明 |
|---|
CreateAccountWithInitialAmount(TypeTag token_type,
AccountAddress fresh_address,
Bytes _auth_key,
BigInteger initial_amount) |
Initialize(Long stdlib_version,
Long reward_delay,
BigInteger pre_mine_stc_amount,
BigInteger time_mint_stc_amount,
Long time_mint_stc_period,
Bytes parent_hash,
Bytes association_auth_key,
Bytes genesis_auth_key,
Byte chain_id,
Long genesis_timestamp,
Long uncle_rate_target,
Long epoch_block_count,
Long base_block_time_target,
Long base_block_difficulty_window,
BigInteger base_reward_per_block,
Long base_reward_per_uncle_percent,
Long min_block_time_target,
Long max_block_time_target,
Long base_max_uncles_per_block,
Long base_block_gas_limit,
Byte strategy,
Boolean script_allowed,
Boolean module_publishing_allowed,
Bytes instruction_schedule,
Bytes native_schedule,
Long global_memory_per_byte_cost,
Long global_memory_per_byte_write_cost,
Long min_transaction_gas_units,
Long large_transaction_cutoff,
Long instrinsic_gas_per_byte,
Long maximum_number_of_gas_units,
Long min_price_per_gas_unit,
Long max_price_per_gas_unit,
Long max_transaction_size_in_bytes,
Long gas_unit_scaling_factor,
Long default_account_size,
Long voting_delay,
Long voting_period,
Byte voting_quorum_rate,
Long min_action_delay,
Long transaction_timeout) |
InitializeV2(Long stdlib_version,
Long reward_delay,
BigInteger total_stc_amount,
BigInteger pre_mine_stc_amount,
BigInteger time_mint_stc_amount,
Long time_mint_stc_period,
Bytes parent_hash,
Bytes association_auth_key,
Bytes genesis_auth_key,
Byte chain_id,
Long genesis_timestamp,
Long uncle_rate_target,
Long epoch_block_count,
Long base_block_time_target,
Long base_block_difficulty_window,
BigInteger base_reward_per_block,
Long base_reward_per_uncle_percent,
Long min_block_time_target,
Long max_block_time_target,
Long base_max_uncles_per_block,
Long base_block_gas_limit,
Byte strategy,
Boolean script_allowed,
Boolean module_publishing_allowed,
Bytes instruction_schedule,
Bytes native_schedule,
Long global_memory_per_byte_cost,
Long global_memory_per_byte_write_cost,
Long min_transaction_gas_units,
Long large_transaction_cutoff,
Long instrinsic_gas_per_byte,
Long maximum_number_of_gas_units,
Long min_price_per_gas_unit,
Long max_price_per_gas_unit,
Long max_transaction_size_in_bytes,
Long gas_unit_scaling_factor,
Long default_account_size,
Long voting_delay,
Long voting_period,
Byte voting_quorum_rate,
Long min_action_delay,
Long transaction_timeout) |
PeerToPeer(TypeTag token_type,
AccountAddress payee,
Bytes _payee_auth_key,
BigInteger amount) |
PeerToPeerBatch(TypeTag token_type,
Bytes _payeees,
Bytes _payee_auth_keys,
BigInteger _amount) |
PeerToPeerWithMetadata(TypeTag token_type,
AccountAddress payee,
Bytes _payee_auth_key,
BigInteger amount,
Bytes metadata) |
PeerToPeerWithMetadataV2(TypeTag token_type,
AccountAddress payee,
BigInteger amount,
Bytes metadata) |
ProposeModuleUpgradeV2(TypeTag token,
AccountAddress module_address,
Bytes package_hash,
Long version,
Long exec_delay,
Boolean enforced) |
ProposeUpdateVmConfig(Bytes instruction_schedule,
Bytes native_schedule,
Long global_memory_per_byte_cost,
Long global_memory_per_byte_write_cost,
Long min_transaction_gas_units,
Long large_transaction_cutoff,
Long instrinsic_gas_per_byte,
Long maximum_number_of_gas_units,
Long min_price_per_gas_unit,
Long max_price_per_gas_unit,
Long max_transaction_size_in_bytes,
Long gas_unit_scaling_factor,
Long default_account_size,
Long exec_delay) |
RotateAuthenticationKey(Bytes new_key) |
| 限定符和类型 | 字段和说明 |
|---|---|
Bytes |
Module.code |
Bytes |
Module.Builder.code |
Bytes |
Script.code |
Bytes |
Script.Builder.code |
Bytes |
TransactionScriptABI.code |
Bytes |
TransactionScriptABI.Builder.code |
Bytes |
ContractEventV0.event_data |
Bytes |
ContractEventV0.Builder.event_data |
Bytes |
TransactionArgument.U8Vector.value |
Bytes |
TransactionArgument.U8Vector.Builder.value |
Bytes |
Ed25519PrivateKey.value |
Bytes |
Ed25519PrivateKey.Builder.value |
Bytes |
Ed25519PublicKey.value |
Bytes |
Ed25519PublicKey.Builder.value |
Bytes |
MultiEd25519Signature.value |
Bytes |
MultiEd25519Signature.Builder.value |
Bytes |
EventKey.value |
Bytes |
EventKey.Builder.value |
Bytes |
WriteOp.Value.value |
Bytes |
WriteOp.Value.Builder.value |
Bytes |
MultiEd25519PrivateKey.value |
Bytes |
MultiEd25519PrivateKey.Builder.value |
Bytes |
AuthenticationKey.value |
Bytes |
AuthenticationKey.Builder.value |
Bytes |
MultiEd25519PublicKey.value |
Bytes |
MultiEd25519PublicKey.Builder.value |
Bytes |
Ed25519Signature.value |
Bytes |
Ed25519Signature.Builder.value |
Bytes |
HashValue.value |
Bytes |
HashValue.Builder.value |
| 限定符和类型 | 字段和说明 |
|---|---|
List<Bytes> |
Script.args |
List<Bytes> |
Script.Builder.args |
List<Bytes> |
ScriptFunction.args |
List<Bytes> |
ScriptFunction.Builder.args |
| 构造器和说明 |
|---|
AuthenticationKey(Bytes value) |
ContractEventV0(EventKey key,
Long sequence_number,
TypeTag type_tag,
Bytes event_data) |
Ed25519PrivateKey(Bytes value) |
Ed25519PublicKey(Bytes value) |
Ed25519Signature(Bytes value) |
EventKey(Bytes value) |
HashValue(Bytes value) |
Module(Bytes code) |
MultiEd25519PrivateKey(Bytes value) |
MultiEd25519PublicKey(Bytes value) |
MultiEd25519Signature(Bytes value) |
Script(Bytes code,
List<TypeTag> ty_args,
List<Bytes> args) |
TransactionScriptABI(String name,
String doc,
Bytes code,
List<TypeArgumentABI> ty_args,
List<ArgumentABI> args) |
U8Vector(Bytes value) |
Value(Bytes value) |
| 构造器和说明 |
|---|
Script(Bytes code,
List<TypeTag> ty_args,
List<Bytes> args) |
ScriptFunction(ModuleId module,
Identifier function,
List<TypeTag> ty_args,
List<Bytes> args) |
| 限定符和类型 | 字段和说明 |
|---|---|
Bytes |
DepositEvent.metadata |
Bytes |
DepositEvent.Builder.metadata |
Bytes |
WithdrawEvent.metadata |
Bytes |
WithdrawEvent.Builder.metadata |
| 构造器和说明 |
|---|
DepositEvent(BigInteger amount,
TokenCode token_code,
Bytes metadata) |
WithdrawEvent(BigInteger amount,
TokenCode token_code,
Bytes metadata) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Bytes |
ParseUtil.parseBytes(com.fasterxml.jackson.databind.JsonNode typeTagNode) |
static Bytes |
BcsSerializeHelper.serializeAddressToBytes(AccountAddress address) |
static Bytes |
BcsSerializeHelper.serializeListToBytes(List<String> list) |
static Bytes |
BcsSerializeHelper.serializeU128ToBytes(BigInteger v) |
static Bytes |
BcsSerializeHelper.serializeU64ToBytes(Long v) |
static Bytes |
BcsSerializeHelper.serializeVectorU8ToBytes(String str) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Bytes> |
ParseUtil.parseBytesList(com.fasterxml.jackson.databind.JsonNode typeTagNode) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Hex.encode(Bytes bytes) |
Copyright © 2021. All rights reserved.