2020-01-10 18:59:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-08-06 15:40:23 +00:00
|
|
|
option go_package = "./;protobuf";
|
2020-01-10 18:59:01 +00:00
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
message RequestAddressForTransaction {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string value = 2;
|
|
|
|
string contract = 3;
|
2021-07-07 11:18:18 +00:00
|
|
|
string chat_id = 4;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message AcceptRequestAddressForTransaction {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string id = 2;
|
|
|
|
string address = 3;
|
2021-07-07 11:18:18 +00:00
|
|
|
string chat_id = 4;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message DeclineRequestAddressForTransaction {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string id = 2;
|
2021-07-07 11:18:18 +00:00
|
|
|
string chat_id = 3;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message DeclineRequestTransaction {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string id = 2;
|
2021-07-07 11:18:18 +00:00
|
|
|
string chat_id = 3;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message RequestTransaction {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string address = 2;
|
|
|
|
string value = 3;
|
|
|
|
string contract = 4;
|
2021-07-07 11:18:18 +00:00
|
|
|
string chat_id = 5;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message SendTransaction {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string id = 2;
|
|
|
|
string transaction_hash = 3;
|
|
|
|
bytes signature = 4;
|
2021-07-07 11:18:18 +00:00
|
|
|
string chat_id = 5;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|