waves.database.proto Maven / Gradle / Ivy
The newest version!
syntax = "proto3";
package waves.api;
option java_package = "com.wavesplatform.database.protobuf";
import "waves/block.proto";
import "waves/transaction.proto";
import "waves/amount.proto";
import "waves/recipient.proto";
import "waves/transaction_state_snapshot.proto";
message AssetDetails {
bytes name = 1;
bytes description = 2;
int32 last_renamed_at = 3;
bool reissuable = 4;
bytes total_volume = 5;
}
message BlockMeta {
Block.Header header = 1;
bytes signature = 2;
bytes header_hash = 3;
int32 height = 4;
int32 size = 5;
int32 transaction_count = 6;
int64 total_fee_in_waves = 7;
int64 reward = 8;
bytes vrf = 9;
bytes total_score = 10;
int64 total_waves_amount = 11;
}
message TransactionMeta {
int32 height = 1;
int32 num = 2;
int32 type = 3;
TransactionStatus status = 4;
int64 spent_complexity = 5;
int32 size = 6;
}
message EthereumTransactionMeta {
message Invocation {
bytes function_call = 1;
repeated Amount payments = 2;
}
message Transfer {
bytes public_key_hash = 1;
Amount amount = 2;
}
oneof payload {
Invocation invocation = 1;
Transfer transfer = 2;
}
}
message TransactionData {
oneof transaction {
bytes legacy_bytes = 1;
SignedTransaction waves_transaction = 2;
bytes ethereum_transaction = 5;
}
TransactionStatus status = 3;
int64 spent_complexity = 4;
}
message AccountScriptInfo {
message ComplexityByVersion {
int32 version = 1;
map callable_complexity = 2;
}
bytes public_key = 1;
bytes script_bytes = 2;
int64 max_complexity = 3;
repeated ComplexityByVersion callable_complexity = 4;
}
message StaticAssetInfo {
bytes source_id = 1;
bytes issuer_public_key = 2;
int32 decimals = 3;
bool is_nft = 4;
int32 sequence_in_block = 5;
int32 height = 6;
bytes id = 7;
}
message DataEntry {
oneof value {
int64 int_value = 1;
bool bool_value = 2;
bytes binary_value = 3;
string string_value = 4;
}
}
message LeaseDetails {
message Cancelled {
int32 height = 1;
bytes transaction_id = 2;
}
message Expired {
int32 height = 1;
}
bytes sender_public_key = 1;
Recipient recipient = 2;
int64 amount = 3;
bytes source_id = 4;
int32 height = 5;
oneof cancel_reason {
Cancelled cancelled = 11;
Expired expired = 12;
}
}
message LeaseIds {
repeated bytes ids = 1;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy