39 lines
817 B
Protocol Buffer
39 lines
817 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package arbiter.client;
|
|
|
|
import "evm.proto";
|
|
|
|
message AuthChallengeRequest {
|
|
bytes pubkey = 1;
|
|
}
|
|
|
|
message AuthChallenge {
|
|
bytes pubkey = 1;
|
|
int32 nonce = 2;
|
|
}
|
|
|
|
message AuthChallengeSolution {
|
|
bytes signature = 1;
|
|
}
|
|
|
|
message AuthOk {}
|
|
|
|
message ClientRequest {
|
|
oneof payload {
|
|
AuthChallengeRequest auth_challenge_request = 1;
|
|
AuthChallengeSolution auth_challenge_solution = 2;
|
|
arbiter.evm.EvmSignTransactionRequest evm_sign_transaction = 3;
|
|
arbiter.evm.EvmAnalyzeTransactionRequest evm_analyze_transaction = 4;
|
|
}
|
|
}
|
|
|
|
message ClientResponse {
|
|
oneof payload {
|
|
AuthChallenge auth_challenge = 1;
|
|
AuthOk auth_ok = 2;
|
|
arbiter.evm.EvmSignTransactionResponse evm_sign_transaction = 3;
|
|
arbiter.evm.EvmAnalyzeTransactionResponse evm_analyze_transaction = 4;
|
|
}
|
|
}
|